Skip to main content

edna.chatCenter as an inbound channel

edna.chatCenter is a sales and customer support platform for digital channels. edna platform is an end-to-end solution to simplify communication with customers through call center chats, messengers and social networks.

Note that the channel was earlier called Threads.

Do the following to use edna.chatCenter as an inbound channel:

  1. Create a channel in JAICP.
  2. Configure the edna.chatCenter service.
  3. Enable the channel.
  4. Test the bot.

Creating a channel in JAICP

Go to JAICP and click Channels → Inbound → Connect channel in the dashboard. Under Others, select edna.chatCenter.

Fill out the following fields:

  • Name — specify a name for the channel or keep the default one.
  • Client URL — specify the edna.chatCenter account in the format.
  • edna.chatCenter token — leave this field empty. You will fill this field on the following step.
  • 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.
  • Deployment — select Automatic (whenever any change made to the project is saved) or Manual (using the Deploy button in the channel description line).
You 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.

Click  → select Edit channel. You are now in the channel settings.

Copy the Webhook URL: you will need it to configure the edna platform.

Configuring the edna.chatCenter service

Sign in to the edna platform as administrator. Click Chatbot in the control panel.

Start creating your new chatbot by specifying the following:

  • Chatbot name — specify the name of your chatbot.
  • URL of the backend of the chatbot processing client messages — paste the Webhook URL you have copied before.
  • URL of the backend of the chatbot initiating a chat with a client — paste the Webhook URL you have copied before.
  • URL of the backend of the chatbot reacting to web form closing (optional) — paste the Webhook URL you have copied before.
  • Timeout of the chatbot response — specify the timeout. When it expires, requests are distributed according to the rule specified in the routing specification.

Click Save.

Click +Token next to the name of the newly created chatbot and copy the token. You will need it to enable the channel.

Click Routing settings in the control panel → add the newly created chatbot as a route.

Connect the channel

Go to JAICP. Click next to the name of the channel → click Edit channel. You are now in the channel settings.

Paste the previously copied +Token to the edna.chatCenter token field → save changes.

Testing a bot

Open the bot dialog window in the connected messenger and send a welcome/activating phrase to it according to your script. Then a dialog with your bot should start.