A Flow in Salesforce is a tool for building automated business processes using clicks instead of code. Flows can collect data from users, update records, call Apex, send emails, and integrate with external systems. It is Salesforce’s only supported declarative automation tool, after Salesforce fully retired Workflow Rules and Process Builder on December 31, 2025.
PRACTICAL EXAMPLE
A support team wants to automatically assign a priority level to new Cases based on the customer’s account tier and the case subject. An admin builds a Record-Triggered Flow on the Case object that checks the related Account’s tier and the Case Subject, sets the Priority field accordingly, and triggers an Email Alert to notify the members of the assigned queue. This runs automatically every time a Case is created, with no code required.
Quick Facts
-
Flow types: Screen Flow (interactive, guides a user through steps), Record-Triggered Flow (runs automatically on record create/update/delete), Schedule-Triggered Flow (runs on a schedule), Platform Event-Triggered Flow, and Autolaunched Flow.
-
Flow sits between simple and full-code automation: Quick Actions support forms but no conditional logic. Flow supports both forms and conditional logic without writing code. Lightning Components support both but require custom code. This makes Flow the default choice when a process needs decision logic but a no-code solution is preferred.
-
Flow Builder is the visual, drag-and-drop interface used to build Flows, replacing the older Cloud Flow Designer.
-
Flows can call Apex (Invocable Methods): making them extensible beyond native declarative capabilities.
-
Process Builder is a legacy automation tool: Salesforce ended support and updates for Process Builder on December 31, 2025 and recommends using Flow Builder for new automations and migrating existing Process Builder automations to Flow where possible. Existing processes can continue to run, and Salesforce still documents a narrow use case for Process Builder: evaluating a record multiple times within a single save operation.
-
Flows have execution order relative to other automation (validation rules, other flows, Apex triggers), which matters when multiple automations touch the same record.
-
Flow interviews (a running instance of a Flow) can pause and resume, particularly relevant for Screen Flows waiting on user input.
Note
Because Flow can trigger additional automation, and those automations can trigger other flows, complex orgs with multiple flows on the same object can make automation behavior harder to understand and troubleshoot. Depending on how the flows update records, they can also contribute to recursive updates or cause a transaction to approach governor limits. Planning Flow execution order and consolidating related logic where practical can help reduce these risks.
Salesforce provides Flow Trigger Explorer and Trigger Order to help administrators view and control the order of before-save and after-save record-triggered flows on the same object.
FAQ
How does Flow Builder relate to Salesforce Flow?
Salesforce Flow is the broader automation platform. It includes tools such as Flow Builder and Flow Orchestration, along with other Flow-related capabilities. Flow Builder is the tool you use to create and manage individual flows. In simple terms, Salesforce Flow is the broader platform, while Flow Builder is the tool you use to build flows.
What's the difference between a Flow and a Workflow Rule?
Workflow Rules are a legacy automation tool that can perform actions such as field updates, email alerts, tasks, and outbound messages when specified conditions are met. Flow can handle more complex automation. You can use it to apply conditional logic, create or update multiple records, use loops and subflows, collect information from users, and call Apex.
Salesforce ended support and updates for Workflow Rules on December 31, 2025. Existing Workflow Rules can continue to run, but Salesforce recommends using Flow Builder for new automation and migrating eligible Workflow Rules to Flow.
How many types of Flows are there in Salesforce?
Five main types: Screen Flow, Record-Triggered Flow, Schedule-Triggered Flow, Platform Event-Triggered Flow, and Autolaunched Flow. Each is suited to a different automation scenario, from interactive user forms to background record automation.