Canva icon

Canva

Trabalhe com a API Connect do Canva para designs e assets

Actions10

Overview

This node interacts with the Canva API to manage export jobs for designs. Specifically, the "Get Export Job" operation allows users to check the status and details of an existing export job by providing its unique Export ID. This is useful in workflows where you initiate an export of a design (e.g., to PDF or image formats) and need to poll or verify the completion status and retrieve metadata about the export.

Practical examples include:

  • Automating the export process of Canva designs and checking when the export is ready.
  • Integrating Canva exports into larger automation pipelines, such as sending exported files to storage or further processing once the export job completes.

Properties

Name Meaning
Export ID The unique identifier of the export job to check its status.

Output

The node outputs JSON data representing the export job's current status and related information retrieved from the Canva API. This typically includes fields such as job state, progress, result URLs, or error messages if the export failed.

If the export job produces binary data (e.g., the actual exported file), it would be accessible via URLs or references in the JSON output rather than direct binary output from this node.

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/exports/{exportId} to fetch export job details.
  • Proper configuration of the API credentials and environment (sandbox or production) is necessary.

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent Export ID will likely result in an error or empty response.
    • Network or authentication errors if the API key is missing, invalid, or lacks permissions.
    • Rate limiting by the Canva API if too many requests are made in a short time.
  • Error messages:

    • Unauthorized or 401 errors indicate problems with API credentials; ensure the API key is correctly configured.
    • 404 Not Found errors suggest the Export ID does not exist or has expired.
    • Timeout or network errors may require retrying or checking connectivity.

Links and References

Discussion