Actions90
- Sessions Actions
- Messages - Sending Actions
- Chats Actions
- Messages - Actions Actions
- Groups Actions
- List Groups
- Group Info
- Get Invite Link
- Revoke Invite Link
- Join via Link
- Preview via Link
- Create Group
- Delete Group
- Update Group Description
- Toggle Announcement Mode
- List Participants
- Add Participants
- Remove Participants
- Demote Participants
- Approve Join Request
- Reject Join Request
- List Join Requests
- Get Group Picture
- Set Group Picture
- Delete Group Picture
- Leave Group
- Update Group Name
- Lock Group Edits
- Promote Participants
- Profile Actions
- Server Actions
- Miscellaneous Actions
Overview
This node operation promotes participants in a WhatsApp group using the WARest WhatsApp REST API. It is useful for managing group roles by elevating selected participants to admin status within a specified group session. For example, a user can promote multiple group members to admins to delegate group management tasks.
Use Case Examples
- Promote specific participants in a WhatsApp group to admin status by providing the session ID, group ID, and a list of participant JIDs or phone numbers.
- Automate group role management by integrating this node in workflows that adjust participant permissions based on external triggers or events.
Properties
| Name | Meaning |
|---|---|
| Session | The session ID representing the WhatsApp session to use for the operation. |
| Group ID | The unique identifier (JID) of the WhatsApp group where participants will be promoted. |
| Participants | A collection of participants to promote, each specified by their JID or phone number. |
Output
JSON
json- The response from the WARest API after promoting participants, typically including status or updated group participant information.
Dependencies
- Requires an API key credential for the WARest WhatsApp REST API and the base URL of the API server.
Troubleshooting
- Ensure the session ID is valid and active; invalid or expired sessions will cause errors.
- Verify the group ID is correct and the user has admin privileges in the group to promote participants.
- Participants must be valid JIDs or phone numbers; invalid entries will cause the API call to fail.
- Common error messages include 'Operation not implemented' if the operation name is incorrect, or API errors related to permissions or invalid parameters. Check the API response for detailed error information.
