Wassenger icon

Wassenger

Interact with Wassenger WhatsApp API

Actions148

Overview

The "Update Chat Read Status" operation in the Chats resource allows users to mark a specific WhatsApp chat as either read or unread. This is useful for managing message notifications and keeping track of which conversations require attention. For example, a customer support team can programmatically mark chats as unread to remind agents to follow up, or mark them as read once the conversation is handled.

Properties

Name Meaning
WhatsApp Number The ID of the WhatsApp number (device) from which the chat belongs.
Chat ID The unique identifier of the chat to update (e.g., 447362053576@c.us for individual, or group).
Unread Status Boolean flag indicating whether to mark the chat as unread (true) or read (false).

Output

The node outputs JSON data representing the result of the update operation. Typically, this will include confirmation that the chat's read status was successfully updated. The exact structure depends on the API response but generally contains status information about the chat.

This node does not output binary data.

Dependencies

  • Requires an active connection to the Wassenger WhatsApp API.
  • Needs an API key credential configured in n8n for authentication with the Wassenger service.
  • The WhatsApp number (device) must be registered and available in the Wassenger system.

Troubleshooting

  • Invalid Chat ID: If the provided chat ID does not exist or is malformed, the node may throw an error. Verify the chat ID format and existence.
  • Unauthorized Access: Errors related to authentication usually indicate missing or invalid API credentials. Ensure the API key is correctly set up.
  • Device Not Found: If the specified WhatsApp number (device) is not recognized, confirm it is properly registered and loaded via the node’s device options.
  • Network Issues: Connectivity problems with the Wassenger API can cause timeouts or failures. Check network access and API availability.

Links and References

Discussion