> ## Documentation Index
> Fetch the complete documentation index at: https://docs.crewai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Zapier 트리거

> Zapier 워크플로우에서 CrewAI crew를 트리거하여 앱 간 워크플로우를 자동화합니다

이 가이드는 CrewAI AOP용 Zapier 트리거를 설정하는 과정을 안내합니다. 이를 통해 CrewAI AOP와 기타 애플리케이션 간의 워크플로우를 자동화할 수 있습니다.

## 사전 요구 사항

* CrewAI AMP 계정
* Zapier 계정
* Slack 계정 (이 특정 예시에 해당)

## 단계별 설정

<Steps>
  <Step title="Slack 트리거 설정">
    * Zapier에서 새 Zap을 만듭니다.

    <Frame>
      <img src="https://mintcdn.com/crewai/Tp3HEbbp9mp-dy3H/images/enterprise/zapier-1.png?fit=max&auto=format&n=Tp3HEbbp9mp-dy3H&q=85&s=d7602ce90ddcd4f0365fd821f4ff1ff2" alt="Zapier 1" width="621" height="463" data-path="images/enterprise/zapier-1.png" />
    </Frame>
  </Step>

  <Step title="트리거 앱으로 Slack 선택">
    <Frame>
      <img src="https://mintcdn.com/crewai/Tp3HEbbp9mp-dy3H/images/enterprise/zapier-2.png?fit=max&auto=format&n=Tp3HEbbp9mp-dy3H&q=85&s=e5cdc5705b87b4e06178fa12fb5ef64b" alt="Zapier 2" width="670" height="684" data-path="images/enterprise/zapier-2.png" />
    </Frame>

    * 트리거 이벤트로 `New Pushed Message`를 선택합니다.
    * 아직 Slack 계정을 연결하지 않았다면 연결하세요.
  </Step>

  <Step title="CrewAI AMP 액션 구성">
    * Zap에 새 액션 단계를 추가합니다.
    * CrewAI+를 액션 앱으로, Kickoff를 액션 이벤트로 선택합니다.

    <Frame>
      <img src="https://mintcdn.com/crewai/Tp3HEbbp9mp-dy3H/images/enterprise/zapier-3.png?fit=max&auto=format&n=Tp3HEbbp9mp-dy3H&q=85&s=e52e2404a73623df30d125873bd8ff42" alt="Zapier 5" width="670" height="670" data-path="images/enterprise/zapier-3.png" />
    </Frame>
  </Step>

  <Step title="CrewAI AMP 계정 연결">
    * CrewAI AMP 계정을 연결하세요.
    * 워크플로에 적합한 Crew를 선택하세요.

    <Frame>
      <img src="https://mintcdn.com/crewai/Tp3HEbbp9mp-dy3H/images/enterprise/zapier-4.png?fit=max&auto=format&n=Tp3HEbbp9mp-dy3H&q=85&s=13aac37fdb67ee1c9f841a602ac3abf5" alt="Zapier 6" width="670" height="657" data-path="images/enterprise/zapier-4.png" />
    </Frame>

    * Slack 메시지의 데이터를 사용하여 Crew의 입력값을 구성하세요.
  </Step>

  <Step title="CrewAI AMP 출력 포맷팅">
    * CrewAI AOP에서 출력된 텍스트를 포맷팅하기 위해 추가 액션 단계를 추가합니다.
    * Zapier의 포매팅 도구를 사용하여 Markdown 출력을 HTML로 변환합니다.

    <Frame>
      <img src="https://mintcdn.com/crewai/Tp3HEbbp9mp-dy3H/images/enterprise/zapier-5.png?fit=max&auto=format&n=Tp3HEbbp9mp-dy3H&q=85&s=e772b4803dfffe4de12d9a7ea21484ce" alt="Zapier 8" width="670" height="674" data-path="images/enterprise/zapier-5.png" />
    </Frame>

    <Frame>
      <img src="https://mintcdn.com/crewai/Tp3HEbbp9mp-dy3H/images/enterprise/zapier-6.png?fit=max&auto=format&n=Tp3HEbbp9mp-dy3H&q=85&s=9fa4a34d5c511b6bb76f276348928699" alt="Zapier 9" width="670" height="675" data-path="images/enterprise/zapier-6.png" />
    </Frame>
  </Step>

  <Step title="출력 이메일로 전송">
    * 포맷팅된 출력을 이메일로 전송하는 마지막 액션 단계를 추가합니다.
    * 원하는 이메일 서비스를 선택하세요 (예: Gmail, Outlook).
    * 수신자, 제목, 본문 등 이메일 상세 정보를 구성하세요.
    * 포맷팅된 CrewAI AMP 출력을 이메일 본문에 삽입합니다.

    <Frame>
      <img src="https://mintcdn.com/crewai/Tp3HEbbp9mp-dy3H/images/enterprise/zapier-7.png?fit=max&auto=format&n=Tp3HEbbp9mp-dy3H&q=85&s=f3d2a0c67b29888cfdc5b0d81ba5c29b" alt="Zapier 7" width="670" height="673" data-path="images/enterprise/zapier-7.png" />
    </Frame>
  </Step>

  <Step title="Slack에서 crew 실행">
    * Slack 채널에 텍스트를 입력하세요.

    <Frame>
      <img src="https://mintcdn.com/crewai/Tp3HEbbp9mp-dy3H/images/enterprise/zapier-7b.png?fit=max&auto=format&n=Tp3HEbbp9mp-dy3H&q=85&s=916dbdffd171dc52c40ebc74cc39a38f" alt="Zapier 10" width="509" height="85" data-path="images/enterprise/zapier-7b.png" />
    </Frame>

    * 3점 버튼을 선택한 후 'Push to Zapier'를 선택하세요.

    <Frame>
      <img src="https://mintcdn.com/crewai/Tp3HEbbp9mp-dy3H/images/enterprise/zapier-8.png?fit=max&auto=format&n=Tp3HEbbp9mp-dy3H&q=85&s=a6a6e2fd0b0b239af4c17ae1f34ad720" alt="Zapier 11" width="405" height="260" data-path="images/enterprise/zapier-8.png" />
    </Frame>
  </Step>

  <Step title="crew 선택 후 Kick Off로 Push">
    <Frame>
      <img src="https://mintcdn.com/crewai/qVjgZHKAyEOgSSUS/images/enterprise/zapier-9.png?fit=max&auto=format&n=qVjgZHKAyEOgSSUS&q=85&s=eda865381d7121d38025c2b13abeccdf" alt="Zapier 12" width="659" height="531" data-path="images/enterprise/zapier-9.png" />
    </Frame>
  </Step>
</Steps>

## 성공을 위한 팁

* CrewAI AMP 입력값이 Slack 메시지에서 올바르게 매핑되었는지 확인하세요.
* Zap을 활성화하기 전에 철저히 테스트하여 잠재적인 문제를 미리 파악하세요.
* 워크플로우 내에서 발생할 수 있는 실패 상황을 관리하기 위해 오류 처리 단계를 추가하는 것을 고려하세요.

이 단계를 따르면 Slack 메시지로 트리거되는 자동화된 워크플로우와 CrewAI AMP 출력이 포함된 이메일 알림을 설정할 수 있습니다.
