FastGPTFastGPT
App Building/Workflow/Nodes

Variable Update

FastGPT Variable Update node overview

Features

  • Can be added multiple times
  • Has external inputs
  • Trigger-based execution
  • Manual configuration

Variable Update node in a Workflow

Function

Choose the node output or global variable to update, and provide its new value. Place the Variable Update node before the downstream nodes that need that value.

  • Update the output value of a specified node

Select a node output to update

Configure the replacement output value

  • Update global variables

Select a global variable to update

Configure the new global variable value

Use Cases

Common scenarios include:

  • Assign a value to a "Custom Variable" type global variable, so the global variable doesn't require user input
  • Update a workflow node's output upstream of the Variable Update node, so downstream nodes use the new value
Edit on GitHub

Last updated