You are one of 695 of subscribers. Thanks for reading!
Wow! The subscribers are growing fast. The big 1000 is getting closer!
Notion has been rolling out a lot of new features under the radar recently, most of which have been UI upgrades. Rarely does Notion update their formula list.
The new function is called id().
Every page in Notion has always been accompanied by a unique ID. In fact, if you look at your Notion page URL, you can find it. This function lets you use that unique ID of numbers and letters in a formula.
What Are Ways To Use id()?
Unique item identification.
With the addition of a date timestamp, a unique ID for notes compatible with a Zettelkasten system.
Random number or letter generation. (ie. dice rolls, coin flips, etc.)
Random note generation. (article coming soon)
Interesting addition to a gamification template? Tempting!
Generate random scheduling dates.
And more.
How To Extract Numbers & Letters From id()
Dissect the id() function yourself and create new formulas for your workspace! Here are a couple useful formulas to get started.
Extracting Numbers
replaceAll(id(), "[^0-9]", "")
Turn the extracted number into a numerical value? Just warp the result around toNumber() like this:
toNumber(replaceAll(id(), "[^0-9]", ""))
Extracting Letters
replaceAll(id(), "[^a-z]", "")