WaAPI icon

WaAPI

Interact with WaAPI API

Actions85

Overview

The node provides an operation to mark a chat as "seen" in a messaging context. This is useful for acknowledging that messages in a specific chat have been read or viewed by the user. Common scenarios include automating read receipts in customer support chats, confirming message delivery status in group conversations, or syncing message states across multiple devices.

For example, after processing incoming messages from a chat, this node can be used to send a "seen" status back to the chat service, indicating that the messages have been acknowledged.

Properties

Name Meaning
Id Instance ID (a numeric identifier for the instance of the chat or session).
Chat Id The unique identifier of the chat to mark as seen. Format: <countrycode><usernumber>@c.us for individual chats or @g.us suffix for groups.

Output

The node outputs JSON data representing the result of the "send seen" operation. This typically includes confirmation that the "seen" status was successfully sent for the specified chat. The exact structure depends on the API response but generally confirms success or failure.

No binary data output is involved.

Dependencies

  • Requires an API key credential for authenticating with the WaAPI service.
  • The node interacts with the WaAPI API endpoint at https://waapi.app/api/v1.
  • Proper configuration of the API authentication credentials within n8n is necessary.

Troubleshooting

  • Common issues:

    • Invalid or missing chat ID format may cause the operation to fail.
    • Incorrect or expired API credentials will prevent successful communication with the WaAPI service.
    • Network connectivity problems can lead to request timeouts or failures.
  • Error messages and resolutions:

    • "Unauthorized" or "Authentication failed": Check that the API key credential is correctly set up and valid.
    • "Invalid chat ID": Verify the chat ID format matches the expected pattern (<countrycode><usernumber>@c.us or group ID with @g.us).
    • "Request timeout": Ensure stable internet connection and that the WaAPI service is reachable.

Links and References

Discussion