WAHA icon

WAHA

Connect with Whatsapp HTTP API

Overview

This node interacts with a chat system to retrieve unread chat messages based on a specified session and chat ID. It is useful for scenarios where users need to monitor or process unread messages in real-time or batch modes, such as customer support chat monitoring or automated message handling.

Use Case Examples

  1. Automatically fetch unread messages from a specific chat session to trigger follow-up actions.
  2. Batch process unread chat messages for analytics or reporting.

Properties

Name Meaning
Session The name of the chat session to query for unread messages.
Chat Id The unique identifier of the chat from which to retrieve unread messages.
Request Options Additional settings to control request behavior such as batching, SSL validation, proxy usage, and timeout.

Output

JSON

  • unreadMessages - Array or collection of unread chat messages retrieved from the specified session and chat ID.

Dependencies

  • Requires connection to a chat service API, authenticated via session credentials.

Troubleshooting

  • Ensure the session name and chat ID are correct and correspond to active chat sessions.
  • If SSL errors occur, consider enabling the 'Ignore SSL Issues' option cautiously.
  • Proxy settings must be correctly configured if used, including authentication details.
  • Timeouts may occur if the server is slow or unresponsive; adjust the timeout setting accordingly.

Discussion