canva

n8n community node for Canva API integration - Create designs, export, manage assets, brand templates, autofill and more

Package Information

Released: 1 mo ago
Downloads: 17 weekly / 44 monthly
Latest Version: 1.1.1
Author: xNkee

Available Nodes

Documentation

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-canva

n8n GUI

  1. Go to Settings > Community Nodes
  2. Select Install
  3. Enter n8n-nodes-canva
  4. Agree to the risks
  5. 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:

  1. Create an app in the Canva Developer Portal

  2. Configure OAuth2 with the following scopes:

    • design:content:read
    • design:content:write
    • design:meta:read
    • asset:read
    • asset:write
    • folder:read
    • folder:write
    • brandtemplate:meta:read
    • brandtemplate:content:read
    • comment:read
    • comment:write
    • profile:read
  3. 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 declara grantType: 'pkce', que é o que faz o n8n gerar o
code_verifier/code_challenge. Se você atualizou o node a partir de uma versão anterior, recrie a
credencial
(ou reabra e salve novamente): o grantType fica gravado nos dados da credencial e
credenciais antigas continuarão usando authorizationCode, gerando uma URL de autorização sem PKCE.

Compatibility

  • n8n version 1.0.0 or later
  • Node.js 18.0.0 or later

Resources

License

MIT

Discussion