> For the complete documentation index, see [llms.txt](https://helpdocumentation.gitbook.io/user-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpdocumentation.gitbook.io/user-documentation/bot-builder/whatsapp-chatbot/send-data-from-bot-builder-to-automation-builder-to-trigger-an-automations-between-the-bot.md).

# Send Data from Bot Builder to Automation Builder To Trigger an Automations Between the Bot

This feature allows you to pass data from your bot flow to the automation builder using a webhook, enabling advanced workflow processing.

### Steps to Configure

#### 1. Create Webhook in Automation Builder

1. Go to **Automation Builder → Create Workflow**
2. Click on the **+ icon** and select **Webhook**
3. Choose **Custom Webhook** as the trigger
4. Enter a **Webhook Title**
5. Click on **Generate Hook**
6. Copy the generated **Webhook URL**

#### 2. Configure Bot Builder

7. Go to **Bot Builder** and open your bot flow
8. Add a new node → **Automation App → External API Call**
9. Select request method as **POST**
10. Paste the **Webhook URL**

#### 3. Add JSON Body

11. Set **Body Type** as JSON
12. Enter the JSON structure and map required fields\
    Example:

```
{
  "customer_number": "{{whatsapp_number}}",
  "id": "1"
}
```

#### 4. Capture Data in Automation

13. Go back to **Automation Builder**
14. Click on **Capture Incoming Webhook**
15. Run and save the workflow

#### 5. Verify Data

16. Use **Show Received Data** to verify incoming data
17. Once live data is received, it will appear automatically

{% embed url="<https://youtu.be/lSrJCIlAYGQ>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://helpdocumentation.gitbook.io/user-documentation/bot-builder/whatsapp-chatbot/send-data-from-bot-builder-to-automation-builder-to-trigger-an-automations-between-the-bot.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
