Bailey (WhatsApp) icon

Bailey (WhatsApp)

Interact with WhatsApp via Baileys WebSocket API

Actions122

Label → Set Labels on Chat

AI-generated

Summary

Set multiple labels on a WhatsApp chat by passing the chat JID and an array of label action objects to Bailey. The node calls the chat-label API and returns a success indicator with the JID.

Inputs

  • Chat JID (required) — JID of the chat whose labels to set.
  • Labels (JSON) (required) — JSON array of label action objects passed to the API. Defaults to an empty array.

Output shape

A single item containing a JSON object.

On success, the object contains success: true and the chat jid; it does not return the label objects or API response. Errors follow the node's standard error handling.

Links

Discussion