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
- to get token
- to get salesforce API version
- 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?