How to create different channel flows on the platform?
With this article you will learn how to create separate flows for different channels. Such as WhatsApp and Webchat or for two WhatsApp accounts on the platform.
Estimated Reading Time: 03 minutes
We know that in some channels, there is a more restricted use of the platform resources. Therefore, you can create different flows for each channel or make subtle differences.
If a certain feature is not available in one of the channels (for example carousels in WhatsApp) and is used in the flow, the flow may not continue as expected.
How to condition by channel using variables
Use the variable ${chatPlatform} to condition the flow according to the platform you want. Use it to condition responses when configuring intents.
Here is an example:
- In case the channel is WhatsApp, send a text with the link to our home page.
- If it’s not WhatsApp, use a button menu to direct the client to the website .
How to use the variable for two or more WhatsApp or Webchat accounts
You can differentiate more than one WhatsApp account to condition flows using a different variable.
Use the variable ${chatChannelId}. You can use this option to select the specific channel number. For example, see the image below: