
Set Flow Variable
Effortlessly manage your workflow by setting or updating variables on-the-fly with the Set Flow Variable component. This tool allows you to assign values to nam...
Access and retrieve variables from your flow, enabling dynamic and context-driven automation in your workflows.
Component description
The Get Flow Variable component is designed to retrieve the value of a specific variable from the flow parameters within your AI workflow. This component acts as a utility tool, allowing other components or agents in the workflow to dynamically access and utilize variables that have been set earlier in the process.
This component is particularly useful when building modular and dynamic AI workflows. By enabling access to variables stored in the flow, it allows for more flexible decision-making, conditional logic, and data reuse across different stages of your automation or AI process. For example, you might want to retrieve a user’s previous input, a configuration parameter, or the result of a prior computation.
The component exposes several configuration fields:
Field | Type | Description | Required | Advanced |
---|---|---|---|---|
Input Variable Name (variable_name ) | String | The name of the variable you wish to retrieve from the flow. | No | No |
Tool Name (tool_name ) | String | Internal name for referring to the tool in agent-based workflows. | No | Yes |
Tool Description (tool_description ) | String | Description to help agents understand how to use the tool. | No | Yes |
Verbose (verbose ) | Boolean | Whether to print verbose output for debugging or tracing. | No | Yes |
When the component runs, it produces several possible outputs:
Output Name | Type | Description |
---|---|---|
Variable Value if exists | Message | The value of the requested variable if it exists. |
Variable does not exist | Message | An indicator/message that the variable was missing. |
Tool | Tool | The tool instance itself, for agent workflows. |
By integrating the Get Flow Variable component, your workflows become more adaptable, maintainable, and capable of handling complex scenarios where context and data persistence are crucial.
It allows you to retrieve a specific variable or value previously set in your workflow, so you can use that information in later steps of the flow.
Use this component whenever you need to reference or reuse data created or modified earlier in your workflow, such as user inputs, calculated values, or results from other components.
If the variable is not found, the component will provide a separate output indicating that the variable does not exist, allowing you to handle such cases in your workflow logic.
Yes, retrieving and using variables is crucial for building flexible and context-aware automations, making this component a key part of advanced flow designs.
Start building smarter, more flexible workflows by using the Get Flow Variable component in FlowHunt.
Effortlessly manage your workflow by setting or updating variables on-the-fly with the Set Flow Variable component. This tool allows you to assign values to nam...
The Run Flow component in FlowHunt lets you trigger and execute another workflow within your current flow. Pass inputs, variables, and control how flows interac...
Components are the building blocks of your AI chatbots, workflows, and automations. They can be used to create reusable UI elements, manage state, and handle us...