Wazzap API icon

Wazzap API

Interact with Wazzap API

Overview

This node integrates with the Wazzap API to perform various messaging-related operations. Specifically, for the "Mensagem" resource and the "Reagir Mensagem" operation, it allows users to send a reaction emoji to a specific message in a chat. This is useful in scenarios where quick feedback or acknowledgment is needed without sending a full text reply, such as reacting with a thumbs-up to confirm receipt or agreement.

Practical examples include:

  • Reacting to customer messages in a support chat to indicate that their message was seen.
  • Adding emoji reactions in group chats to express emotions or responses quickly.
  • Automating reactions based on certain triggers or conditions in workflows.

Properties

Name Meaning
Nome Da Instância The name of the Wazzap instance to connect to.
Número Do Chat The chat number (ID) where the target message is located.
ID Da Mensagem The unique identifier of the message that will receive the reaction.
Mensagem Própria Boolean indicating whether the message is sent by yourself (true) or by others (false).
Emoji Da Reação The emoji character used as the reaction (e.g., 👍).

Output

The node outputs a JSON array containing the result of the reaction operation. Typically, this includes confirmation details such as success status or metadata about the reacted message. The exact structure depends on the Wazzap API response but generally confirms that the reaction was successfully applied.

No binary data output is involved in this operation.

Dependencies

  • Requires an active Wazzap API instance configured with appropriate credentials (an API key or token).
  • The node expects the Wazzap API endpoint to be reachable at the configured base URL.
  • Proper permissions on the Wazzap API to send reactions to messages are necessary.

Troubleshooting

  • Common Issues:

    • Invalid or missing instance name can cause connection failures.
    • Incorrect chat number or message ID will result in errors indicating the message cannot be found.
    • Using an unsupported emoji or invalid format may cause the API to reject the reaction.
    • Lack of proper authentication or expired credentials will lead to authorization errors.
  • Error Messages:

    • "Operação não suportada." — This means the requested operation is not supported; verify the resource and operation names.
    • API errors related to message not found or permission denied should be checked against the input parameters and API access rights.
  • Resolutions:

    • Double-check all input fields for correctness.
    • Ensure the API credentials are valid and have required scopes.
    • Confirm the message ID exists in the specified chat.
    • Use standard emojis supported by the platform.

Links and References

Discussion