Actions22
- Asset Actions
- Autofill Actions
- Brand Template Actions
- Comment Actions
- Design Actions
- Design Import Actions
- Export Actions
- Folder Actions
- Resize Actions
- Key Actions
Overview
The "Create Resize Job" operation in the Resize resource allows users to create a job that resizes an existing design into a new design type. This is useful when you want to adapt a design for different platforms or formats without manually recreating it. For example, resizing a design originally made for an Instagram post into a Facebook cover or a poster.
Practical scenarios include:
- Repurposing marketing materials across social media channels.
- Quickly generating multiple format versions of a design for print and digital use.
- Automating resizing workflows in design-heavy projects.
Properties
| Name | Meaning |
|---|---|
| Design ID | The unique identifier of the design you want to resize. |
| New Design Type | The target design format/type for the resized design. Options: Document, Instagram Post, Instagram Story, Facebook Post, Facebook Cover, Logo, Poster, Presentation, Video, Business Card, Flyer. |
| Resize Title | Optional title for the newly resized design. |
Output
The output JSON contains information about the created resize job. Typically, this includes identifiers and status details that allow tracking the progress of the resize operation. Users can then query the status or retrieve the resized design once the job completes.
If the node supports binary data output (not explicitly shown here), it would represent the actual resized design file or asset.
Dependencies
- Requires an API key credential with access to the Canva API.
- The node makes HTTP POST requests to the Canva API endpoint
/designs/{designId}/resize. - Proper OAuth token or API authentication must be configured in n8n credentials for authorization.
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 New Design Type: Ensure the new design type is one of the supported options listed in the properties.
- Authorization Errors: If the API key or OAuth token is missing or expired, the request will fail. Refresh or reconfigure credentials as needed.
- API Rate Limits: Frequent requests may hit rate limits imposed by the Canva API. Implement retry logic or reduce request frequency.
- Empty Resize Title: This property is optional; leaving it empty should not cause errors but providing a meaningful title helps organize resized designs.
Links and References
- Canva API Documentation (general reference for endpoints and usage)
- n8n Documentation on Credentials (for setting up API authentication)