Evolution API icon

Evolution API

Interact with Evolution API

Overview

The node "Evolution API" provides an interface to interact with the Evolution API, specifically supporting operations on various resources. For the resource "Grupo" and operation "Atualizar Imagem Do Grupo" (Update Group Picture), this node updates the profile image of a specified group by setting a new image URL.

This is useful in scenarios where you want to programmatically change the group picture in a messaging or collaboration platform that supports groups, for example:

  • Automatically updating group images based on events or campaigns.
  • Synchronizing group pictures across multiple platforms.
  • Managing group branding dynamically without manual intervention.

Properties

Name Meaning
Nome Da Instância The name of the instance where the group image will be updated.
ID Do Grupo The unique identifier of the group whose image will be updated.
URL Da Imagem The URL of the image that will be set as the group's profile picture.

Output

The node outputs a JSON array containing the result of the update operation. Each item in the output corresponds to the response from the Evolution API after attempting to update the group picture. The exact structure depends on the API's response but typically includes confirmation of success or error details.

No binary data output is indicated for this operation.

Dependencies

  • Requires an API key credential for authenticating with the Evolution API.
  • The node expects the Evolution API endpoint to be accessible and properly configured.
  • Network connectivity to the Evolution API service is necessary.
  • No additional environment variables are explicitly required beyond the API authentication setup.

Troubleshooting

  • Common Issues:

    • Invalid or missing instance name, group ID, or image URL parameters can cause failures.
    • Network issues or incorrect API credentials will prevent successful communication with the Evolution API.
    • Providing an invalid image URL or unsupported image format may cause the API to reject the update.
  • Error Messages:

    • "Operação não suportada." indicates that the requested operation is not implemented or recognized by the node.
    • API errors returned from the Evolution API will be passed through; these should be checked for details such as authentication failure, invalid parameters, or server errors.
  • Resolutions:

    • Verify all required input properties are correctly filled.
    • Ensure the API key credential is valid and has sufficient permissions.
    • Confirm the image URL is publicly accessible and points to a valid image file.
    • Check network connectivity and API endpoint availability.

Links and References

  • Evolution API official documentation (not provided here, but users should consult their API docs).
  • n8n documentation on creating and using custom nodes: https://docs.n8n.io/creating-nodes/
  • General best practices for managing group images in APIs.

Discussion