Salesforce Integration Interview Questions And Answers

Salesforce Integration is a way to connect two systems together using API (Application Programming Interface). This allows data from one system to flow into another system. The connection between these two systems can be done through APIs or through direct database connections. As an example, you can connect your salesforce org with any other third party application that has an API or its own custom API. An API is simply the ability to expose functionality in your application for others to use and consume. It basically means that you have provided a set of functionalities that will help other applications communicate with yours.

Demand for Salesforce Integration Services has increased manifold over the past few years. It is not only limited to business but also to IT departments and developers. Most companies today are using Salesforce as their core CRM solution and thus looking to create integrations with other services like mobile apps, web applications etc. To become proficient at creating such solutions you need to take some time and learn about Salesforce integration.

Salesforce Integration jobs require technical skills as well as knowledge of business operations. In this article, we are going to discuss what should you expect when interviewing for a salesforce integration job. We will also provide you with information on some important interview questions asked during salesforce integration interviews. Get ready to crack the test!

1. What is Integration?

An enterprise uses many applications, many of which aren’t designed to work together. Integration is the process of connecting two applications. Organizations can improve operational consistency, efficiency, and quality by integrating separate but related apps.

Data, business logic, presentation, and security layers can all be integrated into an application. This page is an excellent place to explore the different integration options related to and other Salesforce platform technologies.

2. Integration Patterns: What are they?

Integration Pattern describes how systems (including their components and services) interact as part of an Integration Solution Design. It is a standardized method for integrating systems. The Integration Pattern describes how Integration problems can be evaluated and solved without reinventing the wheel.

There are four types of integration patterns:

  • Point to Point Integration: Direct connections between multiple systems.
  • Hub & Spoke Integration: All designs are linked to a central hub.
  • API Gateway Integration: Provides a single entry point for specific apps that wish to access an API.
  • Event-Driven Architecture Integration: Supports asynchronous integration via the Publish and Subscribe model.

3. Are there any ways to integrate with Salesforce

  • User Interface Integration: Create composite apps by combining the UIs of two or more apps with little or no modification to each app’s UI. A good example is using Canvas.
  • Business Logic Integration: To implement an end-to-end business process, it typically uses Apex Web Services for inbound and Apex Callouts for outbound. For example, building complex logic on the data received before committing it to Salesforce would be an example of using Apex Web Services.

Data Integration: In an enterprise, it typically acts as a primary source for a particular business object, like Account, using SOAP and REST APIs.

4. In what ways does the Salesforce Platform integrate with other systems?

  • Application Integration – Ensure features and functionality are integrated across systems
  • Data Integration – Synchronizing and integrating data between two or more systems
  • Process Integration – Extending business processes and services across systems

5. What are the most common Salesforce Platform Integration Design Patterns?

Remote Process Invocation:

Request and Response: Salesforce invokes a remote process and awaits a reply
Fire and forget: Salesforce invokes a method in a remote system but does not wait for it to complete

Batch Data Synchronization:

The Salesforce Lightning Platform and an external system reflect data updates when the data is updated. Updates are applied in a batch process.

Remote Call-In:

Using Lightning Platform, remote systems can create, retrieve, update, and delete data

Data Virtualization:

Salesforce has real-time access to external data

High-Frequency Data Replication:

Data is asynchronously replicated from a source system to a target system in near-real time


In Salesforce, an event (such as creation, update, deletion, etc.) is published without knowing who the recipient is. Several subscribers listen to these events and process them accordingly.

6. How exactly do you define “web services”?

In essence, Web Services are types of programming that enable us to integrate applications. The use of web services is similar to open standard programs, particularly web-based programs, in which data can be shared between different web applications. Additionally, web services such as HTTP and XML can be used to transform existing applications into web-based ones.

7. How do you define the term “protocol”?

It is an established set of regulations and guidelines that associate the nodes of a communication system so that data can be shared conveniently. Furthermore, it efficiently achieves shared approval of standards based on a specified set of parameters.

8. Connected Apps: What are they?

As part of a connected application, an external application can integrate with Salesforce using APIs and standard protocols, including SAML, OAuth, and OpenID Connect. A connected app uses these protocols to authorize, authenticate, and provide single sign-on (SSO) to external apps.

