WAREST icon

WAREST

Interact with the WARest WhatsApp REST API

Overview

This node operation marks a specific message as read in a WhatsApp session using the WARest WhatsApp REST API. It is useful for automating message read acknowledgments in WhatsApp chats, ensuring that messages are marked as read programmatically without manual intervention. For example, it can be used in customer support workflows to automatically mark incoming messages as read once processed.

Use Case Examples

  1. Automatically mark a message as read after processing it in a customer support automation.
  2. Mark specific messages as read in bulk based on certain criteria in a WhatsApp session.

Properties

Name Meaning
Session The WhatsApp session identifier to use for the operation. It can be selected from a list of active sessions or entered manually.
Recipient / Chat (to) The phone number or JID of the recipient or chat where the message is located. This is required to identify the chat context for the message.
Message ID The unique identifier of the message to mark as read within the specified chat.

Output

JSON

  • json - The response from the WARest API after marking the message as read, typically confirming the action's success or failure.

Dependencies

  • Requires an API key credential for the WARest WhatsApp REST API and the base URL of the API server.

Troubleshooting

  • Ensure the session ID is valid and active; invalid or expired sessions will cause errors.
  • Verify that the 'to' field correctly identifies the chat or recipient in the correct format (phone number or JID).
  • The message ID must be accurate and correspond to a message in the specified chat; otherwise, the API will return an error.
  • Network or authentication issues with the WARest API can cause failures; check API key validity and network connectivity.

Links

Discussion