Wazend API icon

Wazend API

Interact with Wazend API

Overview

This node, named "Wazend API," allows interaction with the Wazend API to perform various operations on different resources. Specifically, for the resource Grupo and operation Actualizar Imagen Del Grupo, it updates the profile picture of a specified group by setting a new image URL. This is useful in scenarios where group images need to be refreshed or changed dynamically, such as updating branding, event-specific images, or correcting outdated pictures.

Practical example: Automatically update the group photo of a chat group when a marketing campaign starts, ensuring all members see the latest promotional image.

Properties

Name Meaning
Nombre De La Instancia The name of the instance that will perform the image update on the group.
ID Del Grupo The unique identifier (JID) of the group whose image will be updated.
URL De La Imagen The URL of the new image to set as the group's profile picture.

Output

The node outputs a JSON array containing the response from the Wazend API after attempting to update the group image. The exact structure depends on the API's response but typically includes confirmation of success or details about the updated group image.

No binary data output is indicated.

Dependencies

  • Requires an API key credential for authenticating with the Wazend API.
  • The base URL for requests is https://docs.wazend.net/wazend.
  • Proper configuration of the API credentials within n8n is necessary to authorize requests.

Troubleshooting

  • Common issues:

    • Invalid or missing instance name or group ID may cause the update to fail.
    • Incorrect or inaccessible image URL can result in the API rejecting the update.
    • Authentication errors if the API key credential is not configured correctly.
  • Error messages:

    • "Operação não suportada." indicates that the requested operation is not supported for the given resource; verify that the resource and operation names are correct.
    • Network or authorization errors may occur if the API endpoint is unreachable or credentials are invalid.
  • Resolutions:

    • Double-check input parameters for correctness.
    • Ensure the image URL is publicly accessible and points to a valid image file.
    • Verify API credentials and permissions.

Links and References

Discussion