Overview
Allows for quick and seamless download of a Notion Database to Workflows. Results can either be downloaded to a JSON or CSV file.
Variables
|
Name |
Reference |
Type |
Required |
Default |
Options |
Description |
|---|---|---|---|---|---|---|
|
Access Token |
NOTION_ACCESS_TOKEN |
Password |
✅ |
- |
- |
The access token assigned to the integration created |
|
Database ID |
NOTION_DATABASE_ID |
Alphanumeric |
✅ |
- |
- |
The ID of the notion database found in the URL |
|
Destination File Name |
NOTION_DEST_FILE |
Alphanumeric |
✅ |
- |
- |
The name of the file to save the downloaded data |
|
Destination Folder Name |
NOTION_DEST_FOLDER |
Alphanumeric |
➖ |
- |
- |
The optional folder to store the downloaded data |
|
File Type |
NOTION_FILE_TYPE |
Select |
➖ |
csv |
CSV: csv
|
The file type to store results |
YAML
Below is the YAML template
YAML
source:
template: Notion - Download Database to Workflows
inputs:
NOTION_ACCESS_TOKEN:
NOTION_DATABASE_ID:
NOTION_DEST_FILE:
NOTION_DEST_FOLDER:
NOTION_FILE_TYPE: csv
type: TEMPLATE
guardrails:
retry_count: 1
retry_wait: 0h0m0s
runtime_cutoff: 1h0m0s
exclude_exit_code_ranges:
- 200
- 201
- 202
- 203
- 204
- 205
- 206
- 249