Skip to content
Salesforce

The 12 Days of Agentforce Day 3: Three Action Types - What Agents Can Do

Flows, Apex, External Services & MuleSoft—Building Agents That Take Action

The 12 Days of Agentforce Day 3: Three Action Types - What Agents Can Do
The 12 Days of Agentforce Day 3: Three Action Types - What Agents Can Do

On the third day of Agentforce, Salesforce gave to me...three action types, two data sources, and a chatbot in a web tree!

 

Sarah, a financial advisor at a boutique wealth management firm, starts her Monday morning with 47 unread emails. Three are urgent client questions about portfolio performance during last week's market volatility. She needs to check Salesforce for account details, consult with her operations team via Slack about transactions in progress, review portfolio positions in her financial planning software, and craft personalized responses—all while preparing for a 9:00 AM client meeting.

From Conversation to Autonomous Action

An AI agent that only talks about data isn't much better than a search engine. The transformative power of Agentforce comes from Actions—the tools that let agents DO things.

Market Insight: Gartner predicts that by 2025, AI agents capable of taking autonomous actions will reduce customer service operational costs by 30%.
Source: Gartner Research


Category 1: Declarative and Low-Code Actions

Salesforce Flows

Flows are your automation powerhouse for multi-step processes, record operations, and business logic—all without custom code.

Flow Type Agentforce Use
Autolaunched Flow ✅ Primary choice for agent actions
Screen Flow ❌ Not compatible with agents
Record-Triggered Flow ✅ For background automation

Prompt Templates

Prompt Templates leverage generative AI for summarization, drafting, and analysis—grounded with CRM data.


Category 2: Pro-Code and Integration Actions

Apex Actions

Custom Apex logic via @InvocableMethod for complex calculations and integrations beyond Flow capabilities.

External Services

Connect to REST APIs via OpenAPI specifications—no custom code required.

Examples: Address validation, credit checks, inventory sync.


Category 3: Enterprise Integration Actions

MuleSoft APIs

MuleSoft connects to legacy systems, on-premise databases, and diverse application landscapes with enterprise-grade reliability.


The Real Magic: Action Combination

Customer says: "I need to return a defective product and get a replacement shipped to a different address."

Your agent executes:

  1. Named Query (SOQL): Retrieve order details
  2. Salesforce Flow: Initiate return, create RMA
  3. External Service: Validate new address
  4. Apex Action: Calculate shipping priority
  5. Flow: Create replacement order
  6. Prompt Template: Generate confirmation

Six actions, one seamless conversation—under 30 seconds.


Best Practices for Agentforce Actions

  • Single Responsibility: Each action does ONE thing well
  • Clear Naming: Use verb-noun patterns (Get_Order_Status)
  • Error Handling: Plan for failures gracefully
  • Performance: Optimize queries, minimize external calls

Key Takeaways: Day 3

✅ Actions transform agents from conversational to autonomous
✅ Flows provide powerful no-code automation capabilities
✅ Apex enables custom logic for complex requirements
✅ External Services connect to third-party APIs without code
✅ MuleSoft brings enterprise-grade integration
✅ Combining multiple action types creates seamless experiences


Series Navigation: Day 3 of 12 | ⬅️ Day 2: Data Integration | ➡️ Day 4: Coming Tomorrow

Tomorrow: Four channels to meet customers wherever they are!

 

 


About the Author

David Cockrum  founded Vantage Point after serving as Chief Operating Officer in the financial services industry. His unique blend of operational leadership and technology expertise has enabled Vantage Point's distinctive business-process-first implementation methodology, delivering successful transformations for 150+ financial services firms across 400+ engagements with a 4.71/5.0 client satisfaction rating and 95%+ client retention rate.


David Cockrum

David Cockrum

David Cockrum is the founder and CEO of Vantage Point, a specialized Salesforce consultancy exclusively serving financial services organizations. As a former Chief Operating Officer in the financial services industry with over 13 years as a Salesforce user, David recognized the unique technology challenges facing banks, wealth management firms, insurers, and fintech companies—and created Vantage Point to bridge the gap between powerful CRM platforms and industry-specific needs. Under David’s leadership, Vantage Point has achieved over 150 clients, 400+ completed engagements, a 4.71/5 client satisfaction rating, and 95% client retention. His commitment to Ownership Mentality, Collaborative Partnership, Tenacious Execution, and Humble Confidence drives the company’s high-touch, results-oriented approach, delivering measurable improvements in operational efficiency, compliance, and client relationships. David’s previous experience includes founder and CEO of Cockrum Consulting, LLC, and consulting roles at Hitachi Consulting. He holds a B.B.A. from Southern Methodist University’s Cox School of Business.

Elements Image

Subscribe to our Blog

Get the latest articles and exclusive content delivered straight to your inbox. Join our community today—simply enter your email below!

Latest Articles

Accelerating Claims to Cash

Accelerating Claims to Cash

Centro for Insurance and Fintech Innovation

Data Sovereignty in AI: Why Your Financial Services Firm Cannot Afford to Compromise

Data Sovereignty in AI: Why Your Financial Services Firm Cannot Afford to Compromise

Data Sovereignty in AI: A Financial Services Compliance Guide

The 12 Days of Agentforce Day 3: Three Action Types - What Agents Can Do

The 12 Days of Agentforce Day 3: Three Action Types - What Agents Can Do

Flows, Apex, External Services & MuleSoft—Building Agents That Take Action