Skip to main content

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​

InputTypeRequiredDefaultWhat it is
Instance address (URL)StringNoInstance URL, e.g. https://yourcompany.my.salesforce.com.
Access tokenCredentialNoOAuth 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)StringYesObject API name.
ConditionsDictionaryNoField to the value it must have; a list means any of them. Every condition must hold. Empty: every record.
FieldsListNoFields to read, e.g. ["Id", "Name", "Email"]. Id and Name when empty.
Order byStringNoA field to sort by, then ASC or DESC.
Maximum recordsNumberNo2000At most this many records.
Include deletedBooleanNofalseAlso return deleted and archived records.
API versionStringNov61.0REST API version.

Outputs​

OutputTypeWhat it is
tableTableRecords, one column per field asked for.
countNumberNumber of records.
soqlStringThe SOQL that was run.