Add an Action to a Subagent from the Asset Library

Add standard actions to your agent to start handling common business use cases quickly, or create custom actions tailored to your business needs. When you add these actions to an agent, the agent gets its own, independent copy. Changes to template actions within the asset library aren't automatically synced to subagents and actions within your agent. Changes made to one agent's actions don't affect another agent's subagents or actions.

Required Editions

Available in: Lightning Experience
Available in: Enterprise, Performance, Unlimited, and Developer Editions. Required add-on licenses vary by agent type.

To make changes to your agent, it must be in a draft state. If you want to make changes to a committed agent, create a new draft.

  1. From the Agents list in the Agentforce Studio app, open the agent you want to add an action to.
  2. If there are multiple versions of your agent, from the header in Agentforce Builder, select the agent version you want to edit.
  3. In the Explorer panel, open the subagent you want to add the action to, then hover over Actions and click Plus sign icon.
  4. Select Add from Asset Library.
  5. Select one or more actions to add to your agent.
  6. Click Add to agent.

A copy of each of the actions you selected is added to your agent, and you can edit this copy. Review and customize each of your actions, including the underlying flows, prompt templates, or other reference actions. Any changes you make to these actions apply only to this subagent and agent version and don’t affect other subagents, agents, or the actions in the asset library.

When you add an action to a subagent, it's automatically added to your subagent's reasoning actions (Actions Available for Reasoning), so the action is available for your agent to select during reasoning with an LLM. In reasoning actions, you can add logic to your agent action, such as filters and follow-up actions. To run the action deterministically before your agent begins reasoning, reference the action in your subagent's reasoning instructions.