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 Perfil and operation Atualizar Foto Do Perfil, it updates the profile picture by setting a new image URL as the profile photo. This is useful in scenarios where you want to programmatically update user or system profile images based on external inputs or automated workflows.

Practical examples include:

  • Automatically updating a user's profile picture when they upload a new image elsewhere.
  • Syncing profile pictures across multiple platforms by fetching and updating images via URLs.
  • Setting default or seasonal profile pictures dynamically.

Properties

Name Meaning
Nome Da Instância The name of the instance where the profile picture will be updated.
URL Da Imagem The URL of the image that will be set as the new profile picture.

Output

The node outputs a JSON array containing the response from the Evolution API after attempting to update the profile picture. The exact structure depends on the API's response but typically includes confirmation of success or details about the updated profile.

If the node supports binary data output (not indicated here), it would represent image data or related media, but in this case, the output is purely JSON-based.

Dependencies

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

Troubleshooting

  • Operation not supported error: If you select an unsupported operation or resource, the node throws an error indicating the function is not supported. Ensure you use valid combinations of resource and operation.
  • Invalid or missing properties: Both "Nome Da Instância" and "URL Da Imagem" are required. Missing or invalid values may cause the API call to fail.
  • API authentication errors: Make sure the API key credential is correctly configured and has sufficient permissions.
  • Network or API errors: Check network connectivity and API availability if requests fail.

Links and References

Discussion