# Integration using the Zapier service

[*Zapier*](https://zapier.com/) *— a service for automation and creating integrations. It allows combining functions of different products, optimizing workflows and setting up integrations without involving developers.*

### Setting up integration in the Zapier dashboard

1. Register [in the Zapier service](https://zapier.com/). On the main page select «*Create*» and click the «*Zaps*».

<figure><img src="/files/bd9cc228ab6708a6a30392ffa40d5723209c0335" alt=""><figcaption></figcaption></figure>

Click «*Trigger*».

<figure><img src="/files/83019f10f8d73d251531c9a775cf97a4bfb5d56f" alt=""><figcaption></figcaption></figure>

Select the connection type «*Webhooks by Zapier*».

<figure><img src="/files/02c28d023b17209d20c60c828f0855bbc9fff05b" alt=""><figcaption></figcaption></figure>

Then in the menu on the right choose «*Catch Hook*».

<figure><img src="/files/0f6222f7957edea9ff34873af00f24f22091f0d5" alt=""><figcaption></figcaption></figure>

Click «To continue» and in the «Trigger» tab also click «To continue».

Copy the created link. To do this click «*Copy*».

<figure><img src="/files/88301b65c6718d29a8d8dc627022f937c9c0ca4e" alt=""><figcaption></figcaption></figure>

### Setting up integration in the Selarti dashboard

1. Go to the Selarti dashboard, on the left select «[*Integration*](https://selarti.com/panel?menu=integration)», click the «*Create integration*». Choose the type «*Zaiper*».

<figure><img src="/files/7kwTk6eDq8aWMKFwQCNl" alt=""><figcaption></figcaption></figure>

2. Specify your name, then paste the link copied from the Zapier dashboard. Click «*Send test webhook*».

<figure><img src="/files/AmILYBV3x8XYaM7vWfrG" alt="" width="461"><figcaption></figcaption></figure>

If you did everything correctly, the entered link in Selarti will be highlighted in green.

3\. Select the required trigger types from the dropdown list «*Select webhook type*» and click «*Create integration*».

<figure><img src="/files/V7hjnXHQoVMlasbDuGXn" alt="" width="461"><figcaption></figcaption></figure>

### Creating an action in Zapier

Return to Zapier and check the trigger — click «*Test trigger*».

<figure><img src="/files/29b251a033a410402b1df7723c8f6bda5519ad8c" alt="" width="491"><figcaption></figcaption></figure>

If you did everything correctly, available fields will appear in Zapier.

<figure><img src="/files/1ef66f8afaae81996ca9be99fbd66ac1ef03dc4f" alt="" width="491"><figcaption></figcaption></figure>

Create an action. There can be many options; Zapier supports a large number of actions.

### Example of configuring data transfer to Google Sheets

In the menu select «*Google Sheets*».

<figure><img src="/files/58a7fd4e2d650f95db8d63a65a7f0808f6b112d3" alt="" width="563"><figcaption></figcaption></figure>

Then select the action «*Create Spreadsheet Row*» — adding a new row to the spreadsheet.

<figure><img src="/files/ca90e3dcf69cc7a22e8224f9a4c380f788b74990" alt="" width="563"><figcaption></figcaption></figure>

Authorize with your Google account.

Select your Google account and click «*Continue*».

<figure><img src="/files/89524f9fb849ce2fffaa9511c56500a17cd06738" alt=""><figcaption></figcaption></figure>

In the field «*Spreadsheet*» choose the spreadsheet where you plan to collect leads.

<figure><img src="/files/248af1810af1bae438065823a700fc14eff89a85" alt="" width="563"><figcaption></figcaption></figure>

Select the values you want to pass to the spreadsheet and click «*Continue*».

<figure><img src="/files/27762815e092f1f2a80b25d9e291c057fcc76fc3" alt="" width="563"><figcaption></figcaption></figure>

Run a test — click the button «*Test step*».

<figure><img src="/files/084e31215c22389ec24b9cff2e72f8f5a42f3cc1" alt="" width="524"><figcaption></figcaption></figure>

After configuring actions and a successful test click the «*Publish*».

<figure><img src="/files/857fce1710c14c04cbd14fca954849d23d8aece8" alt="" width="473"><figcaption></figcaption></figure>

### Description of webhook fields

<mark style="color:purple;">**`title`**</mark> - Dialog title (First Last/profile name)\ <mark style="color:purple;">**`contacts`**</mark> - Counterparty contacts. Phone, username\ <mark style="color:purple;">**`success`**</mark> - AI agent marked the dialog as successful (yes/no)\ <mark style="color:purple;">**`get_contact`**</mark> - AI agent obtained additional contacts of the counterparty (yes/no)\ <mark style="color:purple;">**`close`**</mark> - Dialog closed (yes/no)\ <mark style="color:purple;">**`is_bot`**</mark> - Dialog identified as a bot (yes/no)\ <mark style="color:purple;">**`share_url`**</mark> - link to view the dialog\ <mark style="color:purple;">**`company_id`**</mark> - company id\ <mark style="color:purple;">**`task_id`**</mark> - task id\ <mark style="color:purple;">**`thread_id`**</mark> - dialog id\ <mark style="color:purple;">**`dialog`**</mark> - AI dialog with the user text

We can add additional fields from the list of standard ones. If you believe there are fields that are needed by all clients — write to [support](https://t.me/selarti_support_bot).

You can add custom fields for yourself using [custom API](/manual-en/main-sections-of-the-service/ai/ai-functions.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://manual.selarti.com/manual-en/external-integrations/integration-using-the-zapier-service.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
