Post to Notion #286
dealingwith
started this conversation in
Share
Replies: 1 comment 1 reply
-
Definitely going to check this out. A multiline input makes a lot of sense. I'll try to get that in end of this week. 👍 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I thought the Notion API might be a fun thing to play with via Script Kit. I have a singular "tasks" database that I use to capture all manner of things, so I always want to insert pages into it in order to process them later. These scripts will require you to update the databaseID value in the code itself. I could see an expansion of this script to allow for the selection of a specific Notion database from a list.
The second script below takes a second input in order to insert content into the new page -- I was wondering if there is a way to allow multiline text input via Script Kit, which would make that script more robust.
You can get a Notion API token here and find quick-start instructions here, as well as the API reference here.
For a quick overview of the data model, check out Chris Biscardi's video here. For a more in-depth overview, check out this Notion blog post.
Install notion-add-task
Install notion-add-task-with-content
(I just noticed that I haven't updated the first script to pass the "Notion-Version" header, but it seems unnecessary for now.)
Beta Was this translation helpful? Give feedback.
All reactions