Generate stale page reports for Confluence spaces with REST API v1 and v2
Ready for 3.0What this workflow does
This workflow has 13 nodes and runs manually, when you click “Execute workflow”. It uses only n8n's built-in nodes.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Set Variables (Edit Fields (Set)): sets 4 fields: atlassianDomain, spaceKeys, cutoffDateDays…
- Switch: routes items into 2 branches
- Confluence - Get Outdated Spaces via CQL (HTTP Request): calls an HTTP API
- Confluence - Get Spaces (HTTP Request): calls an HTTP API
- Split Out: splits a list into separate items
- Format Space Ids (Edit Fields (Set)): sets 1 field: spaceIds
- Set Report Data V (Edit Fields (Set)): sets 5 fields: title, status, lastUpdated…
- Confluence - Get Pages (HTTP Request): calls an HTTP API
- Aggregate: combines items into one
- Split Out: splits a list into separate items
…plus 2 more steps. See the full node list below.
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.
Nodes used (7)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Filter
n8n-nodes-base.filter - Switch
n8n-nodes-base.switch - Split Out
n8n-nodes-base.splitOut - Aggregate
n8n-nodes-base.aggregate
From the author
Report stale pages in Confluence This workflow generates a stale page report for Confluence spaces, helping teams keep documentation accurate, relevant, and actively maintained. What it does - Identifies Confluence pages not updated within a defined cutoff…