FlowmageDocs

List data sources

BetaReads data

Turns a Notion database id into the data source ids inside it.

Settings

SettingWhat it is
ConnectionRequiredThe Notion connection the step signs in with.
Database idRequiredA Notion database holds one or more data sources. The id in a database's address is the database id; every other Notion node wants the data source id, which this node gives you.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `notion`)
databaseIdtextits `{{ }}` must give a string

Output

FieldType
dataSourcesarray
dataSourceCountHow many there arenumber
databaseTitlestring
Sample output, and the expression for each field
  • dataSourceCount0
  • dataSources[]
  • databaseTitle"Deals"

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>",
    "databaseId": "<database id>"
  },
  "label": "List data sources",
  "type": "notion.listDataSources",
  "version": 1
}