capabilities.work

Sync a Row into a Database Data Source

A 3-step recipe with Notion. We can help you get access.

Recipe · 3 steps

Sync a Row into a Database Data Source

with Notion

Find a database by title, read its schema, and insert a conforming row.

  1. Search for the target database by title, filtering results to the database object type and returning a single match.
  2. Retrieve the matched database to read its property schema before inserting a conforming row.
  3. Create a page (row) inside the database with the supplied property values, which must conform to the database schema.
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.
  • databaseQuery: The title text used to find the target database via search.
  • rowProperties: Property values for the new row, conforming to the database schema.
For your developer

Arazzo workflow notion:data-source-sync, 3 operations: search → retrieveDatabase → createPage. Specs on APIs.io.