9. Are there different APIs available in Salesforce?

  • Bulk API
  • Streaming API
  • Metadata API
  • Chatter REST API
  • User Interface API
  • Analytics REST API
  • Apex REST API
  • Apex SOAP API
  • Tooling API

10. What is a REST API, and when to use it?

You can use the REST API to interact with Salesforce, a powerful, convenient, and simple REST-based web services interface. Aside from its ease of integration and development, it’s also an excellent choice for mobile and web applications. Depending on the project, you may want to combine Salesforce REST APIs with other Salesforce REST APIs.

User Interface API can be used to create, read, update, and delete records, including list views, actions, and dependent picklists. If you have many documents to process, use Bulk API, which is based on REST principles and optimized for large data sets. Chatter REST API can build UIs for communities, communities, and recommendations.

11. What is SOAP API used for?

SOAP API provides a convenient, powerful, and simple SOAP-based web service interface to interact with Salesforce. You can use SOAP API to create, retrieve, update, or delete records. You can also use SOAP API to perform searches and much more. You can use SOAP API in any language that supports web services.

Through SOAP API, you can integrate Salesforce with your org’s ERP and finance systems and deliver real-time sales and support information to company portals and populate critical business systems with customer information.

12. What is Bulk API used for?

The Bulk API allows developers to access all objects in a given object type, such as Account, Opportunity, Case, etc., and perform operations against them at once. It is designed to work with large amounts of data. For example, if you’re building a mobile app, this API could be helpful because it will allow you to query multiple accounts at once.

13. What is Streaming API used for?

You can use streaming API to send messages to users through email, push notifications, SMS, and even social media channels. The streaming API enables you to send messages directly to users’ inboxes without requiring them to open their emails first. This means you don’t need to worry about whether the user has opened their email yet.

14. What is Metadata API used for?

The metadata API lets you manage metadata fields across all types of objects in Salesforce. With this API, you can add, edit, and remove metadata fields on objects and configure how they are displayed in various UI elements.

15. What is Chatter REST API used for?

Chatter REST API provides programmatic access to files, recommendations, topics, notifications, purchasing, and more in mobile applications. You can display Chatter feeds, users, groups, and followers with Chatter REST API. In addition to offering features beyond Chatter, Chatter REST API provides features from other companies with feeds, such as Facebook and Twitter.

You can display Chatter feeds, users, groups, and followers in mobile applications using Chatter REST API. With Chatter REST API, you can also access files, recommendations, topics, notifications, purchasing, and more. Similar to APIs offered by other companies with feeds, such as Facebook and Twitter, Chatter REST API also exposes Salesforce features beyond Chatter.

16. What is User Interface API used for?

User Interface API (UI) gives you programmatic access to all components found within a standard Salesforce application page, including buttons, links, text boxes, dropdowns, images, etc. Use this API to customize pages, controls, and visualizations.

17. What is Analytics REST API used for?

Analytics REST API helps you analyze and understand your organization’s data. By integrating with analytics tools like Google Analytics, Mixpanel, and others, you can gain insights into your customers, prospects, employees, etc.

18. What is Apex REST API used for?

Apex REST API is an easy way to create, update, retrieve, delete, or list records in any custom object. Using the REST API, you can quickly build web services and mobile apps that interact with data stored in Salesforce.

19. What is Apex SOAP API used for?

With Apex SOAP API, you can call methods on classes, retrieve class instances, and invoke remote method invocations. This API is ideal for creating Web Services and Mobile Apps that integrate with Salesforce.

20. What is Tooling API used for?

The Tooling API lets you integrate Salesforce metadata with other systems. Metadata types are exposed as sObjects so that you can access one component of a complex type. Using this field-level access speeds up complex metadata operations. Additionally, applications can be developed with custom development tools.

The Tooling API can manage and deploy working copies of Apex classes, triggers, and Visualforce pages. Checkpoints and heap dump markers can also be set, anonymous Apex can be executed, and code coverage info can be accessed.

21. For connected apps, what are the standard authorization flows for OAuth 2.0?

  • Web App Integration (OAuth 2.0 Web Server Flow)
  • Mobile App Integration (OAuth 2.0 User-Agent Flow)
  • Server-to-Server Integration (OAuth 2.0 JWT Bearer Flow)
  • IoT Integration (OAuth 2.0 Device Flow)
  • Refresh Token Flow
  • Username-Password Flow
  • SAML Bearer Assertion Flow
  • SAML Assertion Flow

