Canva icon

Canva

Trabalhe com a API Connect do Canva para designs e assets

Actions10

Overview

This node integrates with the Canva API to create new designs programmatically. It allows users to specify the type of design they want to create (such as a presentation, poster, logo, etc.) and optionally provide a title for the design. This is useful in scenarios where automated creation of design templates or assets is needed, such as generating branded presentations, social media posts, or marketing materials on the fly.

Practical examples include:

  • Automatically creating a presentation template for a sales team.
  • Generating Instagram post designs based on campaign data.
  • Creating logos or posters dynamically for events or promotions.

Properties

Name Meaning
Design Type The type of design to create. Options: Document, Instagram Post, Logo, Poster, Presentation, Video
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 details such as the design's unique ID, type, title, creation timestamps, and other metadata related to the design.

No binary data output is involved in this operation.

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/designs to create designs.
  • Proper configuration of the API key and environment (sandbox or production) is necessary within n8n credentials.

Troubleshooting

  • Authentication errors: Ensure that the API key credential is correctly configured and has the necessary permissions.
  • Invalid design type: If an unsupported design type is provided, the API may return an error. Use one of the supported options listed in the properties.
  • Missing required fields: The "Design Type" property is mandatory; omitting it will cause the request to fail.
  • API rate limits: Frequent requests might hit Canva API rate limits; handle such errors by implementing retries or backoff strategies.

Links and References

Discussion