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 various Canva resources, including assets such as images, videos, and audio files. Specifically, the Asset - Get operation retrieves detailed information about a specific asset by its ID. This is useful when you want to fetch metadata or details of an existing asset in your Canva account for further processing, reporting, or conditional logic in your workflows.

Common scenarios:

  • Fetching asset details before updating or deleting it.
  • Retrieving asset metadata to display or log in another system.
  • Using asset information to automate design workflows or audits.

Practical example:
You have an automation that processes newly created designs and needs to retrieve associated asset details (like image URLs or tags) to store them in a database or send notifications.


Properties

Name Meaning
Asset ID The unique identifier of the asset to retrieve. This is required to specify which asset's details you want to fetch.

Output

The node outputs the JSON response from the Canva API representing the requested asset's details. This typically includes metadata such as:

  • Asset ID
  • Name
  • Type (image, video, audio)
  • URL or download link
  • Tags
  • Creation and modification timestamps
  • Other relevant metadata fields provided by Canva

If the asset contains binary data (e.g., the actual media file), it would be represented accordingly, but this operation primarily returns metadata in JSON format.


Dependencies

  • Requires an active connection to the Canva API via an API key credential (OAuth token).
  • The node uses the base URL https://api.canva.com/rest/v1.
  • Proper OAuth authentication credentials must be configured in n8n to authorize requests.

Troubleshooting

  • Invalid Asset ID: If the provided Asset ID does not exist or is malformed, the API will return an error indicating the asset was not found. Verify the Asset ID is correct.
  • Authentication Errors: Missing or expired OAuth tokens will cause authorization failures. Ensure the API credentials are valid and refreshed if necessary.
  • API Rate Limits: Excessive requests may trigger rate limiting by Canva. Implement retry logic or reduce request frequency.
  • Network Issues: Connectivity problems can cause request failures. Check network access and proxy settings if applicable.

Links and References

Discussion