Skip to main content

Salesforce

Read and write Salesforce records via the REST API: SOQL queries plus CRUD on any sObject (Account, Contact, Order, Product2, OrderSummary, …).

Salesforce Logo

Authentication

This connector uses Token-based authentication.

info

Set up your connection in the Abstra Console before using it in your workflows.

How to use

Using the Smart Chat

Execute the action "CHOOSE_ONE_ACTION_BELOW" from my connector "YOUR_CONNECTOR_NAME" using the params "PARAMS_HERE".

Using the Web Editor

from abstra.connectors import run_connection_action

result = run_connection_action(
connection_name="your_connection_name",
action_name="your_action_name",
params={
"param1": "value1",
"param2": "value2"
})

Available Actions

This connector provides 5 actions:

ActionPurposeParameters
queryExecute a SOQL SELECT statement via the Salesforce REST API. Returns one page of results; pass nextRecordsUrl to fetch subsequent pages.soql (string)
nextRecordsUrl (string)
get_recordRetrieve a single Salesforce sObject record by ID e.g., Account, Contact, Order, Product2, OrderSummary.sobject (string) required
id (string) required
fields (array)
create_recordCreate a new Salesforce sObject record. Returns id, success, errors from Salesforce.sobject (string) required
fields (object) required
update_recordUpdate an existing Salesforce sObject record PATCH. Salesforce returns 204 No Content on success.sobject (string) required
id (string) required
fields (object) required
delete_recordDelete a Salesforce sObject record by ID.sobject (string) required
id (string) required