How to capture and use the first user's interaction (input) in Whatsapp

In some cases, we don't want to ask something when we start a bot. We might need to start right away depending on what the user is texting. To do so, here are the steps:

  1. Delete the Welcome Message that is placed by default

  1. Place a Set Variable as the first block

  1. The first block where it starts the bot should be a Set Variable, where we are going to set the variable @init with the value of ${body}, as is in the picture below

  1. Then we can use directly the variable @init in the next block, for example a Keyword Jump block, to redirect the user according to our needs, or use a webhook


How did we do?


Powered by HelpDocs

Powered by HelpDocs