Collect and Store Customer Information with Ask For (Beta)

Use ask for inside reasoning instructions to collect information from the customer, one field at a time, and store each response in a variable. For every ask for instruction, Agentforce prompts the customer for a single value, saves the response to the specified variable, and then routes back to the same subagent to collect the next value. The agent routes to the same subagent until every ask for variable is populated.

Agentforce validates responses against the variable’s type. For example, if a variable expects an email address and the customer enters something that isn’t a valid email, the agent asks again until it receives a valid value.

When to use: Use ask for when your subagent needs structured input, like an intake form, before it can transition to the next step or run a downstream action.