WAHA

Connect with Whatsapp HTTP API

Actions116

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 customer support categorization or marketing segmentation. For example, a user can fetch all chats labeled as 'Support' to process or analyze customer inquiries.

Use Case Examples

  1. Fetch all chats labeled with a specific label ID to analyze customer support conversations.
  2. Retrieve chats by label to automate follow-up messages for marketing campaigns.

Properties

Name Meaning
Session The session name to identify 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 certificate handling, proxy settings, and timeout configuration.

Output

JSON

  • chats - Array of chat objects associated with the specified label.
  • labelId - The ID of the label used to filter chats.
  • session - The session name used for the request.

Dependencies

  • Requires a WhatsApp session identified by the session name to authenticate and perform the operation.

Troubleshooting

  • Ensure the session name is valid and active; otherwise, the node will fail to retrieve chats.
  • Verify the label ID exists and is correctly specified to avoid empty or error responses.
  • If using batching, configure batch size and interval appropriately to prevent rate limiting or timeouts.
  • Check proxy and SSL settings if network issues occur during the request.

Discussion