Actions43
- Space Actions
- Page Actions
- Template Actions
- Search Actions
- Comment Actions
- Get Page Footer Comments
- Get Page Inline Comments
- Get Blog Post Footer Comments
- Get Blog Post Inline Comments
- Get Custom Content Comments
- Get Footer Comments
- Create Footer Comment
- Get Footer Comment By Id
- Update Footer Comment
- Delete Footer Comment
- Get Footer Comment Children
- Get Inline Comments
- Create Inline Comment
- Get Inline Comment By Id
- Update Inline Comment
- Delete Inline Comment
- Get Inline Comment Children
- Label Actions
Overview
The "Update Page" operation in the Confluence Cloud node allows users to update an existing Confluence page by its ID. This operation sends a PUT request to the Confluence Cloud REST API, targeting the specific page identified by the provided ID. The user can specify the updated content and metadata of the page in the request body as JSON.
This operation is useful when you want to programmatically modify the content or properties of a Confluence page without manually editing it through the Confluence UI. For example, you might automate updating documentation pages, changing page titles, or revising page content based on external data sources or workflows.
Practical Examples
- Automatically updating a project status page with the latest metrics.
- Modifying a knowledge base article's content after receiving new information.
- Changing page metadata such as labels or permissions via the API.
Properties
| Name | Meaning |
|---|---|
| Id | The numeric ID of the page to be updated. If unknown, use "Get Pages" operation to find it. (Required) |
| Request Body | JSON string representing the data to update on the page. This should contain the fields and content to modify. |
Output
The output of this operation will be the JSON response from the Confluence Cloud API representing the updated page object. This typically includes details such as the page ID, title, version info, body content, metadata, and other relevant properties reflecting the current state of the page after the update.
No binary data output is involved in this operation.
Dependencies
- Requires access to a Confluence Cloud instance with appropriate permissions.
- Requires an API authentication credential configured in n8n for Confluence Cloud.
- The node uses the Confluence Cloud REST API endpoint
/wiki/api/v2/pages/{id}with HTTP PUT method.
Troubleshooting
- Invalid or missing page ID: Ensure the "Id" property is correctly set to the numeric ID of an existing page. Use "Get Pages" if unsure.
- Malformed JSON in Request Body: The "Request Body" must be valid JSON. Invalid JSON will cause parsing errors.
- Permission errors: The API user must have permission to view and update the specified page and its space.
- API rate limits or connectivity issues: Network problems or API throttling may cause failures; check credentials and network access.
- Content reconciliation conflicts: When updating the "current" version, significant divergence between versions may cause the update to override drafts unexpectedly.
Links and References
- Confluence Cloud REST API - Update Page
- Confluence Query Language (CQL)
- Confluence Cloud API Authentication
If you need further details about other operations or resources, feel free to ask!