WAHA

Connect with Whatsapp HTTP API

Actions116

Overview

This node interacts with a chat service to mark a specific chat as unread. It is useful in scenarios where users want to programmatically manage chat statuses, such as marking important conversations as unread for follow-up or notification purposes. For example, it can be used in customer support workflows to flag chats that require further attention.

Use Case Examples

  1. Mark a customer support chat as unread to ensure it gets reviewed later.
  2. Automatically mark chats as unread based on certain triggers or conditions in a workflow.

Properties

Name Meaning
Session The name of the session to use for the chat service connection.
Chat Id The unique identifier of the chat to be marked as unread.
Request Options Additional options to customize the request such as batching, SSL certificate validation, proxy settings, and timeout duration.

Output

JSON

  • json - The response data from marking the chat as unread, typically including status and updated chat information.

Dependencies

  • Requires an API key or session credential to authenticate with the chat service.

Troubleshooting

  • Ensure the session name is correct and active; otherwise, authentication will fail.
  • Verify the chat ID is valid and corresponds to an existing chat; invalid IDs will cause errors.
  • If using a proxy or ignoring SSL issues, ensure network settings allow the connection.
  • Timeout errors may occur if the server is slow or unreachable; consider increasing the timeout setting.

Discussion