Skip to main content
Automation

What is Record-Triggered Flow in Salesforce?

Updated · By the Clientell AI team · How we write

A record-triggered flow is a Salesforce flow that starts on its own when someone creates, updates or deletes a record. It runs either before the record is saved to the database or after. Before-save flows update the triggering record quickly. After-save flows can also create other records, send email and call outside systems.

Key facts

What starts it
A record is created, updated or deleted (you choose the object and conditions) (Salesforce Help)
Two timings
Before-save (fast updates to the same record) and after-save (everything else)
Speed
A before-save flow can update a record about 10 times faster than a record-change process (Trailhead)
Run order
Set a trigger order value from 1 to 2,000 to sequence flows on one object (Salesforce Help)
Replaces
Workflow Rules and Process Builder, which ended support on 31 December 2025 (Salesforce Help)
External callouts
Need an asynchronous path (release note)

Clientell AI, the AI Salesforce admin, builds and fixes Record-Triggered Flow automation from a plain-English request. See the AI flow builder

Try it in Clientell AI

“Find every Record-Triggered Flow in my org that touches the Opportunity object, list what each one does, and flag any that conflict.”

Clientell AI reads your org first. Platform deployments include rollback. How security works.

Start the 14-day free trial, no card

What is a record-triggered flow in Salesforce?

A record-triggered flow runs automatically when someone creates, updates or deletes a record. Salesforce describes these flows as helpful assistants that work behind the scenes (Salesforce Help).

You build one in Flow Builder. In the Start element you choose the object, when the flow runs, and the conditions a record must meet. A flow with no matching condition does not run, which keeps it fast.

A schedule-triggered flow, by comparison, starts at a set time for a batch of records. Salesforce recommends flows in place of Workflow Rules and Process Builder. See Process Builder.

What is the difference between before-save and after-save?

This is the first choice you make for create and update triggers. Use a before-save flow to update or validate the triggering record before it is saved. Use an after-save flow for anything else. A flow set to run on delete runs before the record is deleted, so it can still read the record. There is no after-delete flow (release note).

Before-saveAfter-save
RunsBefore Salesforce saves the record to the databaseAfter the record is saved and has an ID
Update the triggering recordYes, and it is the best choiceYes, but it needs an extra save in the background
Validate and block the saveYes, show an error before bad data is savedNo. The record is already saved.
Create or update other recordsNo, only the triggering recordYes, any records
Send email or call outside systemsNoYes
Use the record IDNot available yetAvailable

How do you create a record-triggered flow?

You need the Manage Flow user permission. These steps follow a Salesforce Help example (Salesforce Help). Try them on Case.Status, for example to set Case.Priority to High when a Case is created with Origin equal to Phone.

  • Setup > Flows > New Flow.
  • Select Start From Scratch and click Next.
  • Select Record-Triggered Flow and click Create.
  • Choose the object (Case), then Trigger the Flow When: a record is created.
  • Set Condition Requirements, for example All Conditions Are Met (AND), with Origin equal to Phone.
  • Choose Fast Field Updates for before-save, or Actions and Related Records for after-save.
  • Add an Assignment of Case.Priority = High, click Save, enter a label and an API name, test it, then activate.
  • Result: every new Phone case is saved with Priority High, with no extra save.

In what order do record-triggered flows run?

If many flows run on the same object, order matters. You can assign a trigger order value from 1 to 2,000 to flows of the same timing on one object (Salesforce Help). Flow Trigger Explorer lists every flow on an object and lets you reorder them.

Workflow rules and Process Builder processes still run in the same save, so old and new automation can overlap during a migration (Apex Developer Guide).

When a flow calls an outside system, it must use an asynchronous path. In Flow Builder, enable Add Asynchronous Path on the Start node (release note).

What are common record-triggered flow mistakes?

Most bugs come from entry conditions, timing and order. Each has a fix.

  • Loose entry conditions, so the flow runs on every save. Fix: add conditions and run only when a field changes.
  • Using after-save to update the same record. Fix: use before-save and Fast Field Updates.
  • Calling an outside system on the immediate path. Fix: add an asynchronous path.
  • Several flows on one object with no order. Fix: set trigger order or reorder them in Flow Trigger Explorer.
  • Not planning for bulk loads. Fix: keep queries and DML outside loops so a data load does not hit limits.

FAQ: Record-Triggered Flow in Salesforce

What is a record-triggered flow in Salesforce?

A flow that starts automatically when a record is created, updated or deleted. You choose the object, the timing and the conditions in Flow Builder.

What is the difference between before-save and after-save flows?

A before-save flow runs before the record is saved and can only update or validate the triggering record. An after-save flow runs after the save and can create or update other records, send email and call outside systems.

How do I create a record-triggered flow in Salesforce?

In Setup, open Flows, click New Flow, choose Start From Scratch, select Record-Triggered Flow, then set the object, trigger and conditions and build your elements.

Is a record-triggered flow faster than Process Builder?

A before-save record-triggered flow can update a record about 10 times faster than a record-change process (Trailhead).

Can I control the order of record-triggered flows?

Yes. Give each flow a trigger order value from 1 to 2,000, or reorder them in Flow Trigger Explorer (Salesforce Help).

Can a record-triggered flow run when a record is deleted?

Yes. A flow set to run on delete runs before the record is deleted, so it can still read the record. There is no after-delete flow (release note).

Getting Started

Try this on your own org

Start the 14-day free trial, no card. Clientell AI asks before it changes anything in production.

14-day free trial  ·  No credit card required

SOC 2
HIPAA
ISO 27001
Salesforce Partner