# Integration using the Make service

[*Make*](https://www.make.com/en) — *a unified platform for automation. All the tools needed to design, create, automate, and scale your business.*

You can set up integration with any external service. Selarti will send a webhook to the external system when the AI agent receives contacts or consent for a target action.

### Setting up integration in the Make dashboard

Register at [the Make service](https://www.make.com/en), complete a short survey from the service, then go to the «*Organization*» and click the «*Create a new scenario*» *button.*

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

Click the connection type «*Webhooks*»*.*

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

Then select «*Custom webhook*»*.*

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

Click «*Create a webhook*».

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

Enter a name for the webhook you are creating and click «*Save*».

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

Select the previously created webhook from the dropdown list, note — the label should show «Stop», then copy the webhook address using the «*Copy address to clipboard*» *button* and proceed to the next step in the adjacent tab. Do not save the webhook or close this page yet; you will need to save it later.

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

### Setting up integration in the Selarti dashboard

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

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

Enter your name, then paste the link copied from the Make dashboard. Click «*Send test webhook*».

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

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

Select the required webhook types and click «*Create integration*»**.**

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

### Creating an action in the Make service

Return to Make and make sure the webhook connected — instead of the label «Stop» it will show «Successfully determined». Click «*Save*».

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

Then create an action. There can be many options Make supports a large number of actions.

#### Example of configuring data transfer to Google Sheets

For this setup you will need a Google account and a pre-created spreadsheet in Google Sheets.

Click the «*+*» *sign.*

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

In the opened menu select «*Google Sheets*».

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

Then choose the action «*Add a Row*» — adding a new row to the spreadsheet.

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

Connect Make and your Google account by clicking «*Create a connection*».

<figure><img src="/files/1Ed2KsCFZQd0P7w67v1C" alt=""><figcaption></figcaption></figure>

In the newly opened window select the account, and if necessary sign in to the required account.

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

Accept all terms to create the connection and wait for the connection to be established. If the connection is interrupted — try again.

Then select the spreadsheet you created where leads will be collected. Find it in the list or using search.

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

Choose the required sheet in the spreadsheet from the dropdown list.

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

Select a value for each column. Clicking on a field will open a dialog: go to the *«☆»* tab, specify the required value and click «*Save*». If the webhook fields do not appear — recreate the webhook and reconnect the integration with it in Selarti.

Description of all webhook fields at the end of the article.

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

After configuring the actions, click the «*Run once*».

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

After setup open the «*Scenarios*» section and switch the toggle next to the created scenario to «*ON*».

<figure><img src="/files/2YZFTq4Ubc3p80pk7wvo" alt=""><figcaption></figcaption></figure>

### Webhook fields description

<mark style="color:purple;">**`title`**</mark> — the dialog title (FirstName LastName/profile name).\ <mark style="color:purple;">**`contacts`**</mark> — the interlocutor's contacts. Phone, username.\ <mark style="color:purple;">**`success`**</mark> — the AI agent marked the dialog as successful (yes/no).\ <mark style="color:purple;">**`get_contact`**</mark> — the AI agent obtained additional contacts of the interlocutor (yes/no).\ <mark style="color:purple;">**`close`**</mark> — the dialog is closed (yes/no).\ <mark style="color:purple;">**`is_bot`**</mark> — the dialog is 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 as 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-make-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.
