# Confluence

## Confluence

<figure><img src="/files/7uRSxOGyMvona7JuTKE2" alt="" width="263"><figcaption><p>Confluence Node</p></figcaption></figure>

## Confluence Document Loader

Confluence is Atlassian's enterprise wiki and collaboration platform. This module provides functionality to load and process content from Confluence spaces and pages.

This module provides a sophisticated Confluence document loader that can:

* Load content from specific Confluence spaces
* Support both Cloud and Server/Data Center deployments
* Handle authentication with multiple methods
* Limit the number of pages retrieved
* Process content with text splitters
* Customize metadata extraction

### Inputs

#### Required Parameters

* **Base URL**: The Confluence instance URL (e.g., <https://example.atlassian.net/wiki>)
* **Space Key**: The unique identifier for the Confluence space
* **Connect Credential**: Choose between:
  * Confluence Cloud API credentials (username + access token)
  * Confluence Server/DC API credentials (personal access token)

#### Optional Parameters

* **Text Splitter**: A text splitter to process the extracted content
* **Limit**: Maximum number of pages to retrieve (0 for unlimited)
* **Additional Metadata**: JSON object with additional metadata
* **Omit Metadata Keys**: Comma-separated list of metadata keys to omit

### Outputs

* **Document**: Array of document objects containing metadata and pageContent
* **Text**: Concatenated string from pageContent of documents

### Features

* Multi-deployment support (Cloud/Server/DC)
* Flexible authentication options
* Page limit controls
* Content processing capabilities
* Metadata customization
* Error handling
* Text splitting support

### Authentication Methods

#### Confluence Cloud

* Requires username and access token
* Access token generated from Atlassian account settings
* Supports API token authentication

#### Confluence Server/Data Center

* Uses personal access token
* Token generated from Confluence instance
* Supports direct server access

### Notes

* Space Key can be found in Confluence space settings
* Different authentication methods for Cloud vs Server
* Rate limiting may apply based on instance
* Content includes page text and metadata
* Supports both full and partial content retrieval
* Error handling for invalid credentials or URLs

### Finding Space Key

To find your Confluence Space Key:

1. Navigate to the space in Confluence
2. Go to Space Settings
3. Look for "Space Key" in the overview
4. Format example: \~EXAMPLE362906de5d343d49dcdbae5dEXAMPLE


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.flowiseai.com/integrations/langchain/document-loaders/confluence.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