22. What does call in and call out mean?

We used to call in to expose our webservices to other systems.

By making a call to an external Web service or sending an HTTP request and receiving the response, you can tightly integrate Apex with external services.

23. How do I use Change Data Capture with Apex?

Your Salesforce data can be integrated with external systems with Change Data Capture, a streaming product. You can synchronize Salesforce records with external data stores with Change Data Capture in real-time. As a result of Salesforce records being created, updated, deleted, or undeleted, Change Data Capture publishes events.

24. Can you explain what WSDL is?

In Microsoft’s Simple Object Access Protocol (SOAP) and IBM’s Network Accessible Service Specification Language (NASSL), WSDLs (Web Services Description Languages) describe web services in an XML document. A WSDL replaces both NASSL and SOAP to express business services in the UDDI registry. It provides web services over the Internet in combination with SOAP and XML Schema. A client program can read the WSDL to learn what functions are available on the server. A client can use SOAP to call one of the functions listed in the WSDL if any particular data types are embedded in it as XML Schemas.

Salesforce has two kinds of WSDLs:

  • Enterprise WSDL
  • Partner WSDL

25. What is the difference between Enterprise WSDL and Partner WSDL?

Enterprise WSDL

  • Enterprise uses strongly typed WSDL
  • Enterprise WSDL is tied (bound) to a specific Salesforce configuration (i.e., a particular organization’s Salesforce configuration).
    Modifications to an organization’s Salesforce configuration (e.g., custom fields, custom objects) update the Enterprise WSDL.

Partner WSDL

  • The Partner WSDL is loosely typed.
  • The Partner WSDL can generally reflect or query any Salesforce configuration (i.e., any organization’s Salesforce configuration).
    Partner WSDLs are static and do not change when Salesforce configurations are altered in an organization.

26. What is the process for consuming the WSDL file?

Choose Apex Classes from the Setup menu after entering Apex Classes in the Quick Find box in the application. Next, select the ‘Generate’ option from the dropdown menu.

To locate a WSDL file on your local hard drive or system, click Explore/browse or type in the entire path. This WSDL file will serve as the basis for the Apex class you’re building.

Click the Parse WSDL button to validate the details of the WSDL file. The application generates default class names for each domain in the WSDL file and indicates any issues that may occur. If, for example, the WSDL contains schema elements or constructions that Apex classes do not allow, or parsing fails if the generated classes exceed Apex classes’ 1 million character limit.

WSDL namespaces can be saved into a single Apex class by using the same class name. Apex classes are limited to 1 million characters.

Choose ‘Generate Apex’ from the dropdown menu. The final page displays the classes that were generated successfully and any failures from other courses. A link to correctly created code is also provided.

27. How is SOAP different from RESTful web services?

SOAPAn attempt to establish an API framework for web services has resulted in the Simple Object Access Protocol (SOAP). Creating web service technologies should be guided by a web service structure model, outlining the fundamental guidelines. HTTP, however, is commonly used as a layer seven protocol, but it is not required.

There are two parts to a SOAP message: an enclosure and a body. The SOAP header contains the data we want to transmit, while the body has the rest of the message. XML is the industry-standard format explicitly developed to transport and store structured data. The XML format used by the envelope is also called SOAP. Despite being widely used in many systems, SOAP does not utilize many of the features built into HTTP. Although some people think it’s slow, it has many necessary features in many situations. Due to its unique format, it may currently be the best option for browser-based clients.

REST API: As an alternative to SOAP, Representational State Transfer (REST) is a resource-based architectural approach. Unlike SOAP, RESTful applications contain metadata in the form of HTTP built-in headers (with a range of media types) and perform CRUD activities through GET, POST, PUT, and DELETE verbs.

28. How do External Objects work?

The Salesforce org maps data to objects that map to data outside the Salesforce org, similar to custom objects. An external object definition maps to a data table on an external system. The fields of an external object are mapped to a column in the table. External things are connected to the external system’s data through an external data source definition.

External objects can have the following relationships:

  • Lookup Relationship: Linking a child’s standard, custom, or external object to a parent’s standard or custom object.
  • External Lookup Relationship: This relationship links a child’s standard, custom, or external object with a parent’s external object.
  • Indirect Lookup Relationship: A relationship links a child object to a parent object, either standard or customized.

29. What are remote site settings?

