Variables rev2
You can reuse data and system variables for managing variables. Managing variables help developers to reuse data across their bot architecture without hardcoding it in code actions. Additionally, it ensures that text variants ingested into Helix remain stable, reducing the risk of errors caused by accidental edits. These enhancements provide a more seamless and reliable experience when working with variables in bots.
The below shows variable settings under Configurations > Variables:

Improved visual appearance: Reduces clutter by distinctly separating variable types.
Separated entities: Variables are displayed as distinct entities, allowing future enhancements like project-based selection.
Resizable text area: Text variables now auto-resize, making it easier to view and edit long entries.
New data variable type: Supports JSON input, enabling users to store and manipulate structured data without creating multiple individual variables.
Following is an example of how you can now use them in your flow:

When you select EDIT for the TRIGGER ACTION, the code action opens and you can add the data variables you want. The below screenshot shows the “var_vehicle” variable used in the code action.
Here, the variable is used to create a carousel. You can view the values in the array from the LOGS tab on the left pane.

The following is a screenshot showing how the carousel renders during user-bot interaction. The code action pulls in all vehicle data to create the carousel in real time.

Updated 3 days ago