Endpoints

Description

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

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:
- Webchat
- Amazon Alexa
- AudioCodes
- Dialogflow
- Facebook Messenger
- Google Actions
- Intercom
- LINE Messenger
- Microsoft Bot Framework
- Microsoft Teams
- RingCentral Engage
- Slack
- Sunshine Conversations
- Twilio
- Unity 3D
- Userlike
- Webhook
- Socket
- REST
Creation

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

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 Name | Channel Value (ci.channel) |
---|---|
Webchat | For 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. |
Alexa | alexa |
Dialogflow | dialogflow |
Google Actions | |
Intercom | intercom |
LINE Messenger | line |
Facebook Messenger | |
Microsoft Bot Framework | microsoftBotFramework |
Microsoft Teams | microsoftTeams |
Slack | slack |
Smooch | smooch |
Twilio | twilio |
TwilioSMS | twilio-sms |
Userlike | userlike |
Webhook | webhook |
Socket | socket |
REST | rest |
Webchat LEGACY | webchat |
Interaction Panel | adminconsole |
Updated almost 3 years ago