Setting up the remote site allows us to authorize the endpoint and will enable the user to integrate (end-user)

Salesforce will call out the external system domain address in Remote site settings.

Adding the domain name to the remote site setting internalizes the Salesforce ecosystems that these are my trusted domain names so that Salesforce can access these services.

30. What is Change Data Capture?

Salesforce’s change data capture (CDC) feature automatically allows you to synchronize data from external systems into your Salesforce database. This can be useful for several reasons, including:

  • Saving time by avoiding the manual entry of data
  • Ensuring that all the information you need is available at any given moment
  • Eliminating errors and inconsistencies when working with multiple sources of data

31. How does Change Data Capture work?

When you use CDC, Salesforce will periodically poll an external system to check whether there are changes to records on that system. If there are updates, they’ll be applied to your Salesforce record. The frequency of these polls depends on how often you want to update your records. Depending on your needs, you can choose between polling every 5 minutes or once per hour.

32. What is Analytics API?

Analytics API is a new set of APIs that provide developers access to data analytics tools within Salesforce. It provides a way for users to create custom reports based on their data without writing code. Based on the Chatter REST API, the Analytics REST API allows programmatic access to Analytics features such as datasets, dashboards, and lenses.

33. When will you prefer Import Wizard over Data Loader?

The import wizard is used to import a large amount of data, which is impossible using a data loader. For example, if you have more than 100K records to load, it would take too much time to use a data loader. In this case, you should go for import wizard.
In this case, you should go for import wizard.

The amount of records you are loading is less than 50,000.

From Setup, enter Data Management in the Quick Find box, then select Data Management. You can see which import wizards are available and what objects they support.

To prevent duplicate records, upload records based on account name and site, contact email address, or lead email address.

34. When will you prefer Data Loader over Import Wizard?

Data Loader is used to bulk small import amounts of data into Salesforce. For example, if your company has 10-20 accounts and you only need to add 1-2 fields to each record, you can use Data Loader instead of Import Wizard.

When to use Data Loader:

There is a requirement to load 50,000 to 5,000,000 records. Data Loader supports loads of up to 5 million records. If you need to load more than 5 million records, third-party ETL tools are recommended.

  • The import wizards do not yet support loading into an object.
  • It is best to schedule regular data loads, such as nightly imports.
  • You should export your data for backup.

35. What is different when using the Data Loader with enabled the ‘Use Bulk API’ option?

In Data Loader, you can enable Bulk API to load or delete many records faster than using the default SOAP-based API. Some of the key differences when Bulk API is enabled include:

You can perform a hard delete if you have the necessary permissions and licenses.

if inserting null values is not an option

the Allow Field Truncation option is not available

Alternatively, you can select the ‘Enable serial mode for Bulk API’ option. Parallel processing can cause database contention. When contention is severe, a load can fail. Serial mode processes batch one at a time, increasing processing time.

36. What are Named Credentials?

Callout endpoint URLs and authentication parameters are specified in one definition for a named credential. Select the callout endpoint with a called certificate to simplify authenticated callout setup. You must register the URL as the callout endpoint in your org’s remote site settings and handle the authentication yourself if you specify a URL as the callout endpoint. An Apex callout, for example, involves your code handling authentication, which can be less secure and complicated for OAuth implementations.

These types of callout definitions support named credentials: Apex callouts

The external data sources of these types are:

  • Salesforce Connect: OData 2.0
  • Salesforce Connect: OData 4.0
  • Salesforce Connect: Custom (developed with the Apex Connector Framework)
  • External Services

37. What are REST API Composite Resources?

REST API Composite Resources can be used to improve the application’s performance by minimizing the number of roundtrips between the client and server.

Composite Resources List:

Composite – You can execute multiple REST API requests in a single call. The output of one submission can be used as input for a subsequent request. Your API limits are calculated based on the number of requests in the series. The whole series of recommendations count as a single call.
Composite Graphs – In mixed graphs, a series of REST API requests can be executed in a single request, providing an enhanced way to perform diverse requests.

Batch – Executes up to 25 subrequests in one request. The response bodies and HTTP statuses of the subrequests in the batch are returned in a single response body. Each subrequest counts against rate limits.

sObject Tree – This method creates one or more sObject trees with root records of the specified type. A sObject tree is a collection of nested, parent-child records with a single root record.

