Skip to content

Search

Search looks in your Notion workspace for the pages or databases whose title matches the text you give it. It returns their ID, which is what the other Notion components need to work with them.

When to use it

  • You know what a page is called but do not have its ID.
  • You want to find a database by its name to query it later.
  • You want to see which pages were edited recently.

Configuration

You need a Notion API credential with your Notion integration’s token. See Credentials.

FieldWhat it does
Credential (required)The Notion API credential used to access your Notion workspace.
Search QueryThe text searched for in titles. Empty, everything your integration can see is returned.
Filter TypeWhat to search for: page (pages) or database (databases). Default: page.
Sort DirectionThe order of the results by last edit: descending (most recent first) or ascending (oldest first). Default: descending.

Output

The Data output returns one item per result, with:

  • its ID,
  • its type (page or database),
  • its link, for a page, or its title, for a database,
  • its last edit date.

Example

A sales team wants to read a customer’s profile in Notion from the customer’s name.

  1. Add Search, with Filter Type set to page, and connect the customer’s name to Search Query.
  2. Take the ID of the first result.
  3. Pass it to Page Content Viewer to read the profile.

Good practices

  • Use a specific search text: you get fewer results and it is easier to pick the one you want.
  • If something you know exists does not show up, check in Notion that the page or database is shared with your integration.