Salesforce

Flowgen connects to Salesforce via the REST API, Bulk API, SOAP API, Tooling API, and Pub/Sub API.

Credentials

The credentials_path field points to a JSON file with your Connected App credentials. Flowgen authenticates using the OAuth2 Client Credentials flow.

{
  "client_id": "your_connected_app_consumer_key",
  "client_secret": "your_consumer_secret",
  "instance_url": "https://your-instance.salesforce.com",
  "tenant_id": "00Dxxxxxxxxxxxxxxx"
}
FieldTypeRequiredDescription
client_idstringyesConnected App Consumer Key.
client_secretstringyesConnected App Consumer Secret.
instance_urlstringyese.g. https://your-instance.salesforce.com.
tenant_idstringPub/Sub only15 or 18-character Salesforce Org ID.

Retries

Rate limits (429), 5xx responses, and connection errors and timeouts are retried per the task’s retry config. An expired session is retried after logging in again. Other Salesforce errors fail the event, and so does a missing or invalid field. Operations that create something (records, record trees, merges, query jobs, event subscriptions) are retried only after an expired session, since a call repeated after a timeout can create it twice.