OpenWA icon

OpenWA

Interact with OpenWA WhatsApp API Gateway

Actions138

Label → Add to Chat

AI-generated

Summary

Adds a label to a WhatsApp chat in the selected OpenWA session. Select the chat and label from the available options, or provide their IDs with expressions; the label ID may need to be supplied manually on Baileys because its dropdown is populated by a listing that only works with whatsapp-web.js.

Inputs

  • Session Name or ID (required) — Session to use; select it from the list or provide its ID with an expression.
  • Chat Name or ID (required) — Chat that receives the label. The dropdown lists up to 1,000 chats; use an expression for other chat IDs.
  • Label Name or ID (required) — Label to add. The dropdown is populated by a listing that works only with whatsapp-web.js; on Baileys, provide the label ID with an expression.

Output shape

A single item containing the API response.

The operation is supported on both whatsapp-web.js and Baileys. The UI notice says label listing and editing support varies by engine; Add to Chat works on both.

Links

Discussion