Wazend API icon

Wazend API

Interact with Wazend API

Overview

This node, named "Wazend API," allows users to interact with the Wazend messaging platform by sending different types of status updates (stories) from a specified instance. It supports sending text, image, video, or audio statuses to either all contacts or a selected list of contacts. This is useful for broadcasting updates, announcements, or multimedia content to contacts in an automated workflow.

Practical examples include:

  • Sending a text status update announcing a new product launch.
  • Sharing an image or video status with promotional content.
  • Broadcasting an audio message as a status update to all contacts.

Properties

Name Meaning
Nombre De La Instancia The name of the instance that will send the status update.
Tipo Del Status The type of status to publish. Options: Status De Texto (text), Status De Imagen (image), Status De Video (video), Status De Audio (audio).
Contenido O URL The content or URL of the image/video/audio to be published. Required for media statuses.
Texto Para Status De Imagen/Video Caption text for image or video statuses. Optional descriptive text accompanying the media.
Color Del Fondo Background color for the status text (hex color code).
Fuente Del Texto Font type for the text status. Options: SERIF, NORICAN REGULAR, BRYNDAN WRITE, BEBASNEUE REGULAR, OSWALD HEAVY.
Enviar a Todos Boolean flag indicating whether to send the status to all contacts.
Lista De Contactos Comma-separated list of contacts who will receive the status. Required if not sending to all.

Output

The node outputs a JSON array containing the result of the status sending operation. Each item in the output corresponds to the response from the Wazend API after attempting to send the status update. The exact structure depends on the API response but generally includes confirmation of success or failure and any relevant metadata.

If the status includes media (image, video, audio), the node handles URLs pointing to these resources; however, it does not output binary data directly.

Dependencies

  • Requires an active connection to the Wazend API service.
  • Needs an API authentication token or key configured in n8n credentials (referred generically as "an API key credential").
  • Network access to https://docs.wazend.net/wazend base URL.

Troubleshooting

  • Common issues:

    • Missing or invalid instance name may cause the API call to fail.
    • Providing an empty or incorrect URL/content for media statuses will result in errors.
    • If "Enviar a Todos" is false but no contacts are listed, the node will error due to missing recipients.
    • Incorrect font or color values might not cause errors but could affect the appearance of the status.
  • Error messages:

    • "Operação não suportada." indicates the selected operation or resource is not implemented; verify correct Resource and Operation selection.
    • API errors related to authentication usually mean the API key credential is missing or invalid.
    • Validation errors from the API about content or contact list should be resolved by ensuring required fields are correctly filled.

Links and References

Discussion