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
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

Manage X premium

Opens the URL to the Premium section of X where you can manage your subscription, quick access features like Grok, Monetization, Analytics, X Pro, Media Studio, Hiring, Bookmarks Folders, and Top Articles, customize your profile with an expanded bio or theme, and verify your ID.

Get Shortcut »


Get way deeper into Shortcuts – become a member.

Browse more