I am using a Mulesoft Salesforce connector for the integration of a system with Salesforce. To achieve it I was calling three-time Salesforce for an operation such as to get assets from Salesforce by using HTTP connector

  1. to get token
  2. to get salesforce API version
  3. the actual rest API call

to avoid three calls I used a Salesforce connector that is easy to configure and easy to use.

My question is here now that what is the best way for it? using HTTP call three times or a salesforce connector?

1

There are 1 answers

5
Lijin On BEST ANSWER

We did it using Salesforce connector and in MuleSoft I would say that's the best way to do it. It simplifies the whole process by handling the OAuth token services etc.

As Salesforce bought MuleSoft I believe there will be seemless integration options will come in future. There are many already.

That connector is just a wrapper over those multiple http calls actually.