Evolution API icon

Evolution API

Interact with Evolution API

Overview

This node interacts with the Evolution API to update privacy settings of a user profile. Specifically, for the "Perfil" resource and the "Actualizar Configuraciones De Privacidad" operation, it allows users to configure who can see their read receipts, profile photo, status, online presence, last seen time, and who can add them to groups.

Common scenarios include:

  • Adjusting privacy preferences on messaging or social platforms.
  • Automating privacy configuration updates across multiple user profiles.
  • Integrating privacy setting management into workflows that handle user data compliance.

Practical example:
A user wants to ensure that only their contacts can see their profile photo and status but wants everyone to see when they are online. This node can be used to programmatically set those preferences.

Properties

Name Meaning
Nombre De La Instancia The name of the instance where the profile exists (string input).
Confirmación De Lectura Who can see when you have read messages. Options: Todos (all), Nadie (none).
Foto De Perfil Who can see your profile photo. Options: Todos (all), Mis Contactos (contacts), Excepto Contactos Específicos (contact blacklist), Nadie (none).
Estado Who can see your status. Options: Todos (all), Mis Contactos (contacts), Excepto Contactos Específicos (contact blacklist), Nadie (none).
En Línea Who can see when you are online. Options: Todos (all), Igual A Visto Por Última Vez (match last seen).
Visto Por Última Vez Who can see your last seen time. Options: Todos (all), Mis Contactos (contacts), Excepto Contactos Específicos (contact blacklist), Nadie (none).
Grupos Who can add you to groups. Options: Todos (all), Mis Contactos (contacts), Excepto Contactos Específicos (contact blacklist).

Output

The node outputs a JSON array containing the result of the privacy settings update operation. The exact structure depends on the Evolution API response but typically includes confirmation of updated settings or error details if the update failed.

No binary data output is indicated.

Dependencies

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

Troubleshooting

  • Unsupported Operation Error: If the operation or resource is not supported, the node throws an error indicating the unsupported function. Ensure the correct resource ("profile-api") and operation ("update-privacy-settings") are selected.
  • API Authentication Failures: Errors related to authentication usually mean the API key credential is missing or invalid. Verify the API key setup.
  • Invalid Property Values: Providing values outside the allowed options may cause errors. Use only the specified options for each property.
  • Network Issues: Connectivity problems with the Evolution API endpoint will prevent successful execution.

Links and References

Discussion