<aside> ❓ Set up a simple shortcut to quickly add a new database page using a widget or Siri.
</aside>
<aside> 🔥 Hot tip: you can use the one integration above to control all of your Shortcuts-related automations, you won't have to create a new integration each time.
</aside>
Create a new Notes database, or go to an existing database you wish to link the shortcut to.
From the Share menu in the top right click Invite and select the Shortcuts integration you created above, leaving its permissions as Can edit.
From the same Share menu, click the Copy link button. Paste this link somewhere and make note of the section between the last / and the ?. This is the database's ID and will be needed in the shortcut later.
https:/www.notion.so/bensomething/**8c324a26348843d4800ba9b4afe68608**?v=1208f3a058ed46b89ce948624225f490
Open the Shortcuts app.
Tap on the + button in the top right.
Tap on the ••• then rename the shortcut to Notion Note (or similar) and select an icon. Tap Done.
Add an Ask for input action with the following. The prompt can be whatever you'd like.
Text
with What's on your mind?
Add a Text action with the following.
{
"parent":{
"database_id":"ReplaceWithDatabaseID"
},
"properties":{
"Name":{
"title":[
{
"text":{
"content":"ReplaceWithProvidedInput"
}
}
]
}
}
}
Highlight ReplaceWithDatabaseID
and add your database ID from earlier.
Highlight ReplaceWithProvidedInput
and select Provided Input from above the keyboard.
Add a Get Contents of URL action with the following.
https://api.notion.com/v1/pages
For the last File option, tap Choose Variable, then Select Magic Variable, then tap the Text option directly below this code.