Evolution API icon

Evolution API

Interact with Evolution API

Overview

This node, named "Evolution API," allows interaction with the Evolution API service. Specifically, for the resource "Perfil" (Profile) and operation "Remover Foto Do Perfil" (Remove Profile Photo), it enables users to remove a profile photo from a specified instance within the Evolution API system. This can be useful in scenarios where profile images need to be updated or deleted as part of user management or data cleanup workflows.

Practical examples include:

  • Automatically removing outdated or inappropriate profile photos.
  • Managing user profiles by clearing profile pictures before uploading new ones.
  • Integrating with other systems that require profile photo removal as part of their process.

Properties

Name Meaning
Nome Da Instância The name of the instance where the profile photo will be removed. This is a required string input.

Output

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

If the API returns binary data (e.g., image files), it would be handled accordingly, but based on this operation (removing a photo), the output is expected to be JSON confirming the action.

Dependencies

  • Requires an API key credential for authenticating with the Evolution API.
  • The base URL for requests is set to https://doc.evolution-api.com/api-reference.
  • Proper configuration of the API credentials in n8n is necessary for successful execution.

Troubleshooting

  • Operation Not Supported Error: If you receive an error stating the operation is not supported, ensure that the resource is set to "Perfil" and the operation to "Remover Foto Do Perfil". This error occurs if the combination is invalid or not implemented.
  • Authentication Errors: Verify that the API key credential is correctly configured and has the necessary permissions.
  • Instance Name Issues: Make sure the "Nome Da Instância" property is correctly filled with a valid instance name; otherwise, the API call may fail.
  • API Response Errors: Check the API response message for details if the removal fails, such as if the profile photo does not exist or the instance is incorrect.

Links and References

Discussion