Evolution API icon

Evolution API

Interact with Evolution API

Overview

The node "Evolution API" allows interaction with the Evolution API service. Specifically, for the resource Grupo and operation Actualizar Imagen Del Grupo, it updates the profile picture of a specified group by setting a new image URL. This is useful in scenarios where group images need to be refreshed or changed dynamically, such as updating branding, event-specific images, or correcting outdated pictures.

Practical example:

  • Automatically update a WhatsApp group’s profile picture when a marketing campaign starts by providing a new image URL.
  • Change the group image to reflect seasonal themes or announcements without manual intervention.

Properties

Name Meaning
Nombre De La Instancia The name of the instance that will perform the image update on the group.
ID Del Grupo The unique identifier (JID) of the group whose image will be updated.
URL De La Imagen The URL of the new image to set as the group's profile picture.

Output

The node outputs a JSON array containing the result of the update operation. The exact structure depends on the Evolution API response but typically includes confirmation of success or failure and any relevant metadata about the updated group image.

No binary data output is indicated.

Dependencies

  • Requires an API key credential for authenticating with the Evolution API.
  • The node expects the Evolution API base URL https://doc.evolution-api.com/api-reference and uses JSON content type headers.
  • Proper configuration of the API credentials within n8n is necessary.

Troubleshooting

  • Operation not supported error: If the selected operation or resource is not implemented, the node throws an error indicating unsupported operation. Ensure the correct resource ("groups-api") and operation ("update-group-picture") are selected.
  • Invalid or missing parameters: Missing required fields like instance name, group ID, or image URL will cause failures. Verify all required inputs are provided.
  • API authentication errors: Incorrect or expired API keys will prevent successful calls. Check and update credentials if needed.
  • Image URL issues: If the provided image URL is invalid or inaccessible, the update may fail. Confirm the URL points to a valid, publicly accessible image.

Links and References

Discussion