# Pabbly Connect

Use this customized invitation link for our integration: [Pabbly Connect with Whapi.Cloud](https://connect.pabbly.com/share-app/DUVTYQRTB2RWHAZsBWBXcA0ZBAAFXFY0ABkAElVaAHhWGwNWBkcBawxAVnRfEANiBUwFb1ENUW0JHVVRCF4JelxFVVBdQlwBUGMBRFMMX3UNb1MkBE8HPVYHBjUFTVdtDQ4EIwVIVgsADQBmVU4ARlYPA3gGSwExDExWPl8QA2EFTAVsUQhRcQkw)

### 1. Set the trigger

Set a trigger to monitor incoming messages. You will be provided with a WebHook URL that you will need to set in your channel settings. You can do this in the dashboard interface.

<figure><img src="https://2417185145-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhsdgGmVCG31mEaHyRvxC%2Fuploads%2Fh5t272MmU77925gOWwql%2Fimage.png?alt=media&#x26;token=14ed5d17-7d01-4f3e-97c6-78068a055fcd" alt=""><figcaption><p>Set a trigger and get a webhook link</p></figcaption></figure>

<figure><img src="https://2417185145-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhsdgGmVCG31mEaHyRvxC%2Fuploads%2F2IOqC9OGmypMlR0ffREU%2Fsettings-whapi.png?alt=media&#x26;token=041c4cea-a360-4cbe-a07f-002e6b817634" alt=""><figcaption><p>Set the provided URL as Webhook in the channel settings</p></figcaption></figure>

Your scenario will now take into account incoming messages to your WhatsApp. You need to add some action after that!

### 2. Add an action

To use any method from our gateway, select the “**Custom API Request (Beta)**” Action. Performs an arbitrary authorized API call. A universal method that will allow you to perform any function from our documentation. Available when creating a Workflow in the classic Builder.

{% hint style="info" %}
Don't forget to connect your channel!
{% endhint %}

<figure><img src="https://2417185145-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhsdgGmVCG31mEaHyRvxC%2Fuploads%2FbtDdSlktu7G48EWceKFn%2Fpabbly.png?alt=media&#x26;token=43673b77-8dd6-4fc9-9f3c-12d1b4d7fd00" alt=""><figcaption><p>Example of sending a message to a WhatsApp Channel via Pabbly Connect</p></figcaption></figure>

To use custom API Endpoint, copy the request method (POST/GET/DELETE) from our [documentation](https://whapi.readme.io/reference/createstory), as well as the parameters for the request. This way you can automate any API method.

In the *API ENDPOINT URL* field, you need to add an endpoint. For example it could be: <https://gate.whapi.cloud/messages/text>, <https://gate.whapi.cloud/messages/story>, etc. You can look up the endpoint in our documentation:

<figure><img src="https://support.whapi.cloud/~gitbook/image?url=https%3A%2F%2F2417185145-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FhsdgGmVCG31mEaHyRvxC%252Fuploads%252FbcFkuZvYbdwElX9GkDdO%252Fendpoint.jpg%3Falt%3Dmedia%26token%3D1f3200f5-7f87-4fd1-a4c1-4a6067bf0ce0&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=4f3c8f04&#x26;sv=1" alt="" width="375"><figcaption><p>You can get the endpoint out from here</p></figcaption></figure>

In the *REQUEST METHOD* field, all you have to do is specify the request method (POST/PUT/GET/DELETE)

In *DATA*, it remains to specify the request parameters in JSON format. It is most convenient to copy them from our [documentation](https://whapi.readme.io/reference/sendmessagetext). Some methods may require adding Headers: content-type: application/json


---

# 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://support.whapi.cloud/help-desk/integrations/pabbly-connect.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.