sObject Collections – Use sObject Collections to reduce the number of roundtrips between the client and server by performing actions on multiple records in one request. Response bodies, as well as HTTP statuses, are returned in one response body. This resource is available in API versions 42.0 and later that count as a single call toward your API limits.

38. What is the Composite Rest API?

The Composite REST API allows you to build a composite application using multiple Salesforce and VisualForce components. The Composite RESTAPI provides an easy way for developers to create applications that use both standard and custom objects in Salesforce.Com.

A composite REST API call executes several REST API requests simultaneously. The output of one submission can be used as the input to a subsequent request. Each request returns a response body containing the request’s body and the HTTP status. Your API limit is based on a single call for the entire series of recommendations.

The requests in a composite call are called subrequests. All subrequests are executed in the context of the same user. A reference ID corresponds to the response to a subrequest. Using JavaScript-like reference notation, you can refer to the ID in the URL or body of a subsequent subrequest.
A single request can contain up to 25 subrequests. Up to 5 of these can be sObject Collections or query operations, including Query and QueryAll requests.

39. How can I access data from external systems through the Composites REST API?

You can access data from external systems through the Composite REST API by creating a WebService callout. This allows you to access data from any system with a web service interface. For example, if your organization uses a third-party CRM application, you could create a Web Service Callout that retrieves information from that application. You can then use this information in your application.

40. Can I create my Custom Objects with the Composite REST API?

Yes! You can create your own custom object types and save them to These custom objects can then be accessed via the Composite REST API. To do so, you must first register your new type with Once registered, you can create instances of your custom object and save them to

41. Does the Composite REST API support SOAP?

Yes. In addition to REST APIs, the Composite REST API supports SOAP. If you need to integrate with a legacy system that does not have a RESTful web service interface, you can still use the Composite REST API to communicate with it. However, you will need to convert the XML responses to JSON format.

42. What is the Composite sObject Tree API?

The Composite sObject Tree API enables you to retrieve all of the records associated with a given record type. It also lets you view the hierarchy of related records. The Composite sObject Tree API is similar to the Apex DescribeSObjects method, but instead of returning only one result set, it returns multiple result sets.

Using the Composite sObject Tree API call, one or more sObject trees can be created with root records of the specified type. A sObject tree is a collection of nested, parent-child records, each with a single root record.

Record hierarchies, required and optional field values, record types, and reference IDs are provided as part of the request data. A successful request contains the IDs of the records created. If an error occurs during the creation of a record, the entire request fails. In such a case, the response contains only the reference ID of the record that caused the error and the error information. All response bodies and HTTP statuses of the requests are included in one response body. The entire request counts toward your API limits. The request can contain the following:

  • A maximum of 200 records across all trees
  • A maximum of five records of different types
  • of SObject trees up to five levels deep

43. What is the Composite Data Loader API?

The Composite Data Loader API provides a mechanism for loading large amounts of data into quickly. The API accepts a file containing comma-separated values (CSV) formatted data. Each row represents a single entity. Entities may include a unique identifier, name, description, and other attributes. The API loads the CSV file into using the Bulk API.

44. How do I get started with the Composite Data Loader?

You can download the Composite Data Loader tool from the Developer Console. The tool includes instructions on how to create a project, upload files, run queries against the data, and export results.

45. What is an SSL Certificate?

An SSL certificate is a digital document used by Web servers to identify themselves to clients when communicating over secure networks. When you configure your server to accept incoming connections over HTTPS, you must obtain an SSL certificate. This certificate identifies your domain name and ensures that any communication between client and server remains private. You can obtain an SSL certificate from a third-party provider.

46. What are the benefits of API-led connectivity?

API-led connectivity helps reduce integration complexity because it removes the need to write custom code to access external systems. Using the API eliminates the need to manage complex configuration settings and user permissions.

A method of connecting applications, data, and devices through reusable and purposeful APIs instead of point-to-point integration. Some benefits of API-led connectivity include:

  • Clear contracts between systems
  • Reusability
  • Discoverability
  • Visibility and security
  • Availability and resiliency

47. Explain Multi-Org Architecture Models?

Hub and Spoke Model

One org becomes the “hub” that orchestrates data across all the others, or “spokes.” The data exchanged between the hub and spoke may be uni-directional or bi-directional, depending on the organization’s needs.

PubSub / ESB (Enterprise Service Bus) Model

