Skip to content
CompanyBenchCompanyBench

Salesforce integration interview questions and answers

Salesforce integration interview questions with answers on REST and SOAP APIs, OAuth and JWT flows, middleware, real-time events and the Bulk API.

Questions on REST and SOAP APIs, middleware, authentication flows, real-time integration and connecting Salesforce to external systems, with concise answers. Level: intermediate to advanced.

APIs and authentication

What are the key differences between REST and SOAP APIs in Salesforce?

REST is lightweight and uses JSON, which suits mobile and web apps. SOAP is more structured and supports complex operations and WS-Security.

Explain the OAuth 2.0 flow in Salesforce integrations.

OAuth 2.0 gives secure, token-based access to Salesforce APIs. Common flows are Web Server, Username-Password and JWT Bearer.

What is the difference between OAuth 2.0 and the JWT Bearer flow?

JWT Bearer is one OAuth 2.0 flow. It uses a signed JWT to get an access token without user interaction, which makes it suitable for server-to-server integrations.

What are named credentials in Salesforce?

Named credentials store an external service's endpoint URL and authentication details (OAuth, username and password) in one place, so callouts don't hard-code them.

Integration patterns

What middleware tools are commonly used for Salesforce integration?

MuleSoft, Dell Boomi, Jitterbit and Informatica. They handle ETL, transformations and data sync between systems.

How does Salesforce support real-time integration?

Through Outbound Messages, Platform Events, the Streaming API and Change Data Capture, which push changes to external systems as they happen.

What is the difference between synchronous and asynchronous callouts?

A synchronous callout blocks execution until the response arrives. Asynchronous callouts, for example with @future or Queueable, run in the background without blocking.

How do you handle errors in Salesforce integrations?

Use try-catch in Apex, monitor debug logs, handle API status codes properly and configure retry logic in the middleware.

Data and metadata

Explain the Bulk API and when to use it.

The Bulk API processes large data volumes, up to millions of records, asynchronously in batches, and supports CSV and JSON. Use it for migrations and large loads rather than record-by-record calls.

What is the Metadata API used for?

Retrieving, deploying and managing metadata such as custom objects, fields and layouts. It underpins CI/CD and deployment automation.

Hiring? See hire Salesforce developers and Salesforce developer salary. Job hunting? Browse remote Salesforce developer jobs.