WAHA

Connect with Whatsapp HTTP API

Actions116

Overview

This node operation, 'Put Chat Labels' under the 'Labels' resource, allows users to assign or update labels on a specific chat session. It is useful for categorizing or tagging chat conversations for better organization, filtering, or processing in workflows. For example, it can be used to label customer support chats by issue type or priority.

Use Case Examples

  1. Labeling a chat session with 'urgent' to prioritize it in a support queue.
  2. Tagging chats with 'sales' to route them to the sales team.

Properties

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

Output

JSON

  • success - Indicates if the label update operation was successful.
  • updatedLabels - Details of the labels applied to the chat after the operation.

Dependencies

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

Troubleshooting

  • Common issues include invalid session or chat IDs, malformed JSON in the labels property, and network errors due to proxy or SSL settings.
  • Error messages may indicate authentication failures, invalid input data, or request timeouts. Verify credentials, input formats, and network configurations to resolve these.

Discussion