WasenderAPI icon

WasenderAPI

Manage WasenderAPI sessions, messages, contacts, and groups

Group → Update Group Participants

AI-generated

Overview

This node operation updates participants in a WhatsApp group using the WasenderAPI. It allows promoting or demoting participants within the group. The node is useful for managing group roles dynamically, such as elevating members to admin status or revoking their admin privileges. Practical examples include automating group role assignments based on user activity or membership criteria.

Use Case Examples

  1. Promote a list of participants to admin in a specific WhatsApp group.
  2. Demote certain participants from admin status in a group.

Properties

Name Meaning
Session Selects the WhatsApp session to use for the operation, either from a list or by ID. Optional if the session is auto-selected from incoming data.
Group Specifies the target WhatsApp group by selecting from a list or entering the group's JID (Jabber ID). Required for identifying the group to update participants in.
Participants A collection of participant JIDs to be updated in the group. Multiple participants can be added.
Action The action to perform on the participants, either promoting them to admin or demoting them from admin.

Output

JSON

  • json - The JSON response from the WasenderAPI after updating group participants, containing details about the operation result.

Dependencies

  • WasenderAPI service with an API key credential for authentication

Troubleshooting

  • Ensure the session ID is correctly specified or auto-selected; missing session causes errors.
  • At least one participant JID must be provided; empty participant list triggers an error.
  • The group JID must be valid and accessible by the session; invalid or unauthorized group JID causes failure.
  • API rate limits or server errors may cause retries; configure retry options accordingly.

Links

Discussion