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

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

Summarize articles with Perplexity

Creates a series of Threads in Perplexity for URLs shared as input, either from the Share Sheet or by detecting what’s on screen. Includes logic for multiple links, opening each URL in the background until the final query.

Get Shortcut »

Open RTT preferences

Opens the deep link into Settings > Accessibility > RTT to let you adjust “Real-time Text,” described by Apple as “a service offering more reliability, better text support, and the ability to speak and hear during a call” with Software and Hardware options.

Get Shortcut »


Get way deeper into Shortcuts – become a member.

Browse more