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 folders within a user's Canva account. Specifically, the "Folder - Create" operation allows users to create a new folder for organizing their designs and assets. This is useful in scenarios where users want to maintain a structured workspace by grouping related designs or assets into separate folders.

Practical examples include:

  • Automatically creating project-specific folders when starting new design projects.
  • Organizing imported assets or designs into dedicated folders for easier management.
  • Structuring folders based on client names or campaigns in marketing workflows.

Properties

Name Meaning
Folder Name The name of the folder to be created.

Output

The output JSON contains the response from the Canva API after creating the folder. Typically, this includes details about the newly created folder such as its unique ID, name, creation timestamp, and possibly parent folder information if specified.

If the node supports binary data output (not indicated here), it would represent any file or media content returned by the API, but for folder creation, only JSON metadata is expected.

Dependencies

  • Requires an API authentication token credential for Canva's API.
  • The node makes HTTP POST requests to https://api.canva.com/rest/v1/folders endpoint.
  • Proper OAuth token setup in n8n credentials is necessary to authorize API calls.

Troubleshooting

  • Common Issues:

    • Missing or invalid API authentication token will cause authorization errors.
    • Providing an empty or invalid folder name may result in validation errors from the API.
    • Network connectivity issues can prevent successful API communication.
  • Error Messages:

    • 401 Unauthorized: Check that the API token is valid and has not expired.
    • 400 Bad Request: Ensure the "Folder Name" property is provided and meets Canva's naming requirements.
    • 429 Too Many Requests: Rate limiting by Canva API; consider adding delays or retries.

Resolving these typically involves verifying credentials, input parameters, and network status.

Links and References

Discussion