Set Chat Variable

Leverage dynamic data in a chat session.

See Chat Variables for details on how variables operate within a chat.

The Set Chat Variable action creates or modifies a variable, which can be useful to other subsequent actions referencing them.


Select a Set Chat Variable action from the tree to open its settings:

  • Variable name — the name of a new or existing variable, including default system variables.

  • Chat script — the Python expression setting the variable's value.

Press Save to confirm edits.

Last updated