Canva icon

Canva

Trabalhe com a API Connect do Canva para designs e assets

Actions22

Overview

This node integrates with the Canva API to create new design projects of various types. It allows users to specify the kind of design they want to create (e.g., presentation, Instagram post, flyer) and optionally provide a title for the design. This is useful in automated workflows where generating branded or custom visual content dynamically is needed, such as marketing campaigns, social media management, or content creation pipelines.

For example, a marketing automation workflow could use this node to create a new Instagram Story design template automatically when launching a campaign, or a content team could generate presentation templates on demand.

Properties

Name Meaning
Design Type The type of design to create. Options include Document, Instagram Post, Facebook Cover, Twitter Header, LinkedIn Banner, YouTube Thumbnail, Logo, Business Card, Flyer, Poster, Brochure, Newsletter, Presentation, Video, Resume, Invoice, Certificate, Card, Invitation, Menu, Label, Sticker, Banner, Infographic, Postcard, Book Cover, Album Cover, Mood Board, Desktop Wallpaper, Mobile Wallpaper. Default is Presentation.
Title Optional title for the new design.

Output

The node outputs JSON data representing the newly created design object returned by the Canva API. This typically includes metadata about the design such as its unique ID, type, title, creation timestamps, and possibly URLs or references to access or edit the design within Canva.

No binary data output is involved in this operation.

Dependencies

  • Requires an API authentication token credential for the Canva API.
  • The node makes HTTP POST requests to the Canva API endpoint /designs with the specified design type and optional title.
  • The base URL used is https://api.canva.com/rest/v1.
  • Proper OAuth token setup in n8n credentials is necessary for authorization.

Troubleshooting

  • Authentication errors: If the API token is invalid or expired, the node will fail. Ensure the OAuth token is valid and refreshed.
  • Invalid design type: Providing a design type not supported by Canva will cause an error. Use one of the predefined options.
  • Missing required parameters: The "Design Type" property is mandatory; omitting it will result in failure.
  • API rate limits: Frequent calls may hit Canva's API rate limits; handle retries or backoff accordingly.
  • Network issues: Connectivity problems can cause request failures; verify network access to api.canva.com.

Links and References

Discussion