<aside>
💡 A bot that adds recurring tasks to Notion using the official API
</aside>
Instructions can also be found here
How to Update to Latest Version
At this time, there is no way to automatically update a forked repl
- Option 1: delete your old repl and redo the steps below
- Option 2: copy the contents of the file
index.js
from this repo and replace the index.js
in your repl
Bugs
- Fixed
- 5/22/2021: The web server pinging doesn't work for Replit because they use https instead of http which is what is currently used
- 5/22/2021: There's a known bug where you have to include a time in the Date property for it to work correctly. If you include just the date itself it gives this error: "body failed validation. Fix one: body.properties.Due Date.date.id should be defined, instead was
undefined
. body.properties.Due Date.date.name should be defined, instead was undefined
. body.properties.Due Date.date.start should be a valid ISO 8601 date string, instead was "Invalid DateTime"
."
Set Up Notion
- Create a table database for the integration to work with
-
Option 1: duplicate this template
Recurtion Tasks Template
-
Option 2: create your own database that includes these properties:
- Checkbox - to indicate if a task has been completed
- Date - to show when the task should be completed
- Select or Text - the interval at which the task repeats
- If it's a Select property, you can include as many options as you like
- Must include an option for the interval to be invalid (see the template for an example)
-
You can change the names of the properties (remember them for a later step)
-
You can also add as many additional properties as you like since they won't affect how the integration works
- Go to your Notion Integrations
- Click on + New integration
- Name the integration, point it to the correct workspace, and click Submit
- You can access the Internal Integration Token by clicking Show and then Copy (you need this for a later step)
- Go back to the database and click on Share in the upper right-hand corner
- Invite the integration you just made by clicking on Invite and then the name that you wrote in Step 4
Set Up Integration