Query a Database and Update a Matched Page
A 3-step recipe with Notion. We can help you get access.
Recipe · 3 steps
Query a Database and Update a Matched Page
with Notion
Find a page in a database via filter and update its properties.
- Query the database with the supplied filter, limiting to a single result so the workflow operates on the first match.
- Retrieve the first matched page to confirm it exists and capture its current state before updating.
- Patch the matched page with the supplied property values. Only the properties provided are changed; all others are left intact.
What you'll need to have ready
- token: Notion integration token passed as a bearer credential.
- notionVersion: The Notion API version date sent in the Notion-Version header.
- databaseId: The ID of the database to query.
- filter: A Notion database filter object used to select pages.
- properties: Property values to write onto the matched page.
For your developer
Arazzo workflow notion:query-update-page-properties, 3 operations: queryDatabase → retrievePage → updatePage. Specs on APIs.io.