I want to know if I can differentiate if the conversation is coming from telegram or from webchat and store that information in tables for data anaylisis.
f
fresh-fireman-491
01/08/2024, 5:03 PM
I am pretty sure that you can do this although I haven't tried with telegram.
This shows you the integration that the bot is being used on: event.integration
fresh-fireman-491
01/08/2024, 5:05 PM
Don't mind this, forgot you wanted it stored in a table 🙂
There are some different options from here like using an expression card.
event.integration === "webchat"
event.integration === "telegram" (I am not sure about the integration name here)
fresh-fireman-491
01/08/2024, 5:05 PM
To store it in a table you could use it in an execute code card instead