Connect Salesforce
Use Salesforce data in your processes, or let a change in Salesforce start a process.
What it is
Salesforce Service Cloud is a platform for customer service and customer data. Odigos connects through an External Client App that you create in Salesforce yourself. Odigos manages the app's token.
What you can do with it in a process
There is no separate Salesforce block. In Orchestra, call Salesforce with the REST API task block. Under Connection (authentication), select the Salesforce connection from Hub. Odigos then sends the connection's token with the request.
To start a process when something changes in Salesforce, use a listener. A listener follows a Salesforce channel, such as the changes to contacts, and starts a process for each message. If your Salesforce organisation reaches its limit for delivering messages, the listener can instead ask for changed records every few minutes. For each listener, Orchestra shows whether it is running, how many messages came in and whether anything went wrong. You also turn a listener on or off there.
Connecting in Hub
You connect Salesforce in Hub, under Connection via External Client App. You need administrator rights in Salesforce for this.
- In Hub, open the Salesforce page and click Set up connection.
- Hub asks you to confirm that you are logged in to the right environment. Click Yes, continue.
- In Salesforce, go to Setup and search for External Client Apps. Choose New External Client App, or open an existing one.
- Turn on OAuth, enter the callback URL that Hub shows and choose the scopes
api,refresh_tokenandopenid. - In the policies, set the refresh token to stay valid until it is revoked.
- Enter the Consumer Key and the Consumer Secret in Hub. Choose whether it is a sandbox or a production environment.
- Authorise Odigos in Salesforce.

Allow some time after a change
A change to the app in Salesforce often only takes effect after 30 to 60 minutes. An existing connection through a Connected App keeps working, but you can no longer change it in Hub.
Data in your process
There are no fixed tags for Salesforce. A process that a listener starts receives the Salesforce message unchanged as input. In the REST API task block, pick what you need from the response with a JSONPath or with Convert result to tags.
See also
- Connect a system in Hub: set up and maintain a connection
- REST API task: set up the rest of the step
- Work with external systems in Orchestra: what happens when a call to Salesforce fails
- Find integrations and components: all integrations at a glance