FlowmageDocs

Get database schema

BetaReads data

Reads which properties a Notion data source has, and of which kind.

Settings

SettingWhat it is
ConnectionRequiredThe Notion connection the step signs in with.
Data source idRequiredNot the database id. In Notion: open the database → ••• → Manage data sources → Copy data source ID.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `notion`)
dataSourceIdtexta value from the vendor's own list

Output

FieldType
dataSourceobject
propertiesobject
propertyNamesarray
Sample output, and the expression for each field
  • dataSource
    • object"data_source"
  • properties{}
  • propertyNames
    • [0]"Name"

Errors

When a step of this node stops a run, the run page shows a code. Look it up:

Example step

The step as a flow file holds it. Replace each value in <…>.

{
  "config": {
    "connection": "<connection id>",
    "dataSourceId": "<data source id>"
  },
  "label": "Get database schema",
  "type": "notion.getDataSource",
  "version": 1
}