# Integrate BotPenguin with Pabbly

### What is Pabbly?

Pabbly is an automation tool that connects different apps and services, allowing them to work together without manual effort. It helps users automate tasks by setting up workflows that run automatically.

### What are Triggers?

A trigger is an event that starts an automation. For example, when a new lead is captured on BotPenguin, that event can trigger an action in another app. Triggers tell Pabbly when to start a workflow.

### What are Actions?

An action is what happens after a trigger. Once a trigger occurs, Pabbly communicates the assigned action to the end application, like sending lead data to Google Sheets or notifying a team on Slack. Actions complete the automation process.

### How Pabbly Helps with BotPenguin

Integrating Pabbly with BotPenguin allows businesses to automate workflows and enhance chatbot efficiency. When a **new contact is created**, a **message is received in chat**, or a **WhatsApp order is placed**, these triggers can initiate automated actions in other applications. Similarly, when triggered by a third-party app through Pabbly, BotPenguin can **send WhatsApp templates, update custom attributes, send session messages, or add new contacts**. This seamless automation reduces manual work, improves response time, and ensures smooth communication across platforms.

### **Prerequisites**

The following prerequisites need to be met when you are integrating Pabbly with BotPenguin.

* An active Pabbly account with available **task credits** for automation processes.

***

### Steps to Integrate Pabbly with BotPenguin

#### Section A: Setting up Integration in BotPenguin

1. Login to your BotPenguin account and select the chatbot you want to integrate with Pabbly. Click on the “**Third-party Apps Integration”.**

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FmTj8ddbb3n8Ss1hVl4Ny%2Fimage.png?alt=media&#x26;token=113ca457-f084-4627-9a50-ac0030ff6b9d" alt=""><figcaption></figcaption></figure>

2. Go to Pabbly integration either by:
   1. Searching for Pabbly on the search bar available, or
   2. Scrolling down to Pabbly.
3. Click on the “**Connect**” button to get started.

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2Fh3Qp2kKVSca2DnwhJXbW%2Fimage.png?alt=media&#x26;token=3372d32f-f591-4603-a9d2-9b55d3a6e42e" alt=""><figcaption></figcaption></figure>

4. Click on the “**Connect**” button to go onto the integration page.

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FDfX4Dop2fNl94ORJqEbZ%2Fimage.png?alt=media&#x26;token=7d686d0f-2389-4b50-9553-436837f70eab" alt=""><figcaption></figcaption></figure>

5. Click on the “**Connect**” button to continue forward.

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FjtVHH8kKtvaMWcriGTwc%2Fimage.png?alt=media&#x26;token=85a76f6c-6d30-45c9-986e-6c462d1bc60a" alt=""><figcaption></figcaption></figure>

6. Click on “**Add Pabbly Webhook URL”.**

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FV6VmuDdrUnCNiNB9fmbm%2Fimage.png?alt=media&#x26;token=63acd77c-589b-471f-bac2-2d94f238cb18" alt=""><figcaption></figcaption></figure>

7. A small screen will show up as shown below. Select the type of trigger event you want from the “**Select Event**”. These can include:
   1. **New Lead**: Trigger which occurs whenever a new contact is created in BotPenguin.
   2. **New Incoming Messages**: Occurs when a new message is incoming in the selected chatflow being integrated.
   3. **New WhatsApp Order Created**: When a new order is placed.

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2F8xHG4WT4YNxFdtIhDMXp%2Fimage.png?alt=media&#x26;token=353dd9f8-b23c-47af-a328-8bca2a68c877" alt=""><figcaption></figcaption></figure>

8. Now, let us go over to Pabbly and start the setup of our workflow there.

{% hint style="info" %}
In this example, we will be adding a “New contact created” as the trigger. All other triggers are configured in exactly the same manner.
{% endhint %}

***

#### Section B: Setting up BotPenguin Trigger on Pabbly:

1. Sign-up or login to your Pabbly Connect Account. Post login, you will arrive at the following screen. Click on the “**Create Workflow**” button on the top-right.