Based on people, processes, or automation-driven events, data is sent between organizations using the PubSub (publisher/subscriber) model. Similar to the hub and spoke model, this model is event-driven rather than direct. Data is transmitted as needed instead of being directly connected.

Point to Point Model

There is no centralized organization in this model, but each organization is connected to the others through various connections. Ad-hoc connections may also be made by individual organizations to accommodate their needs without forcing them to work within a centralized, unified environment.

48. What is Streaming API?

The Streaming API allows developers to stream data in real-time from one system to another. It supports streaming up to 100 MB per second. Streams are initiated by calling the start() method. A stream ends automatically when the end() method is called.

Subscribers can subscribe to the following events:

Generic Streaming Events – Generic Streaming events let you publish messages with arbitrary string values, which the client receives.

PushTopic Events – Stream Salesforce record changes to clients based on criteria you define in a SOQL query in a PushTopic record. PushTopic events are tied to Salesforce data. The event messages only include the fields specified in the SOQL query. You can track record creation, update, deletion, and undelete operations.

Platform Events— You can publish and subscribe to custom platform events. Platform Events is the new version of Generic Streaming. By creating platform event objects and fields, you can define the schema of the event data. For monitoring user and security activity in Salesforce and other things, you can subscribe to standard platform events defined and published by Salesforce.

Change Data Capture— It is the new version of PushTopic events that captures changes to records of all supported fields. Change Data Capture does not require a SOQL query to track record creation, updates, deletions, and undeletes. A header field in each event message contains information about the change.

49. What is Asynchronous Apex?

Asynchronous Apex lets you perform long-running tasks such as querying for large amounts of data outside the context of an HTTP request/response cycle. This means your code runs concurrently with other requests and doesn’t block the UI thread.

You can use asynchronous Apex in the following ways:

Batch Apex – Run large jobs that would exceed normal processing limits. Example: Deduplicating records
Future Methods – Each thread runs in its own thread and does not begin until resources are available.
Queueable Apex – Performing sequential processing operations with external web services in a similar manner to future methods. Provides job chaining and allows more complex data types to be used.
Scheduled Apex – Apex can be scheduled to run at a specific time. Example: Daily or weekly tasks.

50. Explain External Services?

An external service is any application or website that provides some functionality that you want to integrate into your app. An example of an external service is a CRM tool like

By using External Services, you can connect your Salesforce org to an external API without writing any code. External Services creates invocable actions within Salesforce based on declarative tools and OpenAPI specifications. As a result, these invocable actions can be used to interact with external API sources in a flow.

51. What is JSON?

JSON stands for JavaScript Object Notation, and it’s a way to serialize data into a string format that can be easily read by JavaScript. The idea behind this is that you want to send data from one system to another without having to worry about the type of data being sent or how it should be formatted.

For example, if you were sending an email with attachments, you would have to write code in your application to determine what kind of attachment was being sent (image, text file, etc.) and then parse out the information needed to create the correct object. This process could get very complicated depending on the number of different types of files you want to attach. Instead, you just encode all of the information into a single string that contains everything you need. Then when you receive the email, you simply decode the string back into its original form.

52. How can SOAP be accessed?

SOAP stands for Simple Object Access Protocol, and it’s a standard protocol used to transfer data between two applications over the Internet. It works like HTTP, except instead of transferring documents such as HTML pages, it transfers XML documents. These XML documents contain instructions for the receiving application to perform certain actions. In order to use SOAP, both the sender and receiver must agree upon a set of rules regarding which operations are allowed and which ones aren’t. If they don’t follow these rules, the messages won’t be accepted. Through WSDL files, SOAP can be communicated, and without WSDL files, integration is not possible. The message format in SOAP is XML.

53. What Are The Types of SOQL Statements in SalesForce?

In Salesforce Object Query Language, those records from are queried based on the requirements.

There are two kinds of SOQL statements.

  • Static SOQL
  • Dynamic SOQL

54. What is the difference between SOSL and SOQL in Salesforce?

SOQL- Salesforce Object Query Language

  • Only one object can be searched at a time with SOQL.
  • All fields of any type can be queried.
  • SOQL can be used in triggers and classes.
  • Using the SQL query results, DML operations can be performed.

