Notion - Download Database to Shipyard
Overviewβ
Allows for quick and seamless download of a Notion Database to Shipyard. 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 JSON: json | The file type to store results |
YAMLβ
Below is the YAML template for this Blueprint and can be used in the Fleet YAML Editor.
source:
blueprint: Notion - Download Database to Shipyard
inputs:
NOTION_ACCESS_TOKEN: null ## REQUIRED
NOTION_DATABASE_ID: null ## REQUIRED
NOTION_DEST_FILE: null ## REQUIRED
NOTION_DEST_FOLDER: null
NOTION_FILE_TYPE: csv
type: BLUEPRINT
guardrails:
retry_count: 1
retry_wait: 0h0m0s
runtime_cutoff: 1h0m0s
exclude_exit_code_ranges:
- '200'
- '201'
- '202'
- '203'
- '204'
- '205'
- '206'
- '249'