Wazend API icon

Wazend API

Interact with Wazend API

Overview

The node named "Wazend API" provides integration with the Wazend messaging platform, allowing users to perform various operations on messaging resources. Specifically, for the resource Mensaje and operation Reaccionar Mensaje, this node enables sending an emoji reaction to a specific message within a chat. This is useful in scenarios where automated or programmatic acknowledgment or feedback on messages is needed, such as reacting to customer inquiries, monitoring chat activity, or automating social interactions.

Practical examples include:

  • Automatically reacting with a thumbs-up emoji when a support ticket message is received.
  • Sending custom emoji reactions based on message content analysis.
  • Marking messages as acknowledged or flagged by adding reactions.

Properties

Name Meaning
Nombre De La Instancia The name of the Wazend instance to connect to.
Número Del Chat The identifier (number) of the chat where the target message is located.
ID Del Mensaje The unique ID of the message that will receive the reaction.
Mensaje Propio Boolean indicating whether the message is sent by yourself (true) or another user (false).
Emoji De La Reacción The emoji character to use as the reaction (e.g., 👍).

Output

The node outputs a JSON array containing the result of the reaction operation. Each item in the output corresponds to the response from the Wazend API after attempting to add the reaction to the specified message. The exact structure depends on the API response but generally includes confirmation of success or error details.

No binary data output is indicated.

Dependencies

  • Requires connection to the Wazend API service.
  • Needs an API authentication credential configured in n8n to authorize requests.
  • The node uses a base URL pointing to https://docs.wazend.net/wazend for API calls.
  • Proper configuration of the instance name and valid chat/message identifiers are necessary.

Troubleshooting

  • Common issues:

    • Invalid or missing instance name may cause connection failures.
    • Incorrect chat number or message ID will result in errors or no reaction applied.
    • Using an unsupported emoji or invalid format might cause the API to reject the request.
    • Lack of proper API credentials or expired tokens will lead to authentication errors.
  • Error messages:

    • "Operação não suportada." indicates the requested operation is not supported for the selected resource; verify resource and operation names.
    • API errors related to authorization typically require checking the configured API key or token.
    • Message not found or invalid chat errors suggest verifying the input parameters for chat and message IDs.

Links and References

Discussion