Canva icon

Canva

Trabalhe com a API Connect do Canva para designs e assets

Actions22

Overview

The node integrates with the Canva API to list designs associated with a user account. It allows retrieving a paginated list of designs filtered by ownership, searchable by text query, and sorted by creation or modification date. This operation is useful for workflows that need to display, process, or manage multiple Canva designs programmatically.

Practical examples include:

  • Automatically fetching recent designs owned or shared with the user for reporting or backup.
  • Searching for specific designs by keywords in their titles or metadata.
  • Paginating through large sets of designs to synchronize them with another system.

Properties

Name Meaning
Limit Maximum number of design items to return (range 1-100).
Continuation Token used for pagination to continue listing from the last retrieved position.
Search Query Text string to search/filter designs by matching content or metadata.
Ownership Filter designs by ownership status: "Owned" (user's own designs), "Shared" (shared with user), or "All".
Sort By Order results by either "Modified" (last modified date) or "Created" (creation date).

Output

The output contains a JSON array of design objects representing the listed designs. Each design object includes metadata such as design ID, title, type, creation/modification timestamps, ownership details, and other relevant attributes provided by the Canva API.

No binary data is output by 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.
  • Proper OAuth token must be configured in n8n credentials to authorize requests.

Troubleshooting

  • Empty Results: If no designs are returned, verify the ownership filter and search query parameters. Also check if the authenticated user has any designs matching the criteria.
  • Pagination Issues: Ensure the continuation token is correctly passed when paginating. An invalid or expired token may cause errors or empty responses.
  • Authentication Errors: Common error messages related to authorization indicate missing or invalid API tokens. Reconfigure the API key credential with valid OAuth tokens.
  • Rate Limits: The Canva API may enforce rate limits; hitting these can cause request failures. Implement retry logic or reduce request frequency if needed.

Links and References

Discussion