Salesforce Inbound Endpoint Reference¶
The following configurations allow you to configure Salesforce Inbound Endpoint for your scenario.
| Parameter | Description | Required | Example Values | Default Value |
|---|---|---|---|---|
interval |
The polling interval for the Salesforce inbound endpoint. | Yes | - | - |
connection.salesforce.salesforceObject |
The name of the Push Topic or the Platform Event that is added to the Salesforce account. | Yes | /topic/Account |
- |
connection.salesforce.packageVersion |
The version of the Salesforce API. | Yes | 37.0 |
- |
connection.salesforce.authenticationType |
The authentication method to use when connecting to Salesforce. username-token uses SOAP login with a username, password and token. oauth uses the OAuth2 Client Credentials grant type. Configurations without this parameter default to username-token. OAuth2 Client Credentials support is available from inbound version 2.1.17 onwards. |
No | username-tokenoauth |
username-token |
connection.salesforce.userName |
Salesforce login user name. Required only when authenticationType is username-token. |
Yes (when authenticationType = username-token) |
- | - |
connection.salesforce.password |
Salesforce login password (append the security token to the password). Required only when authenticationType is username-token. |
Yes (when authenticationType = username-token) |
eitest123xxxxxxx |
- |
connection.salesforce.loginEndpoint |
The SOAP login endpoint for the Salesforce account. Required only when authenticationType is username-token. |
No (when authenticationType = username-token) |
https://login.salesforce.com |
https://login.salesforce.com |
connection.salesforce.clientId |
The OAuth2 consumer key from the Salesforce Connected App. Required only when authenticationType is oauth. |
Yes (when authenticationType = oauth) |
- | - |
connection.salesforce.clientSecret |
The OAuth2 consumer secret from the Salesforce Connected App. Required only when authenticationType is oauth. |
Yes (when authenticationType = oauth) |
- | - |
connection.salesforce.tokenEndpoint |
The OAuth2 token endpoint URL. Use https://test.salesforce.com/services/oauth2/token for sandbox environments. Applicable only when authenticationType is oauth. |
No (when authenticationType = oauth) |
https://login.salesforce.com/services/oauth2/tokenhttps://test.salesforce.com/services/oauth2/token |
https://login.salesforce.com/services/oauth2/token |
connection.salesforce.soapApiVersion |
The version of the Salesforce SOAP API. | No | 22.0 |
22.0 |
connection.salesforce.connectionTimeout |
The time to wait to connect to the client. | No | 20000 |
20000 |
connection.salesforce.waitTime |
The time to wait to connect to the Salesforce account. | No | 5000 |
5000 |
connection.salesforce.replay |
Enabling this will read the event ID stored in the Registry or from the text file provided via the event ID file path. | No | - | False |
connection.salesforce.EventIDStoredFilePath |
This field is visible only if replay is enabled. When enabled, specify the directory path of a text file to replay from the event ID stored in it, or leave it blank to replay from the last event ID stored in the config Registry DB. | No | /home/kasun/Documents/SalesForceConnector/a.txt |
- |
| fallbackReplayId | Fallback event ID to start reading messages if the event ID stored in the Registry is invalid. -2 to replay all events, or -1 to replay only new events. This is supported in version 2.1.16 and above. | No | -1 or -2 | - |