SOSL(Salesforce Object Search Language)

  • Enables us to search across multiple objects at once.
  • We are only able to query fields whose data types are text, phone, and email.
  • Triggers cannot be used, but classes can.
  • On search results, we cannot perform DML operations.

55. Why do we tend not to pass sObjects into future methods?

In the future, methodologies are dead in their own time. Objects can change between the time a strategy is developed and, therefore, the time it executes.

56. How do you define future decision limits?

The most number of future methodology invocations per a 24-hour period is 250,000, or 200 times the number of user licenses in a company, whichever is higher.

57. Is it possible to start a batch job after I finish another batch job?

We will start a new batch once the initial batch has finished. This is often the end result of the process. For instance, we would like to send emails to all or any clients that are part of the initial batch.

58. How can I delete previously scheduled jobs?

Purge previous job records using the purgeOldAsyncJobs methodology. The code will be as follows.
Code : world void finish(Database.BatchableContext BC)

59. What is the callout integration procedure?

Path: setup-develop -apex class Generate WSDL code from the path

60. Are there any limitations to the WSDL file?

Import and inheritance operations are not supported. Files must be in the.WSDL extension. Multiple port types and bindings are not allowed.

61. How to read root elements in XML DOM?

We can Use the get root element to read it.

62. How to read child elements in XML DOM?

We can use get child elements to read it.

63. How to read the text between tags?

We can use gettext to read the text between tags.

64. How SOAP and REST will Communicate?

Soap will communicate using a WSDL file, while REST will communicate using an HTTP file

65. What are the methods in REST?

HTTP GET: Get a resource by its identifier
HTTP POST: Create a resource
HTTP PUT: Update a resource
HTTP DELETE: Delete a resource

66. What message formats do REST support, or how can REST be accessed?

Both XML and JSON are supported by REST.

67. Is there more than one way to parse XML?

Yes, there are several ways to parse XML. We can use XML streams and XML DOM

68. What is the best way to handle large files in REST?

REST supports streaming response. It means that you can request parts of a file rather than requesting the entire file. You can also specify the size of the chunk of data being returned.

69. What is the difference between REST and RPC?

REST uses HTTP protocol, whereas RPC uses a proprietary protocol.

70. Why should we choose REST over RPC?

RPC is a proprietary protocol that requires the client to know the server’s address. In contrast, REST uses standard protocols such as HTTP, so it is easier to implement and maintain.

71. What is Salesforce Connect?

Users can view, search, and edit data stored outside Salesforce org with Salesforce Connect, allowing seamless integration across system boundaries. For example, data stored on-premises in an enterprise resource planning (ERP) system. Instead of copying the data into Salesforce org, you can use external objects to access the data in real-time via web service callouts.

In Salesforce Connect, Salesforce External Objects are mapped to data tables in external systems rather than being copied into the organization. Salesforce Connect accesses the data on-demand and in real-time rather than copying it into the organization. The information is never outdated, and we only access what you need. Salesforce Connect is recommended when:

  • The amount of data in your Salesforce org is too large for you to copy and paste
  • You need small amounts of data at any one time
  • You want real-time access to your data

Connecting to an external system and gaining access to its data requires a protocol-specific adapter. You specify the adapter when defining the external data source in Salesforce Connect. There are three types of Adapters you can choose from:

Cross-Org – Accesses data from another Salesforce org using the Lightning Platform REST API

Open Data Protocol 2.0/4.0 – Used to access external data stored outside Salesforce. External data is exposed via OData producers.

Custom Adapter Created via Apex – When other available adapters aren’t suitable for your needs, you use the Apex Connector Framework to create your custom adapter.

72. Describe the various methods used to generate the WSDL file?

Select ‘develop’ from Settings, followed by ‘Apex Classes.’ You must then click on the build WSDL option after selecting the apex classes. WSDL programming will be generated from the apex class, and the record will be saved in the systems using the format of the synchronizing dataset.

So far so good, if you have understood all the above then you must be confident enough to start cracking the test. But just because you understand what Salesforce Integration actually means doesn’t mean you can answer the question correctly. So you better practice the answers given below in real-life scenarios before heading for the test. Use them in the interview and you’ll know exactly how the interviewer expects you to do the interview.

Alternatively, you can take our Salesforce integration course at This course helps you build both basic and advanced levels of understanding of integrating Salesforce with various other tools and technologies. The course contains multiple practice tests which help you get familiar with the concepts and prepare you for the actual interview.