Canva icon

Canva

Trabalhe com a API Connect do Canva para designs e assets

Actions22

Overview

This node integrates with the Canva API to manage autofill jobs, specifically allowing users to retrieve the status and details of an existing autofill job. Autofill jobs in Canva are used to automatically populate brand templates with data, which is useful for automating design generation workflows such as creating personalized marketing materials or batch-generating customized documents.

A practical example: You have created a brand template in Canva and started an autofill job to generate multiple versions filled with different customer data. Using this node's "Get Job" operation, you can check the progress or result of that autofill job by providing its job ID.

Properties

Name Meaning
Job ID The unique identifier of the autofill job whose status you want to retrieve.

Output

The node outputs JSON data representing the autofill job's current status and details as returned by the Canva API. This typically includes information such as job state (e.g., pending, completed), any errors, and metadata about the generated designs.

The node does not output binary data.

Dependencies

  • Requires an API authentication token credential for the Canva API.
  • The node makes HTTP GET requests to the endpoint /autofills/{jobId} on the Canva API base URL https://api.canva.com/rest/v1.
  • Proper configuration of the API key or OAuth token in n8n credentials is necessary.

Troubleshooting

  • Invalid or missing Job ID: If the provided Job ID is incorrect or empty, the API will return an error indicating the job was not found. Ensure the Job ID is correct and corresponds to an existing autofill job.
  • Authentication errors: If the API token is invalid or expired, the request will fail with an authorization error. Refresh or reconfigure the API credentials.
  • Network issues: Connectivity problems may cause request failures. Verify network access to the Canva API.
  • API rate limits: Excessive requests might be throttled by Canva. Implement retry logic or reduce request frequency if needed.

Links and References

Discussion