Canva icon

Canva

Trabalhe com a API Connect do Canva para designs e assets

Actions22

Overview

The node integrates with the Canva API to manage brand templates, specifically allowing users to list brand templates available in their Canva account. This operation is useful for workflows that need to retrieve and process multiple brand templates, such as automating brand asset management, syncing templates with other systems, or generating reports on available templates.

For example, a marketing team could use this node to automatically fetch all brand templates and then update a database or trigger notifications when new templates are added.

Properties

Name Meaning
Limit Maximum number of brand templates to return. Accepts values from 1 to 100.
Continuation Token used for pagination to continue listing from the last retrieved position.

Note: The input properties come from the provided JSON and the bundled code confirms these parameters are used as query string parameters in the API request.

Output

The output contains a JSON array of brand templates retrieved from the Canva API. Each item in the array represents a brand template object with its associated metadata (such as ID, name, and other relevant details as defined by the Canva API).

If the response includes pagination, the output may also contain a continuation token to fetch subsequent 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 OAuth2 token-based authentication to authorize requests.
  • The base URL for API requests is https://api.canva.com/rest/v1.
  • Proper configuration of the API credentials within n8n is necessary for successful execution.

Troubleshooting

  • Invalid or missing API token: Ensure the OAuth2 token is correctly configured and has not expired.
  • Limit parameter out of range: The limit must be between 1 and 100; setting it outside this range may cause errors.
  • Continuation token issues: Using an invalid or expired continuation token will result in no results or errors; ensure tokens are used sequentially.
  • API rate limits: Excessive requests may lead to throttling; implement delays or retries as needed.
  • Network or connectivity problems: Verify network access to the Canva API endpoint.

Links and References

Discussion