Canva icon

Canva

Trabalhe com a API Connect do Canva para designs e assets

Actions10

Overview

This node integrates with the Canva API to manage brand templates. Specifically, the List operation under the Brand Template resource retrieves a list of brand templates available to the user. This is useful for workflows that need to fetch and process multiple brand templates, such as automating template selection, auditing available templates, or syncing templates with other systems.

Practical examples include:

  • Automatically retrieving all brand templates to display in a dashboard.
  • Syncing brand templates from Canva into a content management system.
  • Filtering and processing templates based on certain criteria in an automated design workflow.

Properties

Name Meaning
Limit Max number of results to return (minimum 1). Default is 50.

Output

The node outputs JSON data containing the list of brand templates retrieved from the Canva API. The structure typically includes an array of brand template objects, each representing a single template with its metadata (such as ID, name, and other relevant details).

If pagination is supported by the API, the output may also include continuation tokens or metadata to fetch additional pages.

No binary data output is indicated for 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/brand-templates.
  • Proper configuration of the API credentials in n8n is necessary.
  • No additional external dependencies are required beyond the Canva API access.

Troubleshooting

  • Common issues:

    • Invalid or missing API credentials will cause authentication errors.
    • Exceeding the maximum allowed limit or providing invalid parameters may result in API errors.
    • Network connectivity issues can prevent successful API calls.
  • Error messages:

    • Authentication failures usually indicate incorrect or expired API keys; verify and update credentials.
    • Rate limiting errors suggest too many requests in a short time; implement retry logic or reduce request frequency.
    • Parameter validation errors mean input values do not meet API requirements; check property values like limit.

Links and References

Discussion