If a notion page got deleted, a n8n workflow should be triggered
My use case:
Synchronize events from Notion with Google Calendar.
I think it would be beneficial to add this because:
This kind of trigger is needed for any kind of “sync data from Notion with some other software” process. Implementing this without Notion webhooks (I think they don’t offer webhooks publicly?) by myself is very painful (pull notion data every x seconds, store all items I get and compare them to the results from the pull before).
Other integration providers like Zapier, make.com, pipedream and IFTTT seems to have official Notion integrations like you can see here. I know that make.com has a Notion Trigger note which also get triggered on delete events, so I think the others will have too. Maybe because these integrations are deeply integrated into notion and have access to a delete event that is not publicly available?
I encountered the same issue, but found a work around by using a webhook. I made a webhook on the Notion integration page and set it to trigger on page delete. In n8n i made a webhook trigger node, set it to POST and authenticated the link back in Notion. When a page in Notion gets deleted it triggers n8n to receive the deleted page’s id and you could work from there!