Use Notion API and Apple Shortcuts to Capture Notes in Seconds
This shortcut can save you hours by using the Notion API to enter my notes and thoughts for you.
If you’re an avid user of Notion and want to streamline your workflow, creating an Apple Shortcut can be a game-changer. It was for me.
There is no need to build a complex system and there is no need to reorganise everything you already have. You can start working and developing ideas immediately by taking smart notes. — Sonke Ahrens
What's New
Version 1.0
First release
What it does
5 actions-
Ask for InputWhat do you want to remember?
-
Ask for InputWhat’s the main idea?
-
Text
-
URLhttps://api.notion.com/v1/pages
-
Get Contents of URL…
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#include 'actions/web'
#define color blue
prompt("What do you want to remember?")
prompt("What’s the main idea?")
const Text = "{\n \\"parent\\": { \n \\"type\\": \\"database_id\\", \n \\"database_id\\":\\"INSERT_YOUR_DATABASE_ID\\"},\n \\"properties\\": {\n \\"Note_or_Idea\\": {\n \\"type\\": \\"title\\",\n \\"title\\": [\n { \n \\"type\\": \\"text\\", \n \\"text\\": { \n \\"content\\": \\"Provided Input\\"} \n }\n ] \n },\n \\"Main_Idea\\": {\n \\"type\\": \\"rich_text\\",\n \\"rich_text\\": [\n {\n \\"type\\": \\"text\\", \n \\"text\\": {\n \\"content\\": \\"Provided Input\\"}\n }\n ]\n }\n }\n}"
url("https://api.notion.com/v1/pages")
fileRequest(, "POST", Text, {
"Authorization": "Bearer secret_b0MycFIQlzjPoqsvc3Zza5MmbvbV4rdNh56M25ithhn",
"Content-Type": "application/json",
"Notion-Version": "2021-08-16"
})
Open in Cherri Playground
Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.
Ratings & Reviews
Write a Review–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Advertisement
You Might Also Like
Advertisement