GOWA icon

GOWA

Interact with Go WhatsApp Web MultiDevice API

Chat → Label Chat

AI-generated

Overview

This node operation allows users to apply or remove a label on a specific chat in the Go WhatsApp Web MultiDevice API. It is useful for organizing and categorizing chats by assigning meaningful labels, which can help in managing conversations more efficiently. For example, a user can label a chat as 'Important' or 'Work' to quickly identify and filter chats based on these labels.

Use Case Examples

  1. Label a chat with a specific label to mark it as important.
  2. Remove a label from a chat to update its categorization.

Properties

Name Meaning
Device ID Optional device ID override that takes priority over the credential device ID if set.
Chat JID The unique identifier of the chat (e.g., phone@s.whatsapp.net for individual or groupid@g.us for group).
Label ID Unique identifier for the label to be applied or removed.
Label Name Display name for the label to be applied or removed.
Labeled Boolean flag indicating whether to apply (true) or remove (false) the label.

Output

JSON

  • chatJid - The chat identifier for which the label operation was performed.
  • labelId - The unique identifier of the label applied or removed.
  • labelName - The display name of the label applied or removed.
  • labeled - Indicates whether the label was applied (true) or removed (false).

Dependencies

  • Requires an API key credential for the Go WhatsApp Web MultiDevice API to authenticate requests.

Troubleshooting

  • Ensure the Chat JID is correctly formatted and corresponds to an existing chat.
  • Verify that the Label ID and Label Name are valid and exist in the system.
  • If the device ID override is used, confirm it is correct and authorized.
  • Common errors may include authentication failures due to invalid API credentials or permission issues when applying/removing labels.

Discussion