Skip to main content
New tool CRON Expression Builder — preview next run times before you schedule Apex. Open the builder →
A developer using the Salesforce Flow Builder to configure a web service callout for integrations
Flow

Salesforce Flow Interview Questions for Web Services

Recruiters have moved past loops and variables. Here is how web service integrations work in Flow, and what to say when an interviewer asks you to explain one.

The short answer

This guide covers what interviewers ask about web services and integrations in Salesforce Flow developer interviews: inbound and outbound patterns, External Services, authentication through Named Credentials, and staying inside the callout governor limits.

Key takeaways Upload an OpenAPI or Swagger schema through External Services and the endpoints show up as standard actions inside Flow Builder. Store endpoint URLs and authentication details in a Named Credential in Setup instead of hardcoding them in Flow or Apex. Push high-volume callout work to Queueable Apex or Platform Events to stay under the 100-callout limit for a single synchronous transaction. Expose a custom inbound REST service in Apex with the @RestResource annotation and handle the incoming payload with @HttpPost. Implement HttpCalloutMock in your unit tests to fake the external HTTP response, so the tests pass without a real callout and the deployment goes through.

If you're getting ready for a round of Salesforce Flow interview questions, you've probably noticed that recruiters have moved past loops and variables. They want to know how you connect Salesforce to the rest of the world using web services.

I've watched plenty of developers sweat when an interviewer asks how they'd handle a real-time data sync with an external ERP. It doesn't have to be that complicated. Web service flow is a fancy way of describing how data moves in and out of your org, and whether it's an Apex callout or a Flow calling an External Service, the logic stays the same. Here's what you actually need to know.

Common Salesforce Flow interview questions about web services

When the questions turn to integrations, the interviewer is usually after your experience with "Inbound" versus "Outbound" calls. Is the external system knocking on our door, or are we knocking on theirs?

  • Inbound. An external system (like a website or a shipping provider) sends data to Salesforce. We usually handle this with a REST API or a SOAP service.
  • Outbound. Salesforce sends data out. This is where you'll use Apex callouts or the newer "External Services" feature in Flow.

I remember a project where we had to sync order status from a legacy warehouse system. We tried using Outbound Messaging first, but it was too limited. We ended up building a custom REST endpoint because we needed to send back a specific success code. That's the kind of detail interviewers love to hear.

Salesforce Flow Builder with a flow built around an external web service call.

A Flow Builder canvas wired up for an external web service integration.

Salesforce Flow interview questions about External Services

A popular question lately is how to integrate without writing a single line of Apex. The answer is usually External Services. You take a Swagger/OpenAPI schema, upload it, and your external API shows up as a regular action in Flow Builder.

You still need to understand the protocols underneath, though. If you're asked about Salesforce SOAP vs REST, REST is the default for almost everything modern. It's lightweight and uses JSON. SOAP is the "old school" way: strict, XML, and mostly found in older enterprise systems.

The inbound flow: REST and SOAP

If you're building an inbound REST service, you'll use the @RestResource annotation. It looks something like this:

@RestResource(urlMapping='/v1/LeadGenerator/*')
global with sharing class LeadApi {
    @HttpPost
    global static String createLead(String email, String lastName) {
        Lead l = new Lead(Email = email, LastName = lastName, Company = 'Unknown');
        insert l;
        return 'Success: ' + l.Id;
    }
}

This allows an external system to "POST" data directly into your custom logic. It's fast, but you have to be careful with security. Always mention OAuth 2.0 or Named Credentials when you're talking about authentication. Honestly, if you don't mention Named Credentials, it's a red flag for most senior roles.

Handling limits and errors

Governor limits come up in almost every one of these interviews. You can't fire off a million callouts and hope for the best. Salesforce limits you to 100 callouts in a single transaction, and a big batch of records hits that wall fast.

So how do you fix it? You go asynchronous. I usually recommend Queueable Apex or Platform Events for the heavy lifting, which keeps the UI snappy for the user while the integration runs in the background. If you're working with large datasets, look into Salesforce Flow bulkification too, so your automation doesn't choke when things scale up.

Always use HttpCalloutMock in your unit tests. You can't make real callouts during a test run, and I've seen plenty of developers fail a deployment because they forgot to write a proper mock class.

Why Named Credentials matter

If I'm interviewing someone and they don't know what a Named Credential is, I start to worry. It holds the endpoint URL and the authentication (passwords, tokens) in one place. No hardcoded URLs in your Apex or Flow, and when the password changes you update it in Setup instead of in your code. It's just cleaner.

Key takeaways for your interview

  • Understand the direction. Know whether you're talking about Inbound (RestResource) or Outbound (HttpRequest).
  • Mention security. Always talk about OAuth and Named Credentials.
  • Respect the limits. Remember the 100-callout limit and the 120-second timeout.
  • Think async. Use asynchronous Apex to handle long-running processes.
  • Mock your tests. You must use a mock class to test any web service logic.

Wrapping it up

Preparing for Salesforce Flow interview questions is mostly about showing you've been in the trenches and know what happens when an integration fails. Talk about your error handling and your retry logic, and say why you picked one protocol over another. That's what separates a junior dev from a consultant who actually gets things done.

Next time you're asked about web service flow, skip the feature list and tell the story of the time you used a Named Credential to save a project from a security nightmare.

Frequently asked questions

How do you call an external web service from Salesforce Flow without Apex?

Upload a Swagger or OpenAPI schema into Salesforce through External Services. Flow Builder then generates declarative actions, and the Flow calls the external API directly.

What is the difference between inbound and outbound integrations in Salesforce?

Inbound means an external system sends data into Salesforce, usually over a REST or SOAP web service. Outbound means Salesforce starts the request and sends data out to an external endpoint, through an Apex callout or External Services.

Why should you use Named Credentials for Salesforce integrations?

A Named Credential holds the callout endpoint and the authentication settings in one place in Setup. Nothing is hardcoded in your Flow or Apex, and when a password or token changes you update the credential instead of the code.

What is the callout governor limit in Salesforce, and how do you handle it?

Salesforce allows 100 callouts in a single transaction. For large datasets, move the callouts to asynchronous processing with Queueable Apex or Platform Events so you do not hit the limit.

Newsletter

One email every Tuesday

New guides, tool updates, and the release-note changes that break things.

No spam. Unsubscribe in one click.

Comments

Loading comments...

Leave a Comment