Add Page Emoji Icon
This snippet demonstrates how to add an emoji icon to a Notion page when a form entry is being added to or edited in Notion.
Instructions
Install per https://gravitywiz.com/documentation/how-do-i-install-a-snippet/
Modify the filter name to scope as needed.
See filter reference for full list of variants: https://gravitywiz.com/documentation/gcn_notion_page_data/Update the $emoji variable to change the icon.
References:
- GC Notion: https://gravitywiz.com/documentation/gravity-connect-notion/
- Notion page POST reference: https://developers.notion.com/reference/post-page
Code
Filename: gcn-add-page-emoji-icon.php