Sinch Conversation API
- Facebook Messenger
You don't have to think about which type of message works with which channel – the Conversation API transcodes the messages automatically to match the target channel. Easy peasy!
In the Channels page on our platform, add a new channel that is activated through the Sinch Conversation API.
We'll then ask for a number of fields that are required to set up this connection. Let's go through each of them, one by one.
After creating an App, you can view the App ID in the App table.
Click on 'New Key' and enter an access key display name:
After confirming, you will be able to copy the client id and client secret to our platform:
Once you've entered all the information in the Chatlayer.ai channel window, click 'Create' and all the channels that are configured in the Sinch Conversation API app will be automatically added to Chatlayer.ai as well.
If multiple channels are connected to your Conversation API app, it can be useful to be able to send a specific flow depending on the channel the bot user is on. To do that, you can use the
The possible values for the channel are:
Furthermore, there are a few other variables that store data coming from the Sinch Conversation API that might be useful to guide your flow:
internal.sinchConversationAPI.metadata: string or key + value pair
You can learn more about how to use variables to guide your flow here: