Actions10
- Asset Actions
- Brand Template Actions
- Design Actions
- Export Actions
- Folder Actions
Overview
This node integrates with the Canva API to create an export job for a specific design. It allows users to export their Canva designs into various formats such as PDF, PNG, JPG, or MP4. This is useful when you want to programmatically generate downloadable or shareable files from your Canva designs within an automated workflow.
Common scenarios include:
- Automatically exporting finalized designs for distribution or archiving.
- Generating image or video assets in different formats for marketing campaigns.
- Creating PDFs of presentations or documents designed in Canva for offline use.
Example: Export a presentation design as a PDF file to send it via email or upload it to a document management system.
Properties
| Name | Meaning |
|---|---|
| Design ID | The unique identifier of the Canva design you want to export. |
| Export Format | The format to export the design in. Options are: PDF, PNG, JPG, MP4. |
Output
The node outputs JSON data representing the response from the Canva API after creating the export job. This typically includes details about the export job such as its ID, status, and possibly URLs or metadata related to the exported file once the job completes.
If the export job produces binary data (e.g., the actual exported file), this would be handled asynchronously by checking the export job status with another operation; this node itself initiates the export job but does not directly output the binary content.
Dependencies
- Requires an API key credential for authenticating with the Canva API.
- The node uses the Canva REST API endpoint
https://api.canva.com/rest/v1. - Proper configuration of the API key and environment (sandbox or production) in n8n credentials is necessary.
Troubleshooting
- Invalid Design ID: If the provided design ID does not exist or is incorrect, the API will return an error. Verify the design ID before running the node.
- Unsupported Export Format: Using an unsupported export format may cause the request to fail. Use one of the supported options: PDF, PNG, JPG, MP4.
- API Authentication Errors: Ensure that the API key credential is valid and has the necessary permissions.
- Export Job Failures: Sometimes export jobs may fail due to internal Canva issues or invalid parameters like page numbers or quality settings if used. Check the job status using the "Get Export Job" operation to diagnose.
- Rate Limits: Excessive requests might trigger rate limiting by Canva's API. Implement retries or delays if needed.
Links and References
- Canva API Documentation
- Canva Export API Reference
- n8n Documentation on Creating Custom Nodes