Tailflow
Skip to article
Browse documentation

Salesforce · Action

Find record

Finds the first record of an object whose field equals the value you give, and hands its id and fields to the steps below.

When to use it

Looking up the account or contact a wallet belongs to before deciding who to tell.

At a glance

IntegrationSalesforce
Credits1
ConnectionSalesforce, by signing in

Settings

objectRequired
Object. Picked from your account's own list, or typed.
fieldRequired
Search field. The field to look in. Picked from your account's own list, or typed.
valueRequiredAccepts event fields
Search value. Matched exactly. Capitals are ignored for most text fields.

What it hands on

Actions run in order, and each one can read what the actions above it produced. This one writes the fields below; a later action reaches them as {{ actions.salesforce_find_record_1.id }} — the action’s key, then which one it is if you use more than one of the same kind.

id
The record's id. It is what Update record takes.
object
The object the record belongs to.
fields
The record's values by field name, for example fields.Email.

Good to know

  • The match is exact. Capitals are ignored for most text fields, as they are in Salesforce's own search.
  • A number, checkbox or date field is matched as that type, so the value has to be one.
  • No matching record fails the step, so the steps below never act on nothing. The flow keeps running.
  • Validate run does not make the lookup, so a step below that reads its fields shows empty there. Test run makes it.