Chat with us
Knowledgebase/WhatsApp Automation/Article

How to Collect WhatsApp Data by Using User Input Flow in BotSailor

  • 20 Sep 2026
  • 4 min read
  • 0 views
TL;DR:
To create a WhatsApp data collection flow in BotSailor, go to Data Collection > User Input Flows, create an input flow, then build a chatbot flow with a Start Bot Flow, a User Input Flow, a New Question, and a Textblock. In this example, the bot asks for the user’s email address, saves the response, and then sends a 'thank you' message.

✓ Before You Begin

Make sure you have an active BotSailor account, a connected WhatsApp bot, and a clear idea of the data you want to collect. In this guide, the example flow asks the subscriber for anemail address.

What Is User Input Flow?

User Input Flow in BotSailor helps you collect structured information from subscribers during a chatbot conversation. You can ask questions, choose the input type, save the user’s response, and then continue the conversation with another block. This makes User Input Flow useful for lead collection, surveys, booking requests, onboarding, and customer profiling.

Why Use User Input Flow?

  • Ask subscribers questions during a WhatsApp conversation.
  • Collect structured replies such as names, emails, phone numbers, or preferences.
  • Use the saved responses for follow-up communication and personalization.
  • Extend the flow later with more questions, Google Sheets, or webhook-based automation.

Part 1: Open User Input Flows


Step 1: Go to the Data Collection Section

Log in to BotSailor and select the connected WhatsApp bot you want to work with.

From the top navigation area, click Data Collection.


Step 2: Open User Input Flows

Inside the Data Collection section, click User Input Flows.

This page displays your existing input flow campaigns.


Step 3: Create a New Input Flow

Click the Create button to start a new input flow campaign.

Open Data Collection, select User Input Flows, and click Create to start a new input flow campaign.


Part 2: Build the WhatsApp Data Collection Flow


Step 1: Configure the Start Bot Flow

Create the trigger that will start the data collection conversation.

In the Configure Reference panel, enter thetrigger keywords. In this example, the trigger keywords are "Collection, info".

Choose the keyword matching type. The example uses "Exact keyword match".

Give the flow a title, such as "Email Collection", and click Save Changes.


Step 2: Add a User Input Flow Block

Drag the "User Input Flow" block onto the flow builder and connect it to the Start Bot Flow.

Create or select the input flow campaign. In the example, the campaign name is "Collecting E-mail".


Step 3: Add a New Question

Add a "New Question" block after the User Input Flow block.

Enter the question you want the bot to ask. In this example, the question is "What is your Email address?"

Set the reply type to "Email" so BotSailor collects the response as an email address.


Step 4: Add a Thank-You Message

Connect a "Text" block after the question block.

Write a confirmation message. In this example, the message is "Thanks for sharing your Email address."


Step 5: Save the Flow

Review the connection order of all blocks.

Click the Save button in the upper-right corner of the Flow Block to finalize the setup.

Example flow structure: Start Bot Flow → User Input Flow → New Question → Text, with the Save button used to finalize the setup.


Part 3: Test the WhatsApp Data Collection Flow


Step 1: Send the Trigger Keyword

Open WhatsApp and send one of the configured trigger keywords, such as "info".


Step 2: Submit the Requested Information

The bot should ask, "What is your Email address?"

Reply with a valid email address.


Step 3: Confirm the Thank-You Reply

After the email is submitted, the bot should send the confirmation message: "Thanks for sharing your Email address."

Example WhatsApp output showing the email question, the user’s reply, and the thank-you message.


Verification: How to Know It Worked

The setup is working correctly when the subscriber sends the trigger keyword, the WhatsApp bot asks for the email address, the user can submit a valid email reply, and the bot sends the thank-you message after collecting the response.

Use Cases

  • Email capture for newsletters or follow-up campaigns.
  • Lead generation for product or service inquiries.
  • Survey or feedback collection through WhatsApp.
  • Customer onboarding and profile-building flows.
  • Booking or registration forms that begin with basic user information.

Tips for Better Data Collection

  • Ask one question at a time to keep the flow simple.
  • Use clear titles for your input flow campaigns so they are easy to manage.
  • Choose the correct reply type, such as Email, to improve data accuracy.
  • Keep questions short and direct to reduce drop-off.
  • Add a short thank-you message so users know their response has been received.

Common Troubleshooting


The flow does not start when the user sends a message

Check the trigger keywords and the keyword matching type in the Start Bot Flow configuration.

Make sure the flow is saved after any changes.


The bot does not collect the email correctly

Confirm that the New Question block is configured with the "Email" reply type.

Ask the user to submit a valid email format.


The bot does not send the thank-you message

Make sure the Text block is connected correctly after the New Question block.

Recheck the block connections and save the flow again.

Next Steps

  • Add more questions to collect additional subscriber details.
  • Connect the collected data to follow-up sequences or other chatbot flows.
  • Extend the setup later with Google Sheets or webhook integration if needed.


Zihad Jony

Zihad Jony

Team
FAQ

Frequently Asked Questions

Find answers to common questions about this topic

WhatsApp Flows lets businesses create interactive workflows that users can complete directly inside a WhatsApp conversation. In BotSailor, a flow can guide users through structured steps and collect information without sending them to an external page.

A WhatsApp Flow form is an interactive form that runs inside WhatsApp. In BotSailor, it can include fields such as Text Field, Text Area, Checkbox Group, Radio Group, Select, Date Field, and a Submit Button to collect structured information from users.

In BotSailor, go to Dashboard → Chatbot Manager → Select WhatsApp Bot → Data Collection → WhatsApp Flows → Create. Configure the flow information, add the required form fields with the drag-and-drop builder, add a Submit Button, save the form, preview it, and publish it when ready.

Open Data Collection → WhatsApp Flows for the selected WhatsApp bot and click Create. Enter the Flow Name, Flow Category, Screen Unique Name, Form Title, and other settings, then design the form using the available components. Save and preview the flow before publishing it.

Yes. BotSailor provides a visual drag-and-drop builder for creating WhatsApp Flow forms, so the basic form can be built without coding. You can add and arrange supported form components directly from the builder.

Create a WhatsApp Flow and add the fields needed to collect information, such as text fields, checkboxes, radio buttons, dropdowns, or date fields. Users complete the form inside WhatsApp and submit the information using the Submit Button.

You can build a WhatsApp Flow with fields for information such as a user's name, email, phone number, or other lead details. Add the required input fields and a Submit Button, then publish the flow so users can provide their information directly inside WhatsApp.

You can use the WhatsApp Flows builder to create a registration-style form by adding the information fields required for your registration process and a Submit Button. The source supports structured data collection but does not provide a separate registration-specific workflow.

After saving the flow, return to the WhatsApp Flows list, open the three-dot Actions menu, and select Preview Flow. Review how the form looks and works, then make any necessary changes before publishing.

Save the completed form and return to the WhatsApp Flows list. Open the three-dot Actions menu, preview the flow to confirm that it works correctly, and then select Publish when the form is ready to go live.