npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-confluence

v0.1.0

Published

Confluence Node for n8n

Readme

n8n-nodes-Confluence

This is an n8n community node for Atlassian Confluence. It lets you query Confluence spaces and pages and, optionally, process images in page content with AI to replace image tags with its descriptions before extracting plaintext.

n8n is a fair-code licensed workflow automation platform.

Installation
Operations
Credentials
Compatibility
Usage
Resources
Version history

Installation

Follow the installation guide in the n8n community nodes documentation. After publishing/installation, restart n8n so it picks up the node from your installed package.

Operations

The Confluence node under ConfluenceSpace supports:

  • Get Spaces (resource: space, operation: getSpaces)

    • Lists spaces with pagination.
    • Parameters: Base URL, optional limit (internally paginated at 100 items).
  • Get Space Content (resource: space, operation: getSpaceContent)

    • Fetches pages for a given space (storage format HTML included), processes images (optional), and returns both original HTML and extracted plaintext.
    • Parameters: Base URL, Space Key, Space Name (optional UI helper), Process Images (boolean), AI Provider/Model/Custom URL (when processing images).

Credentials

The node uses one credential type:

  • Confluence Credentials API (confluenceCredentialsApi)
    • Fields:
      • APIM Subscription Key (string, masked)
      • User Name (string)
      • Password / Token (string, masked)
    • Used for all Confluence REST API calls (e.g. /rest/api/space/...).

Image processing credentials: The AI API key is currently provided as a node parameter (password field) shown only when “Process Images” is enabled. This avoids a UI limitation with conditional display of credentials and ensures a clean configuration experience.

Compatibility

  • Node.js: >= 20 (see engines in package.json).
  • n8n: Tested with n8n 1.106.x.
  • The node compiles to dist/ and registers via the n8n section in package.json:
    • Credentials: dist/credentials/ConfluenceCredentialsApi.credentials.js
    • Nodes: dist/nodes/Confluence/Confluence.node.js

Usage

Basic steps:

  • Add node: Search for “Confluence”.
  • Configure: Set Base URL to your Confluence base (e.g. https://your-domain.atlassian.net/wiki).
  • Credentials: Select “Confluence Credentials account” and provide the required fields.
  • Choose operation:
    • Get Spaces to list available spaces.
    • Get Space Content to extract pages of a space.
  • Optional: Process Images
    • Enable “Process Images” to analyze image attachments with an AI vision model and replace <ac:image>/<img> tags with short descriptions before HTML→text extraction.
    • Provide an API Key (password field).

Output for Get Space Content includes:

  • pages[] each with: spaceKey, spaceName, id, title, body (original HTML), plainText (processed text), webuiLink.

Notes:

  • Attachments are resolved via Confluence’s child attachment endpoint; image binaries are downloaded with proper encoding: null handling to preserve integrity for AI models.
  • Pagination is handled internally with a page size of 100 and safe termination conditions.

Local development

n8n doesn’t hot‑reload community nodes. To test locally:

  1. Build the node

    npm run build
  2. Link into n8n’s custom folder (one‑time)

    npm link // execute in the root of the repository
    mkdir -p ~/.n8n/custom
    cd ~/.n8n/custom
    npm link n8n-nodes-confluence
  3. Start n8n locally (with debug logs enabled)

    N8N_LOG_LEVEL=debug N8N_LOG_PRETTY=true N8N_RUNNERS_ENABLED=true npx -y n8n
  4. Develop

    • After code changes, run npm run build again.
    • Restart n8n to load the new build.

Notes

  • If you change package.json entries (like the n8n registration), rebuild and restart n8n.
  • If you use Docker, you can bind‑mount this package into /home/node/.n8n/custom/node_modules/n8n-nodes-confluence/ and restart the container after builds.

Publishing

Follow these steps to publish the package to npm:

  1. Login to npm

    npm login
  2. Verify metadata in package.json

    • name, version, description, keywords (include n8n-community-node-package), repository, license.
    • files includes dist, README.md, LICENSE.
    • n8n section correctly references built files in dist/.
  3. Build and lint

    npm run prepublishOnly
  4. Bump the version

    npm version patch   # or minor / major
  5. Publish publicly

    npm publish --access public
  6. Verify installation

    • Install into a clean environment or link into ~/.n8n/custom/.
    • Restart n8n and confirm the node appears and works.
  7. Release housekeeping (optional)

    • Tag the release in Git and create a GitHub release/changelog.

Resources

Version history

  • 0.1.0
    • Initial release: list spaces, fetch space content with storage HTML, optional AI image description replacement and plaintext extraction, robust attachment handling, and better error logging.