Skip to content
arrow-down

GitHub Action

@narkdown/query-in-action

v0.4.0 Latest version

@narkdown/query-in-action

arrow-down

@narkdown/query-in-action

Get parsed rows of Notion database

Installation

Copy and paste the following snippet into your .yml file.

              

- name: @narkdown/query-in-action

uses: narkdown/[email protected]

Learn more about this action in narkdown/query-in-action

Choose a version

@narkdown/query-in-action

GitHub Action: View on Marketplace narkdown GitHub version license: MIT

This action returns the result of querying and parsing the Notion database.

Inputs

notion-api-key

Required Notion API Key. How to get Notion API Key

database-id

Required Notion Database ID.

https://www.notion.so/myworkspace/a8aec43384f447ed84390e8e42c2e089?v=...
                                  |--------- Database ID --------|
Show advanced input options

date-option-timezone

Timezone ID used to parse date properties.

Default Asia/Seoul

date-option-format

Date formatting rules used to parse data properties.

Default yyyy-MM-dd HH:mm:ss

sort-option-timestamp

Database query sorting criteria. created_time | last_edited_time

Default created_time

sort-option-direction

Database query sorting direction. ascending | descending

Default descending

Outputs

rows

Parsed result of Notion database rows.

Example usage

Related

License

MIT