Actions22
- Asset Actions
- Autofill Actions
- Brand Template Actions
- Comment Actions
- Design Actions
- Design Import Actions
- Export Actions
- Folder Actions
- Resize Actions
- Key Actions
Overview
This node integrates with the Canva API to create a new comment thread on a specific design. It allows users to add comments anchored at a particular position within a design, facilitating collaboration and feedback directly on design elements.
Common scenarios where this node is beneficial include:
- Teams collaborating on graphic designs who want to leave contextual comments.
- Designers collecting feedback from clients or colleagues on specific parts of a design.
- Automated workflows that generate comments based on external triggers or review processes.
For example, after generating a design automatically, a workflow could use this node to add a comment thread highlighting areas needing review or approval.
Properties
| Name | Meaning |
|---|---|
| Design ID | The unique identifier of the design to which the comment thread will be added. |
| Message | The content of the comment (maximum 2048 characters). |
| Anchor Point | Optional JSON object specifying the position of the comment in the design, e.g., {"x":100,"y":150}. |
Output
The node outputs the JSON response returned by the Canva API when creating a comment thread. This typically includes details about the newly created comment thread such as its ID, message content, associated design ID, anchor point coordinates if provided, timestamps, and possibly metadata about the author or status.
No binary data output is involved in this operation.
Dependencies
- Requires an API authentication token for the Canva API, configured in n8n credentials.
- The node makes HTTP POST requests to the Canva API endpoint
/commentsto create comment threads. - Proper permissions on the Canva account are necessary to add comments to designs.
Troubleshooting
- Invalid Design ID: If the design ID does not exist or is inaccessible, the API will return an error. Verify the design ID is correct and accessible by the authenticated user.
- Message Length Exceeded: Messages longer than 2048 characters may cause errors. Ensure the comment content respects this limit.
- Authentication Errors: Missing or invalid API tokens will prevent the request. Confirm that the API key or OAuth token is correctly set up in n8n credentials.
- Malformed Anchor Point: If the anchor point JSON is invalid or contains incorrect fields, the API might reject the request. Use valid JSON with numeric
xandyproperties. - API Rate Limits: Frequent requests may hit rate limits imposed by Canva. Implement retry logic or reduce request frequency if needed.