FlowBotBeta

Global Variables

Define and utilize global variables across your workflows.

Creating and Using Global Variables

You can create global variables that can be used in any of your workflows by referencing them with ${{var_name}}. In the workflow editor, you don't need to type the full variable name; simply starting with $ will trigger a completion window, allowing you to select the desired variable.

Variables offer immense flexibility and can be used in various contexts, such as:

  • Sending personalized messages: e.g., Hello, ${{context.name}}.
  • Constructing API request bodies.

Advanced Variable Features

Our variables support advanced expressions, including indexing (e.g., ${{something.data[0]}}) and operators. For JSON data received from webhooks, you can access nested properties at any depth of recursion (e.g., ${{a.b.c.d}}).

Screenshot demonstrating the creation and usage of global variables in the workflow editor.