Evolution API icon

Evolution API

Interact with Evolution API

Overview

This node interacts with the Evolution API, specifically allowing users to update their profile picture. The "Actualizar Foto De Perfil" operation under the "Perfil" resource lets users set a new profile image by providing the URL of the desired picture. This is useful in scenarios where automated workflows need to update user profiles dynamically, such as syncing profile pictures from other platforms or updating branding images regularly.

Practical example: Automatically updating a user's profile picture in the Evolution system when they change their avatar on a connected social media platform.

Properties

Name Meaning
Nombre De La Instancia The name of the instance where the profile picture will be updated.
URL De La Imagen 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 structure typically includes confirmation of the update or details about the updated profile. There is no indication that binary data is output by this node.

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 within n8n is necessary.

Troubleshooting

  • Common issues:

    • Providing an invalid or inaccessible image URL may cause the update to fail.
    • Incorrect instance name could lead to errors if the specified instance does not exist.
    • Missing or invalid API credentials will prevent successful API calls.
  • Error messages:

    • "Operação não suportada." indicates that the requested operation is not supported for the given resource; ensure the correct resource and operation names are used.
    • Network or authentication errors will typically come from the API response and should be checked by verifying credentials and network connectivity.

Links and References

Discussion