Canva icon

Canva

Trabalhe com a API Connect do Canva para designs e assets

Actions22

Overview

This node integrates with the Canva API to create an autofill job that automatically fills a brand template with provided data. It is useful for automating the generation of customized designs based on predefined brand templates, saving time and ensuring consistency in branding materials.

Typical use cases include:

  • Automatically generating marketing materials personalized with customer data.
  • Bulk creation of branded content by feeding different datasets into a single template.
  • Streamlining design workflows where repetitive filling of templates is required.

For example, you can provide a brand template ID and JSON data containing specific values to generate multiple versions of a design with different titles or content.

Properties

Name Meaning
Brand Template ID The unique identifier of the brand template to be filled automatically.
Autofill Title Optional title for the generated design created by the autofill job.
Autofill Data JSON object containing the data used to fill the brand template automatically.

Output

The node outputs the response from the Canva API after creating the autofill job. The json output typically contains details about the created job, such as its ID, status, and metadata related to the autofill process.

If the job creation is successful, you receive information that can be used to track the job status or retrieve results later.

The node does not output binary data.

Dependencies

  • Requires an API authentication token (OAuth token) for the Canva API.
  • The node expects the user to configure credentials providing access to the Canva API.
  • Network connectivity to https://api.canva.com/rest/v1 is necessary.

Troubleshooting

  • Invalid Brand Template ID: If the provided brand template ID does not exist or is incorrect, the API will return an error. Verify the ID before running the node.
  • Malformed JSON in Autofill Data: Ensure the JSON data provided for autofill is correctly formatted; otherwise, the request will fail.
  • Authentication Errors: Missing or expired API tokens will cause authorization failures. Refresh or reconfigure credentials as needed.
  • API Rate Limits: Excessive requests may lead to rate limiting by Canva's API. Implement retries or backoff strategies if needed.

Links and References

Discussion