PERSONAL PRODUCTIVITY

Weekly sweep: archive Notion pages with no inbound links

Each week, scans a Notion workspace for pages that have no inbound references and haven't been edited within a staleness window, archives them, and posts a digest of what was…

CategoryPersonal Productivity
Enginesim
Difficultyintermediate
Triggerschedule
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerWeekly schedule fires
  • ActionFetch all pages and build link graph from NotionNotionNotion
  • LogicFlag pages with zero inbound links past staleness window
  • ActionArchive each orphaned page in NotionNotionNotion
  • OutputPost archived-pages digest to SlackSlack

What it does

Runs a scheduled audit of a Notion workspace, finds pages that nothing else links to and that have sat untouched past a staleness threshold (e.g. 90 days), archives those orphans, and reports the results to a Slack channel so the team has a paper trail.

When to use it

When a knowledge base has accumulated dead drafts, one-off meeting notes, and abandoned scratch pages that clutter search but are never opened. Run it on a cadence so cleanup is continuous instead of a dreaded quarterly purge.

How it works

  1. 1A weekly schedule fires the workflow.
  2. 2The workflow queries the Notion API for all pages and builds a link graph from each page's block content and mentions.
  3. 3A logic step flags pages that have zero inbound references AND a last-edited date older than the staleness window.
  4. 4For each flagged orphan, an action call archives the page in Notion.
  5. 5A final step posts a Slack digest listing every archived page with its title, last-edited date, and a restore link.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect NotionPages, databases, comments.
  2. 2
    Connect SlackChannels, DMs, threads, mentions.
  3. 3
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  4. 4
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  5. 5
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.