This is an algorithm to generate short IDs for Notion pages, based on:
- year unit digit
- week number
- page author's Nth character where N is the 8th digit of created timestamp, replacing spaces by "x"
- 25th character of Notion random id
- 9th digit of created timestamp
- 3rd character of page title
The generated ID is expected to have 6-7 characters lenght, including alphanumeric, case-sensitive, diacritics-sensitive, characters.
- Create a formula property
- Paste the Gist formula in Notion, replacing:
_criacao
by the name of "Created time" property_autor
by the name of "Created by" property_title
by the name of "Title" property