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 "Get Content Template" operation in the Confluence Cloud node retrieves detailed information about a specific content template by its ID. This includes metadata such as the template's name, associated space or blueprint, and optionally the body content of the template in various formats.
This operation is useful when you want to programmatically access the details of a particular content template within Confluence Cloud, for example:
- To display or use the template content in an external application.
- To audit or manage templates by fetching their properties.
- To integrate template data into automated workflows or documentation pipelines.
Properties
| Name | Meaning |
|---|---|
| Content Template Id | The unique identifier of the content template to retrieve. |
| Additional Fields | Optional extra parameters to customize the response: |
| Expand | A multi-select option to specify which parts of the template to expand in the response. Options include: |
| - Body: Returns the content of the template body. | |
| - Body.Storage: Returns the content of the template body in storage format (Confluence's internal format). |
Output
The output JSON contains the full details of the requested content template. This typically includes:
- Template metadata such as ID, name, type, and associated space or blueprint.
- If expanded, the body content of the template in the requested format(s).
- Other related properties depending on the API response.
No binary data is returned by this operation.
Dependencies
- Requires an authenticated connection to Confluence Cloud via an API key or OAuth token configured in n8n credentials.
- The base URL for API requests is derived from the user's Confluence Cloud domain.
- Permissions required:
- 'View' permission for the space containing the template (for space templates).
- Global 'Can use' permission to view global templates.
Troubleshooting
- Missing or invalid Content Template Id: Ensure the provided template ID is correct and exists in your Confluence instance.
- Permission errors: Verify that the API user has sufficient permissions to view the template and its space.
- Expand parameter issues: If requesting expansions like
body.storage, ensure the template actually contains those fields; otherwise, the response may omit them. - API connectivity problems: Confirm that the Confluence domain and credentials are correctly set up in n8n.