Skip to main content

Scan Confluence pages with the REST API for inactive page owners

Workflow preview

Workflow preview
100%
Scan Confluence pages with the REST API for inactive page owners preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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 ownersh...

Best for

  • Document Extraction automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.set, n8n-nodes-base.httprequest, n8n-nodes-base.stickynote, n8n-nodes-base.merge, n8n-nodes-base.filter, n8n-nodes-base.splitout, n8n-nodes-base.aggregate

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Alexander Schnabl.

Original n8n.io source

1.1 Workflow description

Title
Scan Confluence pages with the REST API for inactive page owners
Workflow name
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 (ownerIdaccountId).

  • 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.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When clicking ‘Execute workflow’

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - Set Variables

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 3 - Confluence - Get Spaces

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 4 - Format Space Ids

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 5 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Confluence - Get Pages

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 7 - Confluence - Bulk User Lookup

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 8 - Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 9 - Filter Inactive Owners

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.3

Block 10 - Split Out Users

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 11 - Split Out Pages

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 12 - Format unique ownerIds

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 13 - Filter Inactive Pages

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.3

Block 14 - Aggregate

Type / Role
n8n-nodes-base.aggregate - aggregate
Config choices
Version 1

Block 15 - Set Report Data

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 16 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Sticky Note8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Scan Confluence pages with the REST API for inactive page owners
Complexity advanced
Nodes 20
Categories Document Extraction
Author Alexander Schnabl
Published 28 Dec 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/12238/12238.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Scan Confluence pages with the REST API for inactive page owners do?

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 ownersh...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Document Extraction use case.