When a chat is initiated, FlowBridge will send variables to your Voiceflow build which can then be used within the project itself. To be able to use these variables, you will need to create them in the variables section of your Voiceflow project. So if you want to get the channel the user is communicating on, you can create a variable called "channel" (without the quotes) in Voiceflow. These are the variables we send:
channel
This can be one of the following: "whatsapp", "facebook", "instagram" or "webchat"This is triggered when someone sends a location message through social platforms. It populated specific variables in Voiceflow AS WELL as sends a “text” based interaction to voiceflow containing a stringified JSON of the information (to allow the flow to continue after sending the location message)
location_latitude
The latitude of the locationlocation_longitude
The longitude of the locationlocation_address
(WhatsApp Only) In some cases WhatsApp will populate with an actual address of the locationlocation_name
(WhatsApp Only) In some cases WhatsApp will populate with an actual name for the location (Like when it’s a business)location_url
(WhatsApp Only) In some cases, WhatsApp will populate with an actual URL for the location (Like when it’s a business that has a website)user_name
This will be the name of the user as per what is set on WhatsAppphone_number
This is the number of the user without the "+" prefixed. This will only be set if the channel is WhatsAppphone_number_id
This is the ID of the phone number of the WhatsApp user needed to do further automation through the WhatsApp Cloud API (For example to trigger things in a n8n flow)user_name
This will be the first name of the telegram accounttelegram_id
- For telegram integration channels, the telegram_id
variable will automatically be populated with the telegram id of the user sending the message