WAHA icon

WAHA

Connect with Whatsapp HTTP API

Overview

This node operation allows users to assign or update labels on a specific chat within a session. It is useful for categorizing or tagging chats for better organization, filtering, or processing in workflows. For example, labeling customer support chats by issue type or priority.

Use Case Examples

  1. Assign labels to a chat in a customer support session to mark it as 'urgent' or 'billing issue'.
  2. Update chat labels to reflect the current status or category of the conversation.

Properties

Name Meaning
Session The name of the session where the chat exists, used to identify the context for labeling.
Chat Id The unique identifier of the chat to which labels will be applied.
Labels A JSON array of label objects to assign to the chat, each containing an 'id' to specify the label.
Request Options Optional settings for the request such as batching, SSL handling, proxy configuration, and timeout.

Output

JSON

  • success - Indicates whether the label assignment operation was successful.
  • data - Details of the updated chat labels or response from the labeling operation.

Dependencies

  • Requires an API key or authentication token to access the chat service API.

Troubleshooting

  • Ensure the session name and chat ID are correct and exist in the system to avoid 'not found' errors.
  • Validate the JSON format of the labels input to prevent parsing errors.
  • Check network settings if using proxy or if SSL issues occur, especially if 'Ignore SSL Issues' is disabled.
  • Timeout errors may occur if the server is slow or unresponsive; consider increasing the timeout setting.

Discussion