AUTO-Q01โ˜… Must-prepareConceptual IntermediateAutomation#automation

Before-save vs after-save record-triggered flows: what's the difference and when do you use each?

Your confidence:Not rated

Model answer

Before-saveAfter-save
Runs before the record is writtenRuns after the record is saved (before commit)
Can only update the triggering record's fieldsCan create or update related records, send emails, call actions, subflows
No extra DML; very fastUpdating the triggering record causes another save cycle
No scheduled or async pathsScheduled paths and asynchronous path available

Use before-save for defaults, derived fields and normalisation on the same record. Use after-save for anything touching other records or the outside world, with async paths for callouts.

โœ” Key points to hit

โœ– Red-flag answers

  • Using after-save to update the same record's fields
  • Thinking before-save can send emails

โ†ช Follow-ups

Where do before-save flows run in the order of execution?

Before before-triggers, after the system's initial validation. After-save flows run after after-triggers and other automation such as assignment rules (simplified).

Can a before-save flow read the old value?

Yes, through $Record__Prior, which also lets you set entry conditions on what changed.