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.

Related Posts

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 »

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

More From The Library


Get way deeper into Shortcuts – become a member.

Browse more