Reference action types for Agentforce custom actions
Key Takeaway
The reference action type you pick for a custom agent action decides whether the agent follows fixed business rules or uses an LLM to generate content.
When none of the standard agent actions fit a business need, an app builder can create a custom agent action in Agentforce. A custom agent action doesn't hold its own logic. Instead, it is built on top of existing platform functionality, which is called the reference action. Agents can read any data they have access to, but they can't change records without a predefined agent action. A custom agent action is how an app builder lets an agent do real work, such as modifying customer records.
Supported reference action types
You can build a custom agent action on any of these supported reference action types:
- Invocable and REST Apex classes
- Autolaunched flows
- Prompt templates
- External Services
- MuleSoft APIs