Create Actions from Named Queries
Create Custom Actions Using Apex InvocableMethod
Provide Global Copy to Action Responses
Cite Agent Responses with Apex
Actions are the building blocks that enable your Agentforce agents to perform tasks and interact with data. You can create custom actions to extend your agent’s capabilities and enhance the user experience with rich interfaces and detailed responses.
| Feature or API | Description | Create Actions | Enhance Actions |
|---|---|---|---|
| Apex REST Actions | Create actions from Apex REST classes | Yes | |
| AuraEnabled Actions | Create actions from Apex controller methods | Yes | |
| Named Query Actions | Create custom SOQL queries and expose them as actions | Yes | |
| Apex Invocable Method Actions | Create custom actions using Apex InvocableMethod | Yes | |
| Lightning Types | Improve UI for complex inputs and outputs | Yes | |
| Global Copy | Enhance copy functionality in custom components | Yes | |
| Apex Citations | Extend custom actions with citations | Yes |
@InvocableMethod annotation. This approach allows you to extend agent capabilities by integrating your custom Apex logic directly into Agentforce.