Platform
Chatbot Builder Bulk Messaging Team Inbox Mini CRM API & Webhooks AI Integration WhatsApp Flows
Industries
E-commerce & D2C Real Estate Education Healthcare Finance & BFSI Logistics Hospitality Retail
Integrations
Learn
Learning Hub Help & Docs Connect Guides Automation Codex Blog Message Templates
Pricing Get Started →
HomeHelp & DocsBot Builder › Pass data from a bot flow to an automation
Bot Builder

Pass data from a bot flow to an automation

The bot builder handles conversations. The automation builder handles logic, sequences, and integrations. This guide shows how to pass data from one to the other: a bot collects information from the user, then fires a webhook to hand that data to an automation that does the heavy lifting.

Step 1: Create the webhook trigger in the automation builder

1
Go to Automation Builder → Create Workflow.
2
Click + → Webhook as the trigger.
3
Select Custom Webhook.
4
Enter a title for the webhook.
5
Click Generate Hook.
6
Copy the generated Webhook URL.

Step 2: Call the webhook from the bot

1
Go to your bot flow and find the step where you want to hand off to the automation.
2
Add a node → Automation App → External API Call.
3
Set method to POST.
4
Paste the Webhook URL from Step 1.
5
Set Body Type to JSON.
6
Build the JSON body using variables from the bot conversation.
7
Click Run to send a test payload, then Save.
{ "customer_number": "{{whatsapp_number}}", "name": "{{customer_name}}", "enquiry_type": "{{selected_option}}" }

Step 3: Capture the data in the automation

1
Go back to the automation in the Automation Builder.
2
Click Capture Incoming Webhook.
3
The automation will wait for a real webhook to arrive.
4
Trigger the bot flow (send the keyword to your WhatsApp number).
5
Once the bot reaches the API call step, the webhook fires.
6
Click Show Received Data in the automation builder to verify the payload arrived correctly.
7
Save the automation. It is now ready to use the incoming data in subsequent steps.
What to do next in the automation

After receiving the data, the automation can send a follow-up WhatsApp message to the customer, update a CRM record, trigger a drip campaign, or call another external API — all with the data from the bot conversation.

Was this helpful? If you are stuck, message us and a real person will help — the only platform that answers you live on WhatsApp.

Ask us on WhatsApp
Related guides
1