Chat with us
Knowledgebase/WhatsApp Automation/Article

How to Configure Outbound Actions for WhatsApp Automation in BotSailor

  • 20 Sep 2026
  • 5 min read
  • 0 views
TL;DR:

⚡ Quick Answer

Create a WhatsApp flow that collects a user's email address with a User Input Flow, then go to AutomationOutbound Actions. Create an outbound webhook, paste the webhook URL, select the action that will trigger the webhook, choose the data fields to send, and save the configuration. When the email collection flow is completed, BotSailor sends the acquired data to the webhook.

Before You Begin

An active BotSailor account with a connected WhatsApp bot.
A third-party platform like Zapier, with a webhook URL ready to receive data.
A clear idea of the information you want to collect.

This guide uses an email collection flow as an example.

What Are Outbound Actions?

Outbound Actions in BotSailor let you send data collected from a chatbot flow to an external webhook. In this example, a WhatsApp flow asks the subscriber for an email address. After the user provides the email, BotSailor can send the selected flow data to a Zapier webhook for use in another automation.

1

Create the Email Collection Flow

1

Open Keyword Replies and Create a New Flow

Log in to BotSailor and select your connected WhatsApp bot. Follow this path:

DashboardChatbot ManagerSelect WhatsApp BotAutomationKeyword Replies

Click Create to open the Flow Block.

Open Automation, select Keyword Replies, and click Create.


2

Configure the Start Bot Flow

Double-click the Start Bot Flow block and create a trigger for the email collection flow. For this example, use a reference or flow title such as "Email Collection."

Add the trigger keyword that should start the flow, select the appropriate keyword matching type, and save the Start Bot Flow configuration.

3

Add a User Input Flow

Add a User Input Flow to the Start Bot Flow. Create a campaign for collecting the subscriber's email address — in the example flow, the campaign is named "Collecting E-mail."

4

Add the Question Block

Add a New Question block to the User Input Flow. Enter a question such as "What is your Email address?"

Reply Type: Email

This ensures the response is collected as an email address. Save the question settings.

5

Add the Thank You Reply

Connect a Text block after the email question. Enter a confirmation message such as "Thanks for sharing your Email address." Save the Text block and make sure all blocks are connected in the correct order.

Example flow: Start Bot Flow, User Input Flow, Email question, Thank-you Text message.


6

Save the Email Collection Flow

Review the trigger, User Input Flow, question, and thank-you message, then click Save in the upper-right corner of the Flow Block.

2

Create the Outbound Action

1

Open Outbound Actions

Return to your WhatsApp bot's Automation section and select Outbound Actions.

Open the Outbound Actions tab from the WhatsApp Automation section.


2

Create and Name the Webhook

Click Create to add a new outbound webhook. Enter a recognizable webhook name, for example "Zapier Connection for Email."

3

Paste the Zapier Webhook URL

In Zapier, create or open a webhook trigger and copy the webhook URL generated for your Zap. Return to BotSailor and paste that URL into the Outbound Webhook URL field. Use your own Zapier webhook URL — do not copy the example URL shown in screenshots.

🔒 Keep the Webhook URL Private

A webhook URL can function like an endpoint credential. Use the URL generated for your own Zapier workflow and avoid publishing it in documentation, screenshots, or public posts.

4

Select the Action That Triggers the Webhook

Choose the action or event that should trigger the outbound webhook. For this guide, select the event associated with the email collection or User Input Flow so the webhook runs after the subscriber provides the requested information.

5

Select the Data Fields to Send

Choose the subscriber and flow data that BotSailor should include in the webhook request. For an email collection workflow, include the fields needed by your Zapier automation, such as the collected email address and any other subscriber data you want to pass. Save the outbound webhook configuration.

Saved outbound webhook shown in BotSailor's Outbound Webhook list.


3

Test and Verify the Outbound Action

1

Test the WhatsApp Flow

Send the configured trigger keyword to the connected WhatsApp Business number. Complete the User Input Flow by entering a valid email address, and confirm that the thank-you message is returned after the email is submitted.

2

Check the Outbound Webhook Report

Go back to Automation → Outbound Actions and open the report for the webhook (click the eye icon). A successful request shows an HTTP response code such as 200 and no cURL error. Click the eye icon again to see the Post Data.

Outbound Webhook Report showing HTTP code 200 and no cURL error.


Post Data view showing JSON data, subscriber fields, and the collected email response.


How to Know It Worked

The subscriber can complete the email collection flow.
BotSailor calls the outbound webhook.
The webhook report shows a successful response.
The Post Data contains the email address collected by the User Input Flow.

You can then continue the Zapier workflow using the received data.

!

Common Troubleshooting

The webhook is not being called

Confirm that the outbound action is saved and that the correct trigger action is selected. Make sure the subscriber completes the User Input Flow that is intended to trigger the webhook.

Zapier does not receive the expected email data

Check the selected data fields in the outbound webhook configuration. Open BotSailor's Post Data report and confirm that the email question and answer are included in the payload.

The webhook report shows an error instead of HTTP 200

Recheck the Zapier webhook URL and make sure it is active. If you replaced or regenerated the Zapier webhook, update the URL in BotSailor and save the outbound action again.

Next Steps

Continue the Zapier automation with the received dataConnect the webhook to another app in your ZapExtend the User Input Flow with more fieldsTry other 3rd party APIs beyond Zapier
Zihad Jony

Zihad Jony

Team
FAQ

Frequently Asked Questions

Find answers to common questions about this topic

An outbound webhook sends data from BotSailor to an external application when a configured action occurs. For example, after a WhatsApp user provides an email address through a User Input Flow, BotSailor can send that collected information to a Zapier webhook.

In BotSailor, you create an Outbound Action, add the webhook URL provided by the external platform, select the action that should trigger the webhook, and choose which data fields to send. When that action occurs, BotSailor sends the selected data to the webhook endpoint.

Go to Automation → Outbound Actions, create a new outbound webhook, paste the destination webhook URL, select the trigger action, and choose the subscriber or flow data you want to send. Save the configuration so BotSailor can send the selected data when the trigger occurs.

Create or open a webhook trigger in Zapier and copy the generated webhook URL. Paste this URL into BotSailor's Outbound Webhook URL field, select the WhatsApp flow action that should trigger it, and choose the data that should be included in the webhook request.

Create a User Input Flow in BotSailor and add a New Question block asking for the user's email address. Set the Reply Type to Email so the response is collected as an email address. You can then use an Outbound Action to send the collected email to an external webhook.

Trigger the configured WhatsApp flow and complete the User Input Flow with valid information. Then go to Automation → Outbound Actions and open the webhook report. A successful request should show an HTTP response code such as 200 with no cURL error, and the Post Data should contain the expected collected information.

In the BotSailor outbound webhook report, an HTTP response code such as 200 indicates that the webhook request was successfully received by the destination endpoint. The guide also recommends checking that there is no cURL error and reviewing the Post Data to confirm that the expected information was sent.