@xnkee/n8n-nodes-canva
v1.1.1
Published
n8n community node for Canva API integration - Create designs, export, manage assets, brand templates, autofill and more
Maintainers
Readme
n8n-nodes-canva
This is an n8n community node that provides integration with the Canva API.
Canva is a graphic design platform that allows users to create social media graphics, presentations, posters, documents, and other visual content.
n8n is a fair-code licensed workflow automation platform.
Installation
Follow the installation guide in the n8n community nodes documentation.
npm
npm install n8n-nodes-canvan8n GUI
- Go to Settings > Community Nodes
- Select Install
- Enter
n8n-nodes-canva - Agree to the risks
- Select Install
Operations
This node supports the following operations:
Design
- Create - Create a new design (preset or custom dimensions)
- Get - Get a design by ID
- Get Many - List designs with filters
- Get Pages - Get pages of a design
Export
- Create - Export a design to PDF, JPG, PNG, GIF, PPTX, or MP4
- Get - Get export job status
Asset
- Get - Get an asset by ID
- Update - Update asset name/tags
- Delete - Delete an asset
- Upload - Upload an asset from URL
- Get Upload Job - Get upload job status
Folder
- Create - Create a new folder
- Update - Rename a folder
- Move Item - Move a design, folder, or asset to a folder
Brand Template (Canva Enterprise)
- Get - Get a brand template by ID
- Get Many - List brand templates
- Get Dataset - Get autofill dataset fields
Autofill (Canva Enterprise)
- Create - Create an autofill job from brand template
- Generate - Autofill a brand template and export the design in one step (handles polling automatically)
- Get - Get autofill job status
Comment (Preview)
- Create Thread - Create a new comment thread
- Create Reply - Reply to a comment thread
- Get Thread - Get a comment thread
- Get Reply - Get a reply
- Get Many Replies - List replies to a thread
Design Import
- Create from URL - Import a design from external URL
- Get - Get import job status
Resize (Canva Pro)
- Create - Create a resized copy of a design
- Get - Get resize job status
User
- Get Me - Get current authenticated user info
Credentials
This node uses OAuth2 authentication. You need to:
Create an app in the Canva Developer Portal
Configure OAuth2 with the following scopes:
design:content:readdesign:content:writedesign:meta:readasset:readasset:writefolder:readfolder:writebrandtemplate:meta:readbrandtemplate:content:readcomment:readcomment:writeprofile:read
Set your redirect URI to:
https://your-n8n-instance.com/rest/oauth2-credential/callback
PKCE é obrigatório. A Canva Connect API exige PKCE (
code_challenge/code_challenge_method=S256) no endpoint de autorização. A credencial declaragrantType: 'pkce', que é o que faz o n8n gerar ocode_verifier/code_challenge. Se você atualizou o node a partir de uma versão anterior, recrie a credencial (ou reabra e salve novamente): ograntTypefica gravado nos dados da credencial e credenciais antigas continuarão usandoauthorizationCode, gerando uma URL de autorização sem PKCE.
Compatibility
- n8n version 1.0.0 or later
- Node.js 18.0.0 or later
