WAHA icon

WAHA

Connect with Whatsapp HTTP API

Overview

This node operation retrieves chats associated with a specific label in a WhatsApp automation context. It is useful for scenarios where users want to filter and manage chats based on labels, such as organizing customer conversations or segmenting chat data for targeted actions.

Use Case Examples

  1. Fetch all chats tagged with a particular label to analyze customer interactions.
  2. Retrieve chats by label to automate follow-up messages or notifications.

Properties

Name Meaning
Session The name of the WhatsApp session to use for the request.
Label Id The identifier of the label to filter chats by.
Request Options Additional options to customize the request such as batching, SSL handling, proxy settings, and timeout.

Output

JSON

  • chats - Array of chat objects associated with the specified label.

Dependencies

  • Requires a WhatsApp session configured with appropriate credentials to access chat data.

Troubleshooting

  • Ensure the session name is correct and active to avoid authentication errors.
  • Verify the label ID exists and is valid to prevent empty or error responses.
  • Check network settings like proxy and SSL options if requests fail or time out.

Discussion