workflows.fit
Back to n8n workflows
n8n template$12By Mario

Provide real-time updates for Notion databases via webhooks with Supabase

Purpose This enables webhooks for nearly realtime updates (every 5 seconds) from Notion Databases. Problem Notion does not offer webhooks. Even worse, the “Last edited time” property, we could use for polling, only up...

DevelopmentCore NodesProductivityData & StorageNotionIfSupabaseCode
Open checkout
Loading interactive preview...

Template notes

Purpose

This enables webhooks for nearly realtime updates (every 5 seconds) from Notion Databases.

Problem

Notion does not offer webhooks. Even worse, the “Last edited time” property, we could use for polling, only updates every minute. This gives us a polling interval only as low as 2 minutes and we still need to implement a comparing mechanism to detect changes.

Solution

This workflow caches states in between while doing efficient polling & comparing. It brings down the update latency from 2 minutes to 5 seconds and also provides the output of the changes only.

Demo

[![Get real-time updates from Notion Databases](https://img.youtube.com/vi/BROsXafy9Uw/0.jpg)](https://youtu.be/BROsXafy9Uw)