edna WhatsApp 2.0 as an inbound channel
With edna, you can:
- automate processes;
- create an ecosystem for dialog between your company and customers;
- integrate various channels, like WhatsApp, into your ecosystem.
To use edna WhatsApp 2.0 as an inbound channel in JAICP:
Creating a channel
-
Go to JAICP and select Channels → Inbound → Connect channel in the dashboard. Select edna WhatsApp 2.0 in the Messengers and social networks section.
-
Fill out the fields:
-
Name — specify a name for the channel or keep the default one.
-
API key — paste the edna API key:
- Log in to the edna platform as an administrator.
- On the sidebar, go to the Integration section → Testing.
- Copy your API key.
-
Cascade — this field will become available when you paste your API key. Select a cascade.
-
Branch — specify the project branch you want to deploy into the channel (
master
by default). You can also select a Git tag or enter a specific commit hash. -
Agent — select a customer engagement platform or leave it blank.
-
Deployment — select Automatic (whenever any change made to the project is saved) or Manual (using the Deploy button in the channel description line).
cautionYou have to deploy a script before starting the bot. At this stage, the system builds the bot, checks the script syntax, and performs tests.
-
-
Click Create.
-
Under the name of the created channel, select Get webhook. It will be copied to the clipboard. You will need it later when you set up the edna service.
Setting up the edna service
-
Log in to the edna platform as an administrator. On the sidebar, go to the Integration section → Testing.
-
Paste your webhook in the Incoming messages are sent to field.
-
Specify the phone numbers that you will use to test the functionality of the chatbot.
Testing the bot
To test the work of the chatbot, go to the Integration section on the sidebar → Testing and follow edna instructions.
Deploying the bot
To deploy your bot, create a channel on the edna side:
-
On the sidebar, go to the Settings section → Channels.
-
Select Add channel + → WhatsApp.
-
Fill in the form to register this channel.