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. 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. This is useful for managing privacy preferences in messaging or social platforms where controlling visibility of personal information is important.

Practical examples:

  • A user wants to hide their "last seen" status from everyone except their contacts.
  • A user prefers that only specific contacts cannot see their profile photo.
  • Restricting group invitations to contacts only to avoid spam.

Properties

Name Meaning
Nome Da Instância The name of the instance (required string).
Confirmação De Leitura Who can see when you have read messages. Options: Todos (all), Ninguém (none).
Foto Do Perfil Who can see your profile photo. Options: Todos (all), Meus Contatos (contacts), Exceto Contatos Específicos (contact_blacklist), Ninguém (none).
Status Who can see your status. Options: Todos (all), Meus Contatos (contacts), Exceto Contatos Específicos (contact_blacklist), Ninguém (none).
Online Who can see when you are online. Options: Todos (all), Igual Ao Visto Por Último (match_last_seen).
Visto Por Último Who can see your last seen time. Options: Todos (all), Meus Contatos (contacts), Exceto Contatos Específicos (contact_blacklist), Ninguém (none).
Grupos Who can add you to groups. Options: Todos (all), Meus Contatos (contacts), Exceto Contatos 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 node expects the Evolution API endpoint to be accessible.
  • No additional environment variables are explicitly required beyond the API authentication.

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 ("profile-api") and operation ("update-privacy-settings") are selected.
  • API authentication errors: Invalid or missing API credentials will cause authentication failures. Verify the API key credential is correctly configured.
  • Invalid property values: Providing invalid options for privacy settings may cause the API to reject the request. Use only the allowed option values as listed in the properties.
  • Network issues: Connectivity problems with the Evolution API endpoint will prevent successful updates.

Links and References

  • Evolution API official documentation (not provided here; consult your API provider)
  • n8n documentation on creating and using custom nodes: https://docs.n8n.io/creating-nodes/
  • General best practices for privacy settings in messaging apps (varies by platform)

Discussion