{% hint style="info" %}
Alternatively, if a workflow already exists, click on that.
{% endhint %}

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2Fs5tzB6G2p22lHJ8o2Sxr%2Fimage.png?alt=media&#x26;token=90bd2360-8c2a-4591-84bd-4dc378f65726" alt=""><figcaption></figcaption></figure>

2. Provide a name for the workflow, and select the desired folder for the same. Leave the folder name as is if uncertain.

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2F5V7DW7vjGVDCRhgjwXOb%2Fimage.png?alt=media&#x26;token=7781f6e5-fe7e-49ab-8574-a74b74305760" alt=""><figcaption></figcaption></figure>

3. Upon clicking “**Create**”, automatic redirection should occur to the workflow as shown below. For creation of trigger from BotPenguin, search “**BotPenguin**” in the “**Search App**”.

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FksVDULmGhwiIqWRqMAWj%2Fimage.png?alt=media&#x26;token=c0768e7a-f1db-450b-8ee1-36933e049ab3" alt=""><figcaption></figcaption></figure>

4. After searching and selecting BotPenguin, select the same type of “**Trigger Event**” you want from the dropdown menu as in BotPenguin. These can include:
   1. **New Lead**: Trigger which occurs whenever a new contact is created in BotPenguin.
   2. **New Incoming Messages**: Occurs when a new message is incoming in the selected chatflow being integrated.
   3. **New WhatsApp Order Created**: When a new order is placed.

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FlFlSK3ukdlxOQAUCc7ns%2Fimage.png?alt=media&#x26;token=9adac981-e934-4e61-9e25-f17c9d24d897" alt=""><figcaption></figcaption></figure>

5. Upon selection, the box will expand as seen below, including in itself several more details. Copy the “**Webhook URL**” and paste it in the “**Pabbly Webhook URL**” in BotPenguin Dashboard.

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FO7AyUV79XVB4F2KpHwRk%2Fimage.png?alt=media&#x26;token=871e0112-49a7-4c48-a153-af0d8cfb3980" alt=""><figcaption></figcaption></figure>

6. Paste the copied Webhook URL in the “**Pabbly Webhook URL**” on BotPenguin, and then click “**Verify & Add Webhook URL**”.

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FU6cx9ovgswzYmJpFLU9K%2Fimage.png?alt=media&#x26;token=4732600f-a81b-4860-8655-084dc558e77e" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Using the "click here" button, the attributes passed on to Pabbly can be configured. These can include standard attributes, or user-designed custom attributes.
{% endhint %}

7. Click on “**Integrate**” to complete the integration, or click on “**Add Pabbly Webhook URL**” to add more webhook triggers.

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FDGag5kdizR5W9FYufDqv%2Fimage.png?alt=media&#x26;token=79daab6a-0012-4d0e-9b43-719ec4c4796b" alt=""><figcaption></figcaption></figure>

8. For checking of successful integration, go back to Pabbly, and check the “**Response Received**”. The labels(left side column) should contain all the attributes being passed as selected in the “Click here” button. The data shown currently is dummy data.

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FfExKMKonh59j713FKPZZ%2Fimage.png?alt=media&#x26;token=aefa5f3c-d999-4c3d-8387-ba3b791eff24" alt=""><figcaption></figcaption></figure>

And the trigger setting has been completed! Configure the corresponding action using the “Action box” on Pabbly(below Trigger box), and enjoy workflow benefits of BotPenguin with other applications.

***

#### Section C: Setting up BotPenguin Action on Pabbly:

1. Sign-up or login to your Pabbly Connect Account. Post login, you will arrive at the following screen. Click on the “**Create Workflow**” button on the top-right.

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FdwuWq3NE7dk0A9Uyd01u%2Fimage.png?alt=media&#x26;token=2c525d45-0411-4519-97a4-0a50d1637f0b" alt=""><figcaption></figcaption></figure>

2. Provide a name for the workflow, and select the desired folder for the same. Leave the folder name as is if uncertain.

{% hint style="info" %}
Alternatively, proceed to already created workflow.
{% endhint %}

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FmnzcLCIwKQVPSXF4x2X8%2Fimage.png?alt=media&#x26;token=63cfc225-d3ff-4df2-a80c-16d10c5ebe44" alt=""><figcaption></figcaption></figure>

