Get record
Read one record by its Salesforce id, or by the value of an external id field.
Command in the Salesforce toolkit · id ooa.salesforce/get_record · 7 inputs (2 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Instance address (URL) | String | No | Instance URL, e.g. https://yourcompany.my.salesforce.com. | |
| Access token | Credential | No | OAuth access token from the vault. Or leave it empty and choose a connection that signs in, which gets and renews the token. | |
| Object (API name) | String | Yes | Object API name. | |
| ID | String | Yes | Record id, or the external id value when external_id_field is filled in. | |
| Fields | List | No | Fields to return; all when empty. | |
| API version | String | No | v61.0 | REST API version. |
| External ID field | String | No | API name of an external id field; when filled in, the record whose field has the value in id is read. |
Outputs
| Output | Type | What it is |
|---|---|---|
| record | Dictionary | Field values. |