Endpoints

52

Description

In Cognigy.AI, Endpoints connect Channels (e.g. Webchat, Facebook, Teams or Twilio) to a Cognigy Flow.

797

The Endpoint receives the message from the channel and formats it in a way that Cognigy.AI can understand it. After NLU and the Flow have been processed, Flow Outputs go back to the Endpoint, which returns a correctly formatted message into the Channel.

The following channels are available:

Creation

You can create an Endpoint within a project by clicking the button in the resource list with the plus sign (see Figure 2).

152

Figure 2: Button for creating an Endpoint

Configuration

The configuration page of an Endpoint has at least two sections regardless of the selected type:

  • General Settings
  • Data Management

You can get detailed descriptions about the General Settings and Data Management by visiting the following pages:

Accessing the Channel in a Flow

If you want to know which channel the user is connecting through, then you can access ci.channel in your Flow. The value of ci.channel will depend on the channel the user is currently using and can be one of the following:

Channel NameChannel Value (ci.channel)
WebchatFor the Webchat, the channel can either be:

- admin-webchat: This is the value when using the demo webchat page

- webchat-client: This is the default value when embedding the webchat on a page

When embedding the Webchat on a website, you can override the default value of "webchat-client" with any value you choose, to e.g. differentiate between webchats on different websites.
Alexaalexa
Dialogflowdialogflow
Google Actionsgoogle
Intercomintercom
LINE Messengerline
Facebook Messengerfacebook
Microsoft Bot FrameworkmicrosoftBotFramework
Microsoft TeamsmicrosoftTeams
Slackslack
Smoochsmooch
Twiliotwilio
TwilioSMStwilio-sms
Userlikeuserlike
Webhookwebhook
Socketsocket
RESTrest
Webchat LEGACYwebchat
Interaction Paneladminconsole

What’s Next