Actions148
- Send messages Actions
- Outbound Messages Actions
- WhatsApp Numbers Actions
- Groups Actions
- Channels Actions
- Chats Actions
- Chat Contacts Actions
- Chat Messages Actions
- Chat Files Actions
- Team Actions
- Labels Actions
- Departments Actions
- Files Actions
- Quick replies Actions
- Queue Actions
- WhatsApp session Actions
- WhatsApp profile Actions
- Business catalog Actions
- Campaigns Actions
- Meeting Links Actions
- User Status Actions
- Webhooks Actions
- Other Actions
Chats → Update Chat Labels
AI-generatedOverview
The node integrates with the WaliChat WhatsApp API to update labels on a specific chat associated with a WhatsApp number. This operation allows users to organize and categorize chats by adding, removing, or replacing labels, which can be useful for managing customer conversations, segmenting chats by topic or priority, or tracking chat statuses.
Practical examples include:
- Adding a "Support" label to incoming chats to route them to the support team.
- Removing outdated or irrelevant labels from a chat.
- Replacing all existing labels with a new set to reflect a change in chat context.
Properties
| Name | Meaning |
|---|---|
| WhatsApp Number | The ID of the WhatsApp number (device) to operate on. |
| Chat ID | The unique identifier of the chat to update labels for (e.g., user chat or group chat ID). |
| Labels | One or more labels to set on the chat. These are strings representing categories or tags. |
| Update Type | How to update the labels on the chat. Options: - Replace All: Replace all existing labels with these. - Add/Update (Upsert): Add new labels or update existing ones. - Remove Only: Remove specified labels only. |
Output
The node outputs JSON data representing the result of the label update operation on the chat. This typically includes confirmation of the updated labels or status information returned by the WaliChat API.
No binary data output is involved in this operation.
Dependencies
- Requires an API key credential for authenticating with the WaliChat WhatsApp API.
- The node depends on the WaliChat service being accessible and properly configured.
- The "WhatsApp Number" must be valid and linked to the user's WaliChat account.
Troubleshooting
- Invalid Chat ID: If the chat ID does not exist or is malformed, the API may return an error. Verify the chat ID format (e.g.,
447362053576@c.usfor users,44736205357600000000@g.usfor groups). - Labels Format: Ensure labels are provided as strings and multiple labels are correctly formatted as an array.
- API Authentication Errors: Check that the API key credential is correctly set up and has sufficient permissions.
- Update Type Misuse: Using "Remove Only" without specifying existing labels may result in no changes; ensure labels to remove are correct.
- Network Issues: Connectivity problems with the WaliChat API will cause failures; verify network access.
Links and References
- WaliChat Official API Documentation (example placeholder, replace with actual URL if available)
- WhatsApp chat ID formats and usage guidelines (refer to WhatsApp Business API docs)