At work we have the tradition to post a brief summary of the tasks each team member worked on during the day.
Lately, I've been using Notion to handle my personal list of tasks in a prioritized a manageable way. So, that's how this tool was born.
- Make sure that you have Deno installed in your system.
- Download/clone this repository
- Duplicate
config.json.sample
asconfig.json
- Create an internal integration from the Notion portal as explained in the guides.
- Share the Notion database that you want to generate the "Out for Today" message from with the integration. Click on the
•••
Page menu and use the search bar in theAdd connections
pop-out to find the integration you've created. Simply click on your integration to give it access to your database. - Get the ID of the Notion database that you want to generate the "Out for Today" message from. For this, you can copy the URL of your database and use the path from the URL.
https://www.notion.so/myworkspace/a8aec43384f447ed84390e8e42c2e089?v=...
|--------- Database ID --------|
- Put your Notion "Internal Integration Token" (that you get after creating the Notion integration) in the
notion.key
property of yourconfig.json
- Put the database ID in the
notion.databaseId
property of yourconfig.json
- Run
./oft-gen
After following these steps, the "Out for Today" message should be copied into your clipboard and ready to be pasted on Slack.