Actions35
- 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
Overview
The "Create Space" operation in the Confluence Cloud node allows users to create a new space within their Confluence instance. Spaces in Confluence are containers for pages and other content, often used to organize information by team, project, or topic.
This operation is beneficial when automating the setup of new projects or teams, enabling programmatic creation of spaces without manual intervention. For example, an organization could automate the creation of a dedicated space for each new client or project, including predefined settings or templates.
Properties
| Name | Meaning |
|---|---|
| Request Body | The JSON-formatted data representing the details of the space to be created. This should include all necessary fields as per the Confluence API specification for creating a space. |
The Request Body property expects a JSON string that will be parsed and sent as the body of the POST request to create the space.
Output
The output of this operation is the JSON response from the Confluence API after creating the space. It typically includes details about the newly created space such as its ID, key, name, description, and other metadata.
No binary data is involved in this operation.
Dependencies
- Requires an API authentication token credential configured in n8n to authenticate with the Confluence Cloud REST API.
- The Confluence domain must be set in the credentials to form the base URL for API requests.
- The user must have the 'Create Space(s)' global permission in Confluence to successfully perform this operation.
Troubleshooting
- Permission Errors: If the operation fails due to insufficient permissions, ensure the API token belongs to a user with the 'Create Space(s)' global permission.
- Invalid JSON in Request Body: The
Request Bodymust be valid JSON. Malformed JSON will cause parsing errors before the request is sent. - API Endpoint Errors: The API endpoint used is
/wiki/rest/api/space. If the Confluence instance URL or domain is incorrect in credentials, the request will fail. - Missing Required Fields: The API may reject the request if required fields for creating a space are missing in the request body. Consult the Confluence API documentation for required fields.