The GET action retrieves an existing Salesforce record.
Use this action when a process needs to read information from Salesforce, such as account details, contact information, opportunity data, or custom object records. Unlike QUERY, which retrieves multiple records, the action retrieves a single Salesforce record using the Salesforce object type and the unique record identifier. The retrieved data can be mapped to process variables and used by subsequent tasks, gateways, forms, or integrations.
The GET action is used by the Salesforce connector to retrieve a Salesforce object.
The input parameters of the action:
| Parameter | Type | Required | Description |
|---|---|---|---|
| SObjectName | String | Required | The name of the Salesforce object to retrieve, such as Account, Contact, Opportunity, or a custom object. |
| SObjectId | String | Required | The unique identifier of the Salesforce record to retrieve. |
The output parameters of the action:
| Parameter | Type | Required | Description |
|---|---|---|---|
| salesforceResult | String | Optional |
The Salesforce record returned by the request. The structure of the response depends on the object being retrieved and the fields available for that object. The values returned in salesforceResult can be mapped to process variables and used by other process elements. |
| salesforceStatus | String | Optional | The HTTP status code returned by Salesforce. Use this value to determine whether the retrieval was successful. |