4.6 WhatsApp Channel

This topic describes the systematic instruction to WhatsApp Channel option.

  1. Create a channel of type Webhook.
  2. Map the Skill to this channel & enable the same.

    Figure 4-1 OBDX_WhatsApp Channel



  3. Obtain the NodeJS script from installer from this path: OBDX_Installer/installables/OBDX/BASE/<OBDX patchset version>/chatbot/config/oda-whatsapp/index.js.
    This script resides between WhatsApp Server & ODA.
  4. Complete the configurations as given in Section 3.8: WhatsApp configurations of Alert Configuration Guide.
  5. Note the Webhook URL & secret from above screen & update in NodeJS script.
  6. Update the long term WhatsApp token in MYTOKEN variable in the script.
  7. Run the shared NodeJS script on any public server.
  8. Update the url in below WhatsApp Console. The verify token is the one used in mytoken variable in script. Update the outgoing webhook URL in ODA channel.

    Figure 4-2 WhatsApp Configuration