Copy ID from Notion link

Copy ID from Notion link

Gets a URL from input, matches a 32-character string from the text (and gets the first item in case there’s also a View ID), and copies that identifier to the clipboard.

Extra Details

Link to Run Shortcut
shortcuts://run-shortcut?name=Copy%20ID%20from%20Notion%20link
Link to Open Shortcut
shortcuts://open-shortcut?name=Copy%20ID%20from%20Notion%20link
AppleScript code
tell application “Shortcuts Events” run shortcut “Copy ID from Notion link” end tell

Related Posts

New in the Shortcuts Library: Notion shortcuts
New in the Shortcuts Library: Notion shortcuts
I've just added four (!) new sets of shortcuts for Notion, in an exploration of their URL patterns. Check out the shortcuts for the Notion app, your favorite Pages, and both Notion Mail & Calendar.

More From This Folder

Copy View from Notion link

Gets a URL from input, matches the URL structure for a page ID and the assocatiated View ID, and copies the View identifier to the clipboard. Can also be set to extract both IDs in an array.

Get Shortcut »

More From The Library

OCR Thread

Accepts a Thread link, scrapes the data, then opens the link, waits for it to load, takes a screenshot, extracts text from the screenshot, then prompts you to delete the extra text before replacing the excerpt in the Thread JSON dictionary.

Get Shortcut »

Play my Replay 2016

Plays the preselected Replay 2016 playlist on Shuffle. My top tracks of the year—not even joking—were Burn The Witch, Can’t Keep Checking My Phone, Daydreaming, Better Strange, and Bored to Death. Uncanny.

Get Shortcut »

Create media with Meta AI

Opens the URL to the Create tab of Meta AI, where you can view your own creations and create something new by describing your image. “You can create images and videos to inspire others.”

Get Shortcut »


Get way deeper into Shortcuts – become a member.

Browse more