Audit Notion wiki health and send weekly digests to Slack
Ready for 3.0What this workflow does
This workflow has 15 nodes and runs on a schedule (every week at 07:00). Along the way it connects Notion and Slack.
How it runs
Trigger: On a schedule (every week at 07:00).
- Set Wiki Audit Config (Edit Fields (Set)): sets 11 fields: wikiSearchText, wikiHealthDatabaseId, slackChannelId…
- Search Wiki Pages In Notion (Notion): search
- Loop Over Wiki Pages (Loop Over Items (Split in Batches)): loops over the items in batches
- Build Wiki Link Graph (Code): runs custom JavaScript code
- Get Page Blocks From Notion (Notion): get many (block)
- Filter: keeps only the items that match a condition
- Rank Worst Offenders (Code): runs custom JavaScript code
- Extract Links And Word Count (Code): runs custom JavaScript code
- Fetch Health Rows From Notion (Notion): get many (database page)
- Post Digest To Slack (Slack): uses Slack
…plus 4 more steps. See the full node list below.
Services it uses
Other Notion + Slack templates (152)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (8)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Notion
n8n-nodes-base.notion - Code
n8n-nodes-base.code - Filter
n8n-nodes-base.filter - If
n8n-nodes-base.if - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Slack
n8n-nodes-base.slack
From the author
Quick overview This workflow runs every Monday to audit a Notion wiki by crawling page content, building an internal link graph, and scoring pages for orphaned, stale, thin, and unreachable Notion mentions, then writing results to a Notion “Wiki Health”…