Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Notion connection the step signs in with. |
| Database idRequired | A 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
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `notion`) |
databaseId | textits `{{ }}` must give a string |
Output
| Field | Type |
|---|---|
dataSources | array |
dataSourceCountHow many there are | number |
databaseTitle | string |
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
}