Find records
Find records of an object whose fields have the values you give (each value quoted and escaped), without writing SOQL.
Command in the Salesforce toolkit · id ooa.salesforce/find_records · 9 inputs (1 required), 3 outputs
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. | |
| Conditions | Dictionary | No | Field to the value it must have; a list means any of them. Every condition must hold. Empty: every record. | |
| Fields | List | No | Fields to read, e.g. ["Id", "Name", "Email"]. Id and Name when empty. | |
| Order by | String | No | A field to sort by, then ASC or DESC. | |
| Maximum records | Number | No | 2000 | At most this many records. |
| Include deleted | Boolean | No | false | Also return deleted and archived records. |
| API version | String | No | v61.0 | REST API version. |
Outputs
| Output | Type | What it is |
|---|---|---|
| table | Table | Records, one column per field asked for. |
| count | Number | Number of records. |
| soql | String | The SOQL that was run. |