WaAPI icon

WaAPI

Interact with WaAPI API

Actions83

Overview

The node provides an operation to react to a specific message by adding or removing an emoji reaction. This is useful in messaging workflows where you want to automate responses or acknowledgments to messages, such as marking messages with a thumbs-up emoji when processed or removing reactions if certain conditions are met.

Practical examples:

  • Automatically add a smiley reaction to incoming customer support messages to indicate they have been seen.
  • Remove a reaction from a message if the related task is canceled or invalidated.

Properties

Name Meaning
Id Instance ID (a numeric identifier for the instance).
Message Id The unique identifier of the message to which the reaction will be applied or removed.
Reaction A single smiley emoji to add as a reaction, or an empty string to remove any reaction.

Output

The node outputs JSON data representing the result of the reaction operation on the specified message. This typically includes confirmation that the reaction was added or removed successfully. There is no indication of binary data output.

Dependencies

  • Requires an API key credential to authenticate with the external WaAPI service at https://waapi.app/api/v1.
  • The node depends on the external WaAPI API to perform the reaction action on messages.
  • Proper configuration of the API key credential within n8n is necessary for successful execution.

Troubleshooting

  • Common issues:

    • Invalid or missing message ID can cause the operation to fail.
    • Using an unsupported emoji or incorrect format for the reaction may result in errors.
    • Network or authentication failures with the external API will prevent the reaction from being applied.
  • Error messages and resolutions:

    • "Message not found" — Verify the message ID is correct and exists.
    • "Unauthorized" — Check that the API key credential is correctly configured and valid.
    • "Invalid reaction" — Ensure the reaction is a single valid emoji or an empty string to remove the reaction.

Links and References

Discussion