Scan Confluence pages with the REST API for inactive page owners
Scan Confluence pages for inactive page owners
This workflow scans selected Confluence spaces, resolves page ownership and filters pages with inactive owners, helping teams maintain clear ownership and prevent orphaned documentation.
What it does
Scans Confluence pages across selected spaces.
Resolves page owners and checks their account status**.
Filters pages where the owner is inactive** (owner.accountStatus !== active).
Uses Confluence REST API v2 to fetch spaces, pages, and user data.
Resolves page owners efficiently via the users-bulk API.
Produces a consolidated report containing:
Page title
Owner email
Owner account status
Last updated date
Direct page URL
Useful for documentation governance, ownership audits, and cleanup initiatives. How it works
A Set Variables node defines:
Atlassian domain
Space keys to scan
Get Spaces (v2)** retrieves matching spaces and extracts their IDs.
Get Pages (v2)** fetches all pages from the selected spaces.
Unique page ownerIds are collected and resolved using Bulk User Lookup (v2).
Page metadata is merged with user account data (ownerId ↔ accountId).
Pages are filtered to include only those with inactive owners. Setup
Configure the Set Variables node:
atlassianDomain → your Confluence base URL
spaceKeys → comma-separated list of space keys (e.g. ENG, HR)
Create an HTTP Basic Auth credential:
Atlassian email + API token
Assign it to all HTTP Request nodes
Optional enhancements:
Add pagination if spaces contain many pages.
Extend the workflow with email notifications, Slack alerts, or CSV export.
Notes
Requires permission to read Confluence spaces, pages, and users.
Pages are flagged when owner.accountStatus !== active.
Current page fetch limit is 50 items per request.
Related Templates
Generate Product Ad Copy & CTAs with GPT-4 for Slack and Airtable
⚡ AI Copywriter Pro: Instant Ad Copy & CTA Generator Transform product details into compelling marketing copy in second...
Instagram Full Profile Scraper with Apify and Google Sheets
📸 Instagram Full Profile Scraper with Apify and Google Sheets This n8n workflow automates the process of scraping ful...
Compare Lists and Identify Common Items & Differences Using Custom Keys
This workflow compares two lists of objects (List A and List B) using a user-specified key (e.g. email, id, domain) and ...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments