Create a WhatsApp flow in 5 minutes or less
Using WhatsApp Customer Engagement, you can create a flow in 5 minutes or less. A flow is a sequence of steps that you can use to interact with or collect your users’ information. For example, you can create a flow to collect a user’s name, email, and phone number. You can also create a flow to perform identity validations such as validating user’s document identification, driver’s license, collect your user’s digital signature, or other available validations in our Validators’ Suite.
Creating flows
In order to use a flow, you need to create a flow template. A flow template is a reusable flow that you can use in one of our integrations such as WhatsApp, Web, iFrame or Webview. You can create a flow template using the Customer Engagement Dashboard.
Create a flow template using Customer Engagement Dashboard
To create a flow template using Customer Engagement Dashboard, follow these steps:
- Once you are in our products’ Dashboard, click the Open button in the WhatsApp Customer Engagement product.
- Click on My flows and then on the Create new flow button.
- Select Blank Template and click on the Continue button.
- In the tab Process add the steps you want to use in your flow considering your use case, using our drag & drop flowbuilder’s steps. For example, you can add a step to collect a user’s name, email, and phone number or steps to perform the validations your user needs to complete. For more information please visit How to Use WhatsApp to Validate Identity guide.
Saving your flow template
Once you have created and configured your flow template, you can:
- Save it as a draft (option save without publishing)
- Save the template and publish it
- Save the template as a copy
- Test the flow template (only if you have saved it)
Configure the flow template
Click the Settings tab in the top bar, and then the General tab in the sidebar. Here you can set the following:
- Chatbot language: Select English, Spanish, or Portuguese.
- Process expiration time: Set the maximum time a user has to complete the flow. This can be set to a minimum of 30 minutes and a maximum of 23 hours and 30 minutes.
- Default failure message: Set a default message to be sent to users when a flow fails. This is deactivated by default; you may activate and customize your message as needed.
- Re-engagement message: If the user does not respond to the last message within a specified time, a reminder message will be sent to inform them that they have a flow in progress. This feature is deactivated by default, but you can activate it and customize both the time interval and the message as needed.
- Initial instructions message: An initial default message with instructions to go back, forward, or restart. This is activated by default. The message can be in English, Spanish, or Portuguese, depending on the language set in the Chatbot language. The following are the default messages per language:
- English (EN): At any time you can send: BACK to return to the previous step. EXIT to abandon the flow. RESTART to start again.
- Spanish (ES): En cualquier momento podrás enviar: ATRAS para volver al paso anterior. SALIR para abandonar el flujo. REINICIARr para iniciar nuevamente.
- Portuguese (PT): A qualquer momento você pode enviar: VOLTAR para voltar à etapa anterior. SAIR para abandonar o fluxo. REINICIAR para começar novamente.
NOTE: The process expiration time has a shelf life of 2 hours by default and its maximum shelf life is 24 hours. The process expiration time is the time that the user has to complete the flow. If the user does not complete the flow within the time limit, the flow will expire and the user will have to start the flow again. The process expiration time can be configured in the Flow Settings tab.
Testing the flow template using an Inbound message
Once you have configured and saved your flow template, you can test it using an inbound message. To do this, follow these steps:
- Click the Test conversation button in the upper right side of the screen.
- Select the Chatbot phone option. This is your WABA line.
- Enter the message you want to set as Inbound message to trigger the chatbot.
- Click the Continue button.
- Click Open conversation to start the flow immediately, or click Copy link and paste it in a new tab to start the flow.
Get Results of process
- You can access the results of your chatbot process (or flow) through Truora’s dashboard or by querying Truora’s API. For more details, refer to the Guide to Get Results.
- To get a process (or WhatsApp flow) results automatically, you must subscribe webhooks. For more information, please visit the WhatsApp Webhooks guide.