Confluence
This page provides information on how to connect to Confluence. It enables users to perform actions such as creating pages, updating content, searching spaces, managing blog posts, and retrieving content by various criteria.
Connect Confluence
To connect to Confluence, you need to authenticate using your Confluence credentials. This authentication provides secure access to your Confluence workspace and content.
To authenticate with Confluence, you need to provide your Confluence domain and API token:
- Log in to your Confluence instance (e.g.,
https://your-domain.atlassian.net) - Generate an API token:
- Go to Atlassian Account Settings
- Click "Create API token"
- Give your token a name (e.g., "Appsmith Integration")
- Copy the generated token
- In the Appsmith Confluence datasource configuration:
- Enter your Confluence domain (e.g.,
your-domain.atlassian.net) - Enter your email address associated with your Atlassian account
- Paste the API token in the password/token field
- Enter your Confluence domain (e.g.,
Query Confluence
The following section provides a reference guide describing available commands and their parameters for interacting with Confluence.
Create Page
Creates a new page in a specified Confluence space. This command allows you to define page details such as title, content, and parent page, and returns the created page's information including its ID for future reference.
Space Id string
The unique identifier of the space where the page will be created.
To find a space ID:
- In Confluence, navigate to the space
- Look at the URL:
https://your-domain.atlassian.net/wiki/spaces/[SPACE_KEY] - The space key in the URL is the space ID
- Alternatively, use the "Get Space By Id" or "Search Spaces" commands to retrieve space IDs
Space IDs are typically short alphanumeric codes (e.g., TEAM, DOCS, HR).
Example:
DOCS
Status string
The status of the page being created. This determines whether the page is published immediately or saved as a draft.
Valid values:
current- The page will be published and visible to users with appropriate permissionsdraft- The page will be saved as a draft and only visible to the creator
Example for publishing immediately:
current
Example for saving as draft:
draft
Title string
The title of the page. This appears at the top of the page and in navigation menus, search results, and page lists.
The title is required if the page status is not set to draft. It should be descriptive and concise.
Example:
Project Requirements Documentation