A Set Variable Logic element enables dynamic variable assignment and manipulation within your flows. It allows you to store, modify and calculate values that can be used throughout the flow.
Key capabilities:
- Basic variable assignment with static values
- Mathematical operations (add, subtract, multiply, divide)
- List/array operations (append, pop, shift)
- Dynamic date handling (current, previous, next dates)
- Random ID generation
- Variable templating support
Common use cases:
- Storing user inputs for later use
- Performing calculations based on previous responses
- Generating unique identifiers
- Date-based logic and scheduling
- List/collection management