Tailflow
Skip to article
Browse documentation

Notion · Action

Find database items

Finds the items of a database whose property matches the value you give, and hands the first one and the list to the steps below.

When to use it

Looking up what you already know about an address before deciding what to send: its label, its owner, whether it is on a watch list.

At a glance

IntegrationNotion
Credits1
ConnectionNotion, by signing in

Settings

databaseRequired
Database. Only the databases you shared when connecting Notion are listed. A link to the database works too. Picked from your account's own list, or typed.
propertyRequired
Search property. The property to look in. Picked from your account's own list, or typed.
valueRequiredAccepts event fields
Search value. Matched exactly. A multi-select, person or relation matches when it includes the value.
limit
Most items. Up to 25. The first one is also handed on by itself. A whole number. Under More options.

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.notion_find_items_1.id }} — the action’s key, then which one it is if you use more than one of the same kind.

id
The item's id. It is what Update database item, Add content to page and Add comment take.
url
The item's link in Notion.
properties
The item's values by property name, for example properties.Status.
count
How many items matched, up to the most you asked for.
items
Every match, each with its id, url and properties.

Good to know

  • Text, title, select, status, URL, email and phone match exactly. A number and a date match the same value. A checkbox matches true or false. A multi-select, person or relation matches when it includes the value, so give one value for those.
  • No matching item 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 properties shows empty there. Test run makes it.