OpenWA icon

OpenWA

Interact with OpenWA WhatsApp API Gateway

Actions164

Group → Set Member Label

AI-generated

Summary

Set or clear a label for a specific member within a WhatsApp group to display beside their name.

Inputs

  • Session Name or ID (required) — The ID of the WhatsApp session to use. Select from available sessions or specify via expression.
  • Group Name or ID (required) — The WhatsApp group ID (JID) where the member belongs, e.g., 120363021234567890@g.us. Select from groups of the chosen session or specify via expression.
  • Member Label — A text label (up to 30 UTF-16 code units) to assign to this account's member entry in the group. Leave empty to remove the existing label. Note that this requires OpenWA version 0.27.0 or later; Baileys engine returns error 501 for this operation.

Output shape

a standard JSON object indicating success or failure of setting the member label

The operation returns confirmation of the label update or clearing. Labels exceeding the length limit or unsupported by the WhatsApp engine will cause errors. The node requires specifying both the session and group ID and handles only one member label change per execution.

Links

Discussion