Predefined Parameters
The system will prepopulate common parameters to help make decisions in the flows. Below is a list of the predefined parameters.
__sys_userIp
IP Address of the customer
__sys_userAgent
User agent of the browser
__sys_userAgentParsed
Parsed representation of the user agent
Example:
{"device": {"brand": "Apple", "family": "Mac", "model": "Mac"}, "os": {"family": "Mac OS X", "major": "10", "minor": "9", "patch": "4", "patch_minor": null}, "string": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.104 Safari/537.36", "user_agent": {"family": "Chrome", "major": "41", "minor": "0", "patch": "2272"}}
__sys_userCountry
Country identified by Cloudflare https://developers.cloudflare.com/support/network/configuring-ip-geolocation/
__sys_conversationId
Conversation Id
__sys_userAction
Last Action taken by the customer
{"type": "action_userInput", "text": button_text}
{"type": "action_userQuickReply", "text": "Order Return"}
__sys_channel
Channel being used for the conversation
__sys_activeIntent
Currently active intent
browser_path
URL Path the chatbot was loaded on
browser_hostname
Browser hostname
browser_referrer
Referrer of the webpage where bot was loaded
browser_isMobile
If the user is on a mobile device
Last updated
Was this helpful?