💬 In plain words: An action is a specific capability you give to an AI agent. In Salesforce Agentforce, there are five types of actions you can build. Choosing the right type for a specific business requirement is a core architectural skill, not just a matter of personal preference. ⚡ 1-Minute Summary: The five action types are: Flow, Apex, Prompt Template, External Service, and MCP . The AI model chooses which action to run by reading the action's description . Therefore, you must write descriptions as explicit selection criteria. If you use Apex, the action should return a decided value and a reasoning string, never just a raw data record. The Module Map: Agent Capabilities MODULE 4 Root: "What can the agent actually DO, and who decides when?" ├─ 4.1 The Five Action Types (You are here) ├─ 4.2 Descriptions as Selection Criteria ├─ 4.3 Return a Decision, Not Data └─ 4.4 Actions vs. Reasoning Actions ...
Agentforce