With variables, your agent can store and reuse values that help it with reasoning and
interactions. Variables work differently in Agentforce Builder and the legacy
builder.
Required Editions
- Variables
To improve security and ensure consistent agent behavior, use variables throughout your agent’s reasoning and interactions, such as in filters, instructions, and logical expressions.
- Variables in the Legacy Builder
To improve security and ensure consistent agent behavior, use variables in filters, instructions, and as input for actions. You can use variables to control how your agent uses subagents and actions and to provide more information about a conversation.