Salesforce Connector
Call the Salesforce APIs from your process
Required inputs
| Key | Label | Type |
|---|---|---|
baseUrl | Salesforce base URL | FEEL expression |
apiVersion | Salesforce API version | FEEL expression |
objectType | Salesforce object | FEEL expression |
objectId | Salesforce object ID | FEEL expression |
soqlQuery | SOQL query | FEEL expression |
body | Record fields | FEEL expression |
authentication.token | Bearer token | secret |
authentication.clientId | Client ID | FEEL expression |
authentication.clientSecret | Client secret | secret |
Optional inputs
| Key | Label | Type |
|---|---|---|
authenticationType | Type | string |
salesforceOperationType | Salesforce operation type | string |
interactionType | Interaction type | string |
relationshipFieldName | Relationship field name | FEEL expression |
queryParameters | Query parameters | FEEL expression |
connectionTimeoutInSeconds | Connection timeout | FEEL expression |
resultVariable | Result variable | string |
resultExpression | Result expression | FEEL expression |
errorExpression | Error expression | FEEL expression |
Apply this connector with @bpmnkit/connectors
import { applyConnectorTemplate } from "@bpmnkit/connectors"
const result = applyConnectorTemplate("io.camunda.connectors.Salesforce.v1", {
"baseUrl": "= ...",
"apiVersion": "= v58.0",
"objectType": "= ...",
"objectId": "= ...",
"soqlQuery": "= ...",
"body": "= ...",
"authentication.token": "<your bearer token>",
"authentication.clientId": "= ...",
"authentication.clientSecret": "<your client secret>",
"authenticationType": "bearer",
"salesforceOperationType": "sObject",
})