Skip to main content

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​

NameReferenceTypeRequiredDefaultOptionsDescription
Access TokenNOTION_ACCESS_TOKENPasswordβœ…--The access token assigned to the integration created
Database IDNOTION_DATABASE_IDAlphanumericβœ…--The ID of the notion database found in the URL
Destination File NameNOTION_DEST_FILEAlphanumericβœ…--The name of the file to save the downloaded data
Destination Folder NameNOTION_DEST_FOLDERAlphanumericβž–--The optional folder to store the downloaded data
File TypeNOTION_FILE_TYPESelectβž–csvCSV: 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'