NotionTaskWhiz

.env

SLACK_BOT_TOKEN=xoxb-***
SLACK_APP_TOKEN=xapp-***

NOTION_INTEGRATION_TOKEN=secret_***

Notion API

つまづき

database IDはフルページでのリンクを使用する

https://www.notion.so/*********************************?v=******************

You’ll need the database ID to edit the database using your Notion integration.

To get the database ID, copy the URL of your Notion database. If you're using an inline database, then make sure you're viewing the database as a full page. If you're using the Notion desktop app, then click Share and select Copy link to find the database URL.

The database ID is the string of characters in the database URL that is between the slash following your workspace name (if you named it) and the question mark. The ID is 32 characters long, containing numbers and letters.