3. **Set the Action App in Pabbly**

* After the trigger (new lead), select the action app, such as "Google Sheets."<br>

  <figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FrBPdutu5ZHSReOHH3Wd4%2Fimage.png?alt=media&#x26;token=91b5e9a3-0ff9-4bf0-ba27-2cd05c2cb341" alt=""><figcaption></figcaption></figure>

4. **Configure the Action Event**

* Choose the action event, such as "Add New Row."
* Select the target spreadsheet and the specific sheet where you want the data to be stored.<br>

  <figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FZI1n7RIBIRapWs6FPTE1%2Fimage.png?alt=media&#x26;token=48eaa0d5-6bfb-4b41-b727-77a585e44b53" alt=""><figcaption></figcaption></figure>

5. **Test and Save**

* Click "Save and Send Test Request" in Pabbly.<br>

  <figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FETQ6PQcr3XlCEEhLaF2t%2Fimage.png?alt=media&#x26;token=3ede5549-664f-415a-a1a5-699adf218f6d" alt=""><figcaption></figcaption></figure>
* Verify that the data has been successfully saved in the Google Sheet.

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2F41d17D4iJTWbB83uqDVN%2Fimage.png?alt=media&#x26;token=50e94ee9-49f8-4980-a734-2aa4bb2ebc27" alt=""><figcaption></figcaption></figure>

6. Upon clicking “**Create**”, automatic redirection should occur to the workflow as shown below. Go to the “**Action**” box.

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FbKPuHEUznJ2dvOyJOQVh%2Fimage.png?alt=media&#x26;token=c3d11207-8b47-45c5-a813-16dfaf9caa95" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Have a working Trigger before proceeding. Below steps only detail the set-up of BotPenguin Action, not the creation of Trigger for any third parties.
{% endhint %}

7. Search for “**BotPenguin**” in the “**Search App**” area, and select the same.
8. Select the action that you wish to occur. Options include:
   1. **Add Contact** – Add a new contact to your BotPenguin account.
   2. **Send Session Message** – Send WhatsApp session messages.
   3. **Update Contact Attributes** – Update user-specific custom attributes.
   4. **Send Template Message** – Send a WhatsApp template message.

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2Fb0UF7SBURNqRtNeZsuVE%2Fimage.png?alt=media&#x26;token=9dad074f-27f4-4bc9-a9eb-9249355ace85" alt=""><figcaption></figcaption></figure>

9. Upon the selection of the desired Action Event, a side panel will open up. Select the type of connection wanted:
   1. Add New Connection: The connection that will be established with BotPenguin
   2. Select Existing Connection: Selecting an already existing connection for the purposes of communication
10. Enter the API Token, that in the developer section of your BotPenguin Account, and add the same to the “**Token**” section and click “**Save**”.

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FW9IFMaVilcxXqkHfUOAC%2Fimage.png?alt=media&#x26;token=fe3598ae-2912-4192-8dee-377667662d76" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FNYny9Jn499IAsYgtHJvA%2Fimage.png?alt=media&#x26;token=9e2e2ec0-2586-4ab9-95e5-995afd1b93ed" alt=""><figcaption></figcaption></figure>

11. Post successful save, information will be need to be entered or mapped that will be sent to BotPenguin. Edit the same in the given columns.

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FMU8Jynnho141yutC3eT8%2Fimage.png?alt=media&#x26;token=c55e7946-08bf-4737-9801-53ee3ad9c08f" alt=""><figcaption></figcaption></figure>

12. After entering all the details, click on the “**Save & Send Test Request**”. If all configurations are correct, a success message as shown below should come.

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2Fk4GLMCgPu9QcLpzml7Sp%2Fimage.png?alt=media&#x26;token=e1843c64-d3d8-411f-b238-2b6f6f84e371" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
While the “Add Contact” action was used here, the exact same methodology is to be followed for the other actions as well.
{% endhint %}

***

If everything is correct and you are still unable to move forward, write to us at <support@botpenguin.com>. We will respond back within 48 business hours.
