This is a sample of a chatbot that uses WhatsApp, generated with GeneXus 16 upgrade 6. You can also use GeneXus Beta.
This example is based on Rudi, the chatbot of the GeneXus Meeting, and contains a small set of Rudi's intents. Its purpose is to show you how to integrate your chatbot with WhatsApp.
For the entire RUDI solution, see GeneXus Meeting Open Source Project. If you want more details on how to create a chatbot, take a look at Citizen Service Chatbot sample.
Here we are using Twilio (Twilio Sandbox for WhatsApp allows you to prototype with WhatsApp immediately). So, first, you have to follow some steps in the Twilio console: see GX29 Chatbots Laboratory Initial Setup.
Download the lab instructions from here:
Since GeneXus 16 upgrade 6.
Note that since GeneXus Beta, the webhook is created automatically by the Chatbot Generator, so the URL setup in Twilio should be including the module under which the webhook is created.
Chatbots Channels API