Getting Started
Get started with WCE.
I assume you have your WhatsApp account and credentials in place
Select your preffered environment from the tab for full details on configuration. The basic steps to configure each of the engine is as below
How WCE works
WCE engine approach is straight forward
- Imagine user starts your chatbot for the first time. The usual
hie
orstart
- The engine checks for the current stage in the session (no conversational template stages found at this stage), and it takes the start template that you configure and set it as the current template.
- It evaluates this current template
hooks
(or call them template guardrails) and processes allPRE-HOOK
s on it. - It processes, renders the template as a proper WhatsApp message and send to user. (a lot more happens under the hood)
- When a user respond to that message via WhatsApp, the engine lookup the current template in the session and processes all
POST-HOOKS
on it. - The engine checks for the
routes
defined on the current template and maps them to the user input and their next logical template stage - If a mapping is found, it sets it as current template and the process repeats from
step 2
The process repeats on and on 🔁