Skip to main content

One doc tagged with "variables"

View all tags

Use global variables in agent functions

Global variables hold information the rest of the conversation can use, such as the customer's tier, their language, or the last order they asked about. An agent function can read them to make decisions, and update them so that later steps (other agents, flows or functions) can use what it found.