Agentic Automation
Flow Powers Agentforce.
An Agentforce agent plans with a language model, so its reasoning is probabilistic. The work it does runs through Salesforce Flow and API-based actions, so the outcome is deterministic. My teams design the surfaces where admins and developers build those actions, and where people can see what an agent did.
Summary
- The agent plans probabilistically. Salesforce Flow and API-based actions execute deterministically: same input, same outcome, every run
- One action model: a flow, an @InvocableMethod, a prompt template or an API becomes an agent action, reused, never rebuilt
- Agentforce passed $1B ARR and delivered 3.8B agentic work units in Q1 FY27, on a runtime running 461B+ Flow executions a month
- Customers run 13 agents each, up from 5; actions per account compound 31% a month
- My teams design the surfaces: Agentforce Builder, Agent Actions, Flow Builder, Testing Center and Flow Logging
monthly Flow executions
Salesforce Engineering: Flow generation across 461B monthly executions, 2026faster flow generation, 10 min to 10 s
Salesforce Engineering: Agentforce for Flow, 99% faster, March 2025Situation
A customer asks the agent to move a delivery. A service rep asks it to escalate a case. Both need it to happen in Salesforce, correctly, every time, and the admin who owns the process needs to see what the agent did.
The customer and the rep
Want the outcome, not the conversation: a delivery moved, a case escalated, first time.
The admin and developer
Have years of flows and Apex encoding how the company works. Rebuilding that for agents was never an option.
Task
Make Flow and API-based actions the agent’s hands. The model decides what to do; the action does it, deterministically. One action model an admin can build, a developer can code, the reasoning engine can choose and a customer can trust.
Action
I organised the work around four people and one contract. The people: the admin, the developer, the agent and the customer. The contract: an action’s inputs, outputs and instructions, the whole interface between a probabilistic planner and a deterministic runtime.
One action, several doors
A flow, an Apex @InvocableMethod, a prompt template or an API becomes an agent action in Setup. The same action runs in Flow and in an agent, so nothing is built twice.
Instructions are the interface
The reasoning engine plans from labels, descriptions and instructions. The surfaces make people define the contract first and write instructions with example utterances.
Probabilistic plan, deterministic outcome
The model chooses the action. Flow or the API executes it: same input, same output, with the platform’s security on every run. Human approval is a flow element, so a step that needs a person waits for one.
Read, watch, repair
Agentforce Builder shows the plan and tests the conversation; Testing Center runs batches; Flow Logging records every run. Fix the flow and the agent picks it up.
The loop closes
Agentforce for Flow drafts a flow from plain language under a constrained DSL, 63+ flow types, and summarises a complex one in seconds. That flow is itself an action.
Result
Flow is the primary execution path for Agentforce actions.
Business
Agentforce passed $1B ARR; 3.8B agentic work units in a quarter, up 111%, on a runtime already at 461B+ Flow executions a month.
Product
One action model across Flow, Apex, prompt templates and APIs. 13 agents per customer, up from 5; actions per account compounding 31% a month; agent creation 53% faster; flow generation 99% faster.
The experience components
Topics, actions, instructions, test conversation.
Salesforce Admins: the new Agentforce Builder ↗An action from a flow, Apex, a prompt template or an API.
Salesforce Admins: custom actions best practices ↗Autolaunched flow, inputs and outputs marked available, instructions for the agent.
Trailhead: add a flow as an agent action ↗One annotation: label, description, CapabilityType. Reusable in Flow and by agents.
Agentforce Developer Guide: Apex InvocableMethod actions ↗Plans from action metadata and topic instructions.
Agentforce Developer Guide: actions ↗Start an agent from a flow or Apex.
Salesforce Developers: invoke agents with Apex and Flow ↗Batches of utterances scored before release.
Salesforce Admins: the new Agentforce Builder ↗Duration, status and error per run. Spring ’26.
Spring ’26 release notes: Flow ↗Draft a flow from plain language; summarise a large one.
Salesforce Engineering: Flow generation across 461B monthly executions ↗Sources
- Salesforce Engineering: Flow generation across 461B monthly executions2026
- Salesforce Engineering: Agentforce for Flow, 99% fasterMarch 2025
- Salesforce Q1 FY27 results27 May 2026
- Salesforce Agentic Enterprise Index2026
- Agentforce Developer Guide: actions
- Agentforce Developer Guide: Apex InvocableMethod actions
- Trailhead: add a flow as an agent action
- Salesforce Admins: custom actions best practices2024
- Salesforce Developers: invoke agents with Apex and FlowApril 2025
- Salesforce Admins: the new Agentforce Builder2026
- Spring ’26 release notes: Flow2026