Wazend API icon

Wazend API

Interact with Wazend API

Overview

This node, named "Wazend API," allows users to interact with the Wazend platform's API. Specifically, for the resource Perfil (Profile) and operation Actualizar Configuraciones De Privacidad (Update Privacy Settings), it enables updating various privacy-related settings of a user profile on the Wazend service. This is useful in scenarios where users want to programmatically control who can see their read receipts, profile photo, status, online presence, last seen time, and group addition permissions.

Practical examples include:

  • Automatically adjusting privacy settings based on user preferences or external triggers.
  • Integrating privacy configuration updates into larger automation workflows, such as onboarding or compliance processes.
  • Managing multiple user profiles' privacy settings in bulk via automation.

Properties

Name Meaning
Nombre De La Instancia The name of the instance to identify which profile or environment the settings apply to.
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 (my contacts), Excepto Contactos Específicos (except specific contacts), Nadie (none).
Estado Who can see your status. Options: Todos (all), Mis Contactos (my contacts), Excepto Contactos Específicos (except specific contacts), Nadie (none).
En Línea Who can see when you are online. Options: Todos (all), Igual Al Visto Por Última (same as last seen).
Visto Por Última Who can see your last seen time. Options: Todos (all), Mis Contactos (my contacts), Excepto Contactos Específicos (except specific contacts), Nadie (none).
Grupos Who can add you to groups. Options: Todos (all), Mis Contactos (my contacts), Excepto Contactos Específicos (except specific contacts).

Output

The node outputs a JSON array containing the response from the Wazend API after attempting to update the privacy settings. The exact structure depends on the API response but typically includes confirmation of updated settings or error details if the update failed.

No binary data output is indicated by the source code or properties.

Dependencies

  • Requires an API key credential for authenticating with the Wazend API.
  • The base URL for requests is https://docs.wazend.net/wazend.
  • The node expects JSON content-type headers and accepts JSON responses.
  • Proper configuration of the API credential within n8n is necessary for successful execution.

Troubleshooting

  • Unsupported Operation Error: If the operation or resource is not supported, the node throws an error stating the operation is not supported. Ensure that the resource is set to "profile-api" and the operation to "update-privacy-settings".
  • Authentication Failures: Missing or invalid API credentials will cause authentication errors. Verify that the API key credential is correctly configured.
  • Invalid Property Values: Providing values outside the allowed options for properties like "Confirmación De Lectura" or "Foto De Perfil" may result in API errors. Use only the specified options.
  • Network Issues: Connectivity problems to the Wazend API endpoint will cause request failures. Check network access and endpoint availability.

Links and References

Discussion