Getting started
Rules Engine Widgets
Variable
4 min
purpose to create, define, or store a variable that can be reused across other nodes within a workflow this node helps you assign static values, dynamic expressions, or data references, making it easier to manage and reuse information in multiple workflow steps problem statement workflows often require the same piece of data — like a user id, api key, or formatted text — to be reused across multiple nodes without a variable system, you’d need to manually copy values or repeat logic in each node the variable node solves this by allowing you to define reusable variables that can be referenced anywhere within the workflow requirements must define a variable name (unique within the workflow) must assign a value (either static or dynamic) variable names should not include spaces or special characters variables can store plain text, numbers, json, or dynamic expressions use cases store and reuse api tokens or configuration values save user input or ai responses for later steps create conditional variables for branching logic format and prepare values for use in messages or api payloads manage environment like constants (urls, keys, limits, etc ) how to use 1\ add the variable node drag and drop the variable node into your workflow canvas this node will let you define and store a variable accessible to all other nodes in the same workflow 2\ configure the node in the node settings, fill in the following fields field description example variable name the unique name for your variable username value the data or expression to store in this variable john doe or {{formdata name}} node output output variable defined variable is globally available as part of variables object