WhatsApp Flows - Forms

WhatsApp Flows (Forms) allow you to integrate structured forms within a WhatsApp conversation, making data collection faster and more precise, which reduces errors. This approach minimizes typing mistakes common in traditional chat-based interactions, enhancing the user experience and preventing long, overwhelming flows in the Flow Builder.

You can collect various data types and organize questions into sections for a smoother experience. Responses are stored in variables, enabling integration with other flow blocks, such as Electronic Signature, Open Question, Finish Chat, or any other block that supports variable insertion.

In this guide, you’ll learn how to create a WhatsApp Form and integrate it into a WhatsApp Flow.

Prerequisites

To flawlessly perform the steps of this guide, ensure the following prerequisites are met:

  1. Truora Account: If you don’t already have one, learn how to Set up a Truora account.
  2. Activated WhatsApp line: Follow this guide to acquire and activate WhatsApp lines in Truora.
  3. Know how to create a WhatsApp Flow: Learn how to Create a WhatsApp Flow in Truora.
  4. Familiarize with Variables: Having a basic understanding of Flows Variables. If you haven’t already, check out our Using Variables guide.

Create a new form

  1. Log in to Truora dashboard, and click Open under the Customer Engagement section.

  2. Select the WhatsApp Flows (Forms) tab.

    • If it is your first form, click on + Create form.
    • Otherwise, click + New form in the forms list screen to create a new one.
  3. Select your WABA and click Start. Only the lines associated with this WABA will be able to use the form.

Create form
  1. Enter a name for your Form in the top navigation bar.

  2. Add a Title and a Description for the first section.

  3. Click Save in the navbar to create the form.

form saved

Edit, Add, Duplicate and Delete Questions

Edit existing question

A default question is created when you create a form. Modify its text, and customize its settings using these options at the bottom of the question card:

  • Required Toggle - Defines whether the question is mandatory.
  • Input Type Dropdown – Selects the input type for the response.
input types

The following is a breakdown of the available input types:

Question type Description
Short answer Limits responses to 250 characters.
Long text Limits responses to 1000 characters.
Numeric Accepts only numbers between f-2147483647 and 2147483647.
Multiple choice Displays checkboxes for multiple selections.
Unique selection Displays radio buttons for a single selection.
List Provides a dropdown menu for selection.
Date Uses a date picker.
Email Requires a valid email format.
Phone Requires a valid phone number.

Adding a new question

Click + New question in the question card tools, select a question type, and a new question card will be added.

Add new question

Duplicate a question

To create an identical question, click the Duplicate button. A new question card will be generated with the same content.

Duplicate question

Delete a question

Click the Delete icon to remove a question.

Delete question

Form sections

Sections help you organize questions into separate pages, making forms easier to navigate and preventing long, overwhelming screens. Each section can hold up to 50 questions.

  • To add a new section, click the New section icon in the question card tools.
    • A section thumbnail will appear at the top, displaying “Section N of Total sections” with an “X” to delete it.
add section
  • If you want to delete a section with questions, a confirmation modal will appear, allowing you to select either to delete questions within this section or move them to the previous section.
delete section modal

Preview a form

Click the Preview button in the navbar to see how users will experience the form. The preview mode lets you navigate through sections and view the form’s layout.

In the top menu of the preview bar, you can:

  1. Switch between form sections.
  2. Click the Settings icon to:

    Select Android or iOS preview.
    Toggle between light and dark mode.
WA form preview

Save and publish

Click Publish in the navbar to make your form available for use in WhatsApp Flows. Once published, the form cannot be edited, so ensure it is complete before publishing.

WA form publishing
  • To make changes to a published form, you must create a copy and edit the new version.

If the original form is already used in flows, update those flows with the new version.

Copy a form

To duplicate a published form:

  1. Go to WA Flows (forms) tab.
  2. Find the form you want to copy and click on it.
  3. Click on Create Copy. A new, editable copy of the form will open.
  4. Make the necessary changes, then Save and Publish the new form.
WA form copy




Integrating a Form into a WhatsApp Flow

Follow these steps to integrate a form into a WhatsApp Flow to collect user data.

Adding a Form to the Flow

  1. In the Flow Builder, locate the Forms block under Advanced Blocks and drag it into your flow.
  2. Click the block to open its Properties:
  • Title: Name the block for easy identification.
  • Select Form: From the dropdown list, select the form that should be displayed during the flow execution.
  • +Create form: If you haven’t created a form yet, click this option to open the form creation window.
  • Message: Write the message that will be sent to the user to start the form.
  • Button Text: Define the button label users will click to open the form.
Add Form block

Using Form variables

Below the form selector, you’ll find a list of variables corresponding to each form question:

  • Click the copy icon next to a variable to use it in other blocks.
  • Alternatively, type “@” in any destination block to open the variable selector and reference form responses.
Add Form block

In this guide’s example, form variables were used in the Finish Chat block to confirm the user’s subscription with the details they provided.

forms empty state

Process with form execution

When a user executes the flow, the form will be displayed for the end user to fill it out. If the form has multiple sections, each section will appear on a separate page for easier navigation.

  • Form input validation - Each input includes validation to prevent incorrect data type entry. If the input is invalid, a message will be displayed, and the user will not be able to proceed to the next section or complete the form.
  • Process execution - Once the form is completed, the process will move to the next step of your flow, and the variables will be processed based on the configuration of the subsequent block: For this guide’s example, variables were included in the message sent to the user, to confirm the user’s subscription with the data they entered.

Form Input Validation

Validate Form input

Process Execution

WA Form Flow execution