SalesforceWizard

Salesforce Flow scenario-based interview questions

Each scenario here is a small real requirement. Read it, decide how you would build it, then compare with the answer.

0 of 16 reviewed
On this page (8 sections)How to answer scenario questionsInterview questionsMore Flow scenariosCommon Scenario-Answer MistakesRelated Flow Scenarios Interview QuestionsFrequently Asked Questions about Flow Scenarios InterviewsRelated CertificationsRelated Resources

Recently updated: May 2026

Most senior Salesforce interviews skip definitions and jump straight to scenarios. 'Build me a flow that does X' or 'Why would you do this with Flow vs Apex?' These are the scenarios I see come up again and again: written like a teammate would explain them, not like a textbook.

How to answer scenario questions

Always say the trigger type, the entry condition, the path (sync vs async), the elements you'd use, and one edge case (recursion, bulk, fault handling). That structure alone signals senior-level thinking.

01

Auto-create a child Case when a high-value Opportunity is closed lost

Scenario

Use a Record-Triggered Flow on Opportunity, after-save, with entry condition StageName = 'Closed Lost' AND Amount > 100000. Use Create Records to create a Case with Subject 'High-value loss review', OwnerId = Opportunity owner's manager (queried via Get Records on User). Add a fault path to log failures. Interviewer will follow up: how do you avoid duplicates if the opp is reopened and closed again? Answer: track 'Loss_Case_Created__c' boolean on Opportunity.

02

Send a WhatsApp notification when a case priority becomes High

Scenario

Record-Triggered Flow on Case, after-save, ISCHANGED(Priority) AND Priority = 'High', use the Asynchronous path because we're calling an external WhatsApp API. The async path calls an Apex Invocable method that wraps the WhatsApp Business API HttpRequest. Don't try this on the synchronous path: callouts are blocked there.

03

Round-robin assignment of incoming Leads to a sales team

Scenario

Maintain a 'Round_Robin_Counter__c' custom setting. Record-Triggered Flow on Lead, after-save, gets the counter, calculates next user from a Group of sales reps, assigns Lead.OwnerId, increments counter. Use a static Apex action with a try/catch + locking strategy to avoid race conditions when leads come in parallel.

04

Update parent Account field when child Contact is updated

Scenario

Record-Triggered Flow on Contact, after-save, ISCHANGED on the relevant fields. Get the Account record, update the desired field, then Update Records. Watch out for recursion if the Account also has a flow that touches Contacts.

05

Pause a flow until a manager approves

Scenario

Use a standard Approval Process or build it with a Record-Triggered Flow that creates an approval task and a Pause element waiting for an Approval_Status__c field to change. Resume on the change. For modern orgs the new 'Approval Orchestration' is preferred but Pause-based custom approvals still come up in interviews.

06

Bulk-create child Opportunity Line Items from a custom screen

Scenario

Screen Flow with a Data Table for selecting products, Loop builds an OpportunityLineItem collection variable, then a single Create Records outside the loop creates them all. Show a confirmation screen with the count of items created. Don't put Create inside the loop.

07

Trigger an Agentforce action when a high-priority case comes in

Scenario

Record-Triggered Flow on Case, async path, calls an Invocable Action on the Agent. The Agent then summarises the case, suggests a knowledge article, and posts to a Slack channel. This is a very common 2026 interview scenario because of Agentforce's growth.

08

Convert a Lead into a custom Object record

Scenario

Screen Flow with input variable recordId, Get Lead record, Create custom record using mapped fields, Update Lead Status to Converted, then redirect using lightning__FlowAvailableScreensOnly = false to navigate to the new record. Ask the interviewer if they want standard conversion behaviour included or just custom mapping.

09

Auto-close cases inactive for 7 days

Scenario

Schedule-Triggered Flow runs daily, Get Cases where Status != Closed AND LastModifiedDate < N_DAYS_AGO:7. Loop builds a collection setting Status = 'Auto-Closed' and Reason = 'Inactivity'. Single Update outside loop. Add a fault path to log failures and possibly notify the queue.

10

Show different screens to different user profiles in a single flow

Scenario

Add a Decision element after the start that checks $User.Profile.Name. Route to different screens. Cleaner approach: store the profile-to-screen mapping in Custom Metadata so admins can change without editing the flow.

More Flow scenarios

More real-world problems you may be asked to solve with Flow in an interview.

11

Create a renewal opportunity 60 days before a contract ends

Intermediate

Use a record-triggered Flow on Contract with a scheduled path set to 60 days before End Date. In the path, create the renewal opportunity with values copied from the contract and its account.

Add an entry condition so it only runs for activated contracts, and check that a renewal doesn't already exist to avoid duplicates if the contract is edited.

12

Stop users from closing a case without a resolution comment

Beginner

A validation rule is the simplest answer: block saving when Status is Closed and the Resolution field is blank. If the rule depends on related records, use a before-save Flow with a custom error element.

Interviewers like to hear that you chose the simplest tool that works.

13

Send a summary email to each manager listing their team's overdue tasks

Advanced

Use a scheduled Flow that runs daily, gets overdue tasks, groups them by owner's manager in a loop, builds a text collection per manager and sends one email each.

With large volumes, Flow gets complex: a scheduled Apex job or a report subscription with a filter may be a better choice, and saying so shows judgement.

14

Copy the account's address to all its contacts when the address changes

Intermediate

Record-triggered Flow on Account, after save, with an entry condition that the billing address changed (compare $Record with $Record__Prior). Get the contacts, update the mailing fields in a loop by adding them to a collection, then update the collection once.

For accounts with thousands of contacts, use an asynchronous path to keep the user's save fast.

15

Let users submit a refund request with an approval above a set amount

Intermediate

A screen Flow collects the request and creates a Refund record. Then a record-triggered Flow or an approval process sends refunds above the threshold to the manager; smaller ones are auto-approved.

Store the threshold in a custom metadata type, so the business can change it without editing the Flow.

16

Notify the account owner when a high-value opportunity has had no activity for 14 days

Advanced

A scheduled Flow runs daily, finds open opportunities above the amount whose last activity date is more than 14 days ago, and sends a notification or creates a task for the owner.

Use a custom field such as Last Reminder Date to avoid sending the same reminder every day.

Common Scenario-Answer Mistakes

Skipping bulk consideration. Always mention what happens with 200 records.

Forgetting fault paths. Senior candidates always design for failure first.

Choosing Flow when Apex is correct. Aggregations, dynamic SOQL, large-volume processing; these need Apex.

Not asking clarifying questions. Confirm volume, frequency, user impact before answering.

Strengthen your preparation by exploring related question banks in the same topic cluster. Each guide covers a unique angle of flow scenarios interviews: pick the one closest to the role you are targeting.

Frequently Asked Questions about Flow Scenarios Interviews

How many flows can I run on one record save?

Technically unlimited but unpredictable order. Best practice: one before-save and one after-save flow per object, branched with Decisions.

Can I call a flow from another flow?

Yes, via the Subflow element. Only Autolaunched Flows can be subflows.

Are Schedule-Triggered Flows good for bulk processing?

Up to ~250K records yes, but if you need batch chunking and stateful tracking, prefer Batch Apex.

Can I schedule a flow to run every minute?

No, the minimum interval is hourly. For tighter intervals use a Scheduled Apex job that calls an Invocable Flow.

Do scenarios appear in PD1 exam?

Yes. Most modern PD1 questions are scenario-based, asking 'which automation tool would you use?'

Scenario thinking is tested heavily in PD1, PD2, App Builder and Architect exams. See our certification guides.

Chat on WhatsApp