# 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: 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://helpdocumentation.gitbook.io/user/bot-builder/whatsapp-chatbot/send-data-from-bot-builder-to-automation-builder-to-trigger-an-automations-between-the-bot.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.
