Automation
Flow types, record-triggered flow design, Flow best practices, choosing Flow or Apex, classic and Flow approval processes, Flow Orchestration, and migrating Workflow Rules and Process Builder.
Start here: Automation
Plain-language orientation before the detail.
What this track covers
Automation is where most Salesforce orgs either shine or collapse under their own weight. This track covers Flow types, record-triggered flow design, Flow best practices, choosing Flow or Apex, approval processes (classic and Flow approval processes), Flow Orchestration, and migrating legacy Workflow Rules and Process Builder (end of support since 31 December 2025).
An analogy: a well-run factory
| Factory | Salesforce automation |
|---|---|
| Quality check before a part leaves the station | Before-save flows: fix the record before it's saved |
| Notices sent to other departments after a step | After-save flows: related records, emails, actions |
| Timers that trigger follow-ups | Scheduled paths |
| Night-shift batch work | Schedule-triggered flows or Batch Apex |
| A foreman signing off before goods ship | Approval processes |
| A production manager coordinating several teams | Flow Orchestration |
| Specialist engineers for complex machinery | Apex called from Flow as invocable actions |
If you remember one thing: pick the lightest automation that does the job, bulk-safe, with one clear owner per responsibility.
Same idea, explained to four audiences
| Audience | Say it like this |
|---|---|
| Business sponsor | "Routine steps happen automatically and consistently, approvals are traceable, and changes to rules are quick." |
| Admin | "Before-save flows for field defaults, focused after-save flows with fault paths, scheduled paths for reminders, and Flow approval processes for new approvals." |
| Developer | "Heavy logic and callouts live in bulk-safe invocable Apex; flows orchestrate; one trigger framework per object." |
| CTA review board | "An ownership model per object, consolidated automation with explicit order, performance budgets, testing and CI/CD, and a migration roadmap for legacy automation." |
How to study this track
- Know every Flow type and before vs after save cold.
- Be able to fix the Get Records in a loop anti-pattern.
- Explain classic vs Flow approval processes and when to choose each.
- Prepare a legacy automation migration plan and a Flow vs Apex framework.
Misconceptions interviewers like to test
- "Flow is always better than Apex because it's declarative." Complexity and volume can make Apex the better choice.
- "Classic approval processes have been retired." They're still supported; Flow approval processes are the newer option.
- "The Migrate to Flow tool finishes the job." It converts one-to-one; consolidation and testing are still needed.
Concept map
How the building blocks fit together. Select a concept to open it.
Lightning Flow4
Approvals and orchestration3
Concepts
Grouped by theme.
Lightning Flow
Screen flows, record-triggered flows (before-save, after-save, scheduled and asynchronous paths), schedule-triggered, autolaunched, platform-event-triggered flows and orchestrations.
Entry conditions, when to run, before vs after save, how many flows per object, trigger order, recursion, fault paths, and coexistence with Apex triggers.
Avoiding queries and DML in loops, collection processing, subflows and invocable Apex, naming and documentation, debug and Flow tests, versioning and deployment.
Choosing declarative or programmatic automation by complexity, volume, performance, error handling, testability, skills and ownership, and combining them through invocable actions.
Approvals and orchestration
How classic approval processes work (entry criteria, steps, approvers, actions, record locking, recall, delegation), what Flow approval processes add since Spring '25, and how to choose and migrate.
Coordinating long-running, multi-user processes with stages, interactive and background steps, work items, and how orchestration relates to approvals and case management.
End of support for Workflow Rules and Process Builder, the Migrate to Flow tool and its limits, consolidation instead of one-to-one conversion, testing and cut-over.