Actions98
- Auto Reply Actions
- Chat Actions
- Contact Actions
- Group Actions
- Label Actions
- Message Actions
- Media Actions
- Notification Actions
- Profile Actions
- Scheduler Actions
- Session Actions
- Status Update Actions
- System Actions
- User Actions
- Webhook Actions
Group → Update Members
AI-generatedSummary
Update members of a WhatsApp group by adding, removing, promoting, or demoting specified participants.
Inputs
- sessionId (required) — The Session ID to use for this request.
- jid (required) — WhatsApp JID of the group (e.g., xxxxx@g.us).
- participants (required) — Comma-separated list of WhatsApp JIDs to act upon (e.g., 62811@s.w,62822@s.w).
- memberAction (required) — Action to perform: add, remove, promote, or demote.
Output shape
The API response from the WA-AKG server for the group members update request (typically a success object or the updated group data).
If the request fails, the node throws an error unless Continue On Fail is enabled.
Examples
Example 1: Add two participants to a group
Set sessionId to your active session, jid to the group's JID, participants to '62811@s.w,62822@s.w', and memberAction to 'Add'.