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

# Zapier

> Guide to setup zapier triggers on Periskope

> Periskope integration for zapier is currently in private mode. In order to use periskope triggers in your zaps please [click here to obtain access](https://zapier.com/developer/public-invite/217966/ff590dfcc26be42cf2e51df10516d6a9/) to the private beta in zapier

***

<img src="https://mintcdn.com/bharatkumarramesh/HnicmFneIaXkDnL3/images/Untitled-design-(1)-1.png?fit=max&auto=format&n=HnicmFneIaXkDnL3&q=85&s=44c92357c87d375d74d0e3afdcfdd589" alt="Untitled Design (1)" title="Untitled Design (1)" className="mx-auto" width="1280" height="720" data-path="images/Untitled-design-(1)-1.png" />

<iframe src="https://www.youtube.com/embed/PAY0rxsN3xE" title="YouTube video player" frameborder="0" className="w-full aspect-video rounded-xl" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen />

## Prerequisites

* A [Zapier](https://zapier.com/) account
* Access to the Periskope app in Zapier [request here](https://zapier.com/developer/public-invite/217966/ff590dfcc26be42cf2e51df10516d6a9/)
* A [Periskope account](https://console.periskope.app)

## Setting up the Zapier integration on Periskope

<Steps>
  <Step title="Generate API Key">
    To generate an API key for your zap, you must have a Periskope account.

    Once logged into the account, visit [here](https://console.periskope.app/settings/integrations/zapier) to generate an API key. API key can only be revealed once, so please keep this API key safe and at a secure place.

    <Frame caption="Zapier settings">
      <img className="block border rounded-xl shadow" src="https://mintcdn.com/bharatkumarramesh/4Au0rGi6EzWXLRIt/integrations/zapier/step-1.png?fit=max&auto=format&n=4Au0rGi6EzWXLRIt&q=85&s=e668724fceb9ce301199dc7ddf104060" alt="Step 1" width="2330" height="1464" data-path="integrations/zapier/step-1.png" />
    </Frame>
  </Step>

  <Step title="Get Periskope access on zapier">
    Periskope zapier integration currently is in private mode. In order to get access click [here](https://zapier.com/developer/public-invite/217966/ff590dfcc26be42cf2e51df10516d6a9/)

    <Frame caption="Zapier invite page">
      <img className="block border rounded-xl shadow" src="https://mintcdn.com/bharatkumarramesh/4Au0rGi6EzWXLRIt/integrations/zapier/step-2.png?fit=max&auto=format&n=4Au0rGi6EzWXLRIt&q=85&s=cdefad62c248a59f24791ff1945f2335" alt="Step 2" width="2304" height="1460" data-path="integrations/zapier/step-2.png" />
    </Frame>
  </Step>
</Steps>

## Steps to setup a trigger

<Steps>
  <Step title="Create new zap">
    Go to [zapier dashboard](https://zapier.com/app/dashboard). And click on `Create`

    <Frame caption="Create new zap">
      <img className="border rounded-xl shadow" src="https://mintcdn.com/bharatkumarramesh/4Au0rGi6EzWXLRIt/integrations/zapier/trigger-step-1.png?fit=max&auto=format&n=4Au0rGi6EzWXLRIt&q=85&s=5d1ce8c5167ca219bd64a0dfd1fb5179" alt="Step 1" width="502" height="709" data-path="integrations/zapier/trigger-step-1.png" />
    </Frame>
  </Step>

  <Step title="Add periskope trigger">
    Once you've created a new zap. Click on Add trigger. Search for `periskope`

    <Frame caption="Add new trigger">
      <img className="border rounded-xl shadow" src="https://mintcdn.com/bharatkumarramesh/4Au0rGi6EzWXLRIt/integrations/zapier/trigger-step-2.png?fit=max&auto=format&n=4Au0rGi6EzWXLRIt&q=85&s=a14e092a673143d5e25cf7e1a842c7fd" alt="Step 2" width="2334" height="1452" data-path="integrations/zapier/trigger-step-2.png" />
    </Frame>
  </Step>

  <Step title="Choose an event">
    Currently we support following events.

    1. [New ticket created](#new_ticket) - Triggers every time a new ticket is created on periskope

    <Frame caption="Choose event">
      <img className="border rounded-xl shadow" src="https://mintcdn.com/bharatkumarramesh/4Au0rGi6EzWXLRIt/integrations/zapier/trigger-step-3.png?fit=max&auto=format&n=4Au0rGi6EzWXLRIt&q=85&s=bf9aba3cd2406926d5b3c6cbbb22413e" alt="Step 2" width="2327" height="1460" data-path="integrations/zapier/trigger-step-3.png" />
    </Frame>
  </Step>

  <Step title="Authenticate your zap with periskope">
    Create a new account and authenticate with API key generated on periskope

    <Frame caption="Choose an account">
      <img className="border rounded-xl shadow" src="https://mintcdn.com/bharatkumarramesh/4Au0rGi6EzWXLRIt/integrations/zapier/trigger-step-4.png?fit=max&auto=format&n=4Au0rGi6EzWXLRIt&q=85&s=2827e3020b18485e9ff7e55510635038" alt="Step 2" width="2326" height="1454" data-path="integrations/zapier/trigger-step-4.png" />
    </Frame>

    <Frame caption="Create new account and authenticate">
      <img className="border rounded-xl shadow" src="https://mintcdn.com/bharatkumarramesh/4Au0rGi6EzWXLRIt/integrations/zapier/trigger-step-5.png?fit=max&auto=format&n=4Au0rGi6EzWXLRIt&q=85&s=6bde0bd07a2738c55db14305c97fd3b6" alt="Step 2" width="2328" height="1459" data-path="integrations/zapier/trigger-step-5.png" />
    </Frame>
  </Step>

  <Step title="Test your trigger">
    In order to initially pull a new records with all the fields that you'll be receiving from periskope. Click on test your trigger.

    <Frame caption="Test your trigger">
      <img className="border rounded-xl shadow" src="https://mintcdn.com/bharatkumarramesh/4Au0rGi6EzWXLRIt/integrations/zapier/trigger-step-6.png?fit=max&auto=format&n=4Au0rGi6EzWXLRIt&q=85&s=8db700d47163fb8b1b9a717e4c64cd70" alt="Step 2" width="2328" height="1468" data-path="integrations/zapier/trigger-step-6.png" />
    </Frame>
  </Step>
</Steps>

## Result 🚀

* Now your zap trigger is connected to your periskope account and you can add any action of your choice to stream the data from periskope to your application.
* Once the action has been setup you can test the step and publish your zap to subscribe to the trigger.

That's it! You have now added Zapier integration on Periskope. You can now trigger zap from periskope for chosen event.

# Events

Currently we support following events for zapier.

1. 👥 chat.created [🔗](/api-reference/objects/the-chat-object)
2. 💬 message.created [🔗](/api-reference/objects/the-message-object)
3. 💬 message.updated [🔗](/api-reference/objects/the-message-object)
4. 💬 message.deleted [🔗](/api-reference/objects/the-message-object)
5. 💬 message.ack.updated [🔗](/api-reference/objects/the-message-object)
6. 💬 message.ticket.attached [🔗](/api-reference/objects/the-message-object)
7. 😀 reaction.created [🔗](/api-reference/objects/the-reaction-object)
8. 🏷️ ticket.created [🔗](/api-reference/objects/the-ticket-info-object)
9. 🏷️ ticket.updated [🔗](/api-reference/objects/the-ticket-info-object)
10. 🏷️ ticket.deleted [🔗](/api-reference/objects/the-ticket-info-object)
