Variables are dynamic values that can be derived from user input or environmental data, and they play a crucial role in personalizing and optimizing user experiences in your onboarding.
Variables are useful for managing various types of data, such as:
These variables can be utilized both within the onboarding and in external processes.
In most cases, you can call a variable by placing its name between double braces, like this: {{variable_name}}.
OctoFlow provides two reserved variables for user attribution: {{user.id}} and {{user.session_id}}.
{{user.id}}: Contains a unique user ID, allowing identification of the same user across different onboardings.{{user.session_id}}: Stores a unique session ID to identify each session separately.These parameters are always available and are automatically populated each time a user enters your onboarding.
The Date Picker, Input, and Options elements each have their own variables. You can use them by placing the element's ID between double braces, like this: {{elementID}} or {{inputs.elementID}}.
The date variable uses the chosen format:
DD-MM-YYYY for European formats
MM-DD-YYYY for American formats
