Salesforce Dictionary - Free Salesforce GlossarySalesforce Dictionary
Compare

Workflow Rule vs Flow

Legacy automation vs modern automation

All comparisons

Workflow Rule

VS

Flow

Workflow Rule

A workflow rule is a Salesforce automation tool that fires one or more actions (field update, email alert, task creation, or outbound message) when a record meets defined criteria on create or edit. It was the platform's first declarative automation framework and ran most no-code business logic from 2007 until Process Builder and Flow took over in the late 2010s. Workflow rules still exist in most established orgs, but Salesforce stopped allowing new ones in late 2022 and is steering all customers toward Flow. A workflow rule has three pieces: an evaluation criterion (when to consider the rule), a rule criterion (which records qualify), and a list of actions to fire. The actions can run immediately when the rule fires, or be time-dependent and queued for the future. Workflow rules are still active and supported on records, but as of Winter '23 you can no longer create new ones in Setup; you can only edit existing rules. Most modernization projects either leave the rules in place or migrate them to Flow as part of broader automation consolidation work.

Flow

Flow is the current Salesforce declarative automation framework, used to build everything from screen-based wizards that guide users through data entry to background processes that fire on record save, scheduled time intervals, or external events. Salesforce introduced Flow in 2012, expanded it through the late 2010s, and made it the strategic automation tool when announcing the deprecation of workflow rules and Process Builder. As of 2026, Flow is the only automation framework where Salesforce accepts net-new declarative builds in production orgs. A flow is a sequence of elements (Decision, Assignment, Get Records, Create Records, Loop, Screen, Subflow, Call Apex, and several dozen others) connected on a visual canvas. Each flow has a trigger that defines when it runs: a record save, a user clicking a button, a scheduled time, an inbound platform event, or another flow. Flows handle bulk DML, governor limits, and complex branching that the older frameworks struggled with, and they expose every Apex-callable surface to declarative authors. Flow is now the centerpiece of any automation roadmap, and proficiency with it is a baseline expectation for Salesforce administrators and developers alike.

Key Differences

DimensionWorkflow RuleFlow
BuilderSimple if/then rule with actionsVisual drag-and-drop Flow Builder
ComplexitySingle criteria, limited actionsMulti-step branching, loops, sub-flows
TriggersRecord changes onlyRecord changes, schedules, screens, platform events
DML OperationsField updates, emails, tasks, outbound messagesFull CRUD on any object
FutureNo longer enhanced by SalesforceActively developed every release

When to use Workflow Rule

Legacy orgs with simple field updates and email alerts already in place.

When to use Flow

All new automation - Salesforce's recommended tool going forward.

Related Comparisons

Other side-by-side breakdowns you might find useful

Process BuilderVSFlow
Retired visual tool vs the strategic automation platform
AutomationAutomation