How to detect on which channel your chatbot is running

When you are building a multi-channel chatbot it is often useful to check on what channel the user is talking: is it Facebook? Is it WhatsApp? Depending on the answer you may choose to follow a flow or another.

To check your user current channel you can use the built-in variable bot_channel in a Variable Switch Action like below:

Know your channels!

Facebook? WhatsApp? Telegram? All Xenioo channels are fully documented with all the default variables that are available to each one!