Wassenger icon

Wassenger

Interact with Wassenger WhatsApp API

Actions148

Overview

This node operation updates the participants of a WhatsApp group using the Wassenger WhatsApp API. It allows modifying participant details such as their phone numbers and admin status within a specified group. This is useful for managing group membership dynamically, for example, adding new members or changing existing members' permissions without leaving the WhatsApp app.

Practical scenarios include:

  • Adding multiple users to a business or community WhatsApp group.
  • Promoting or demoting participants to/from admin roles programmatically.
  • Automating group membership management based on external triggers or workflows.

Properties

Name Meaning
WhatsApp Number The ID of the WhatsApp number (device) from which the group is managed.
Group ID The unique identifier of the WhatsApp group where participants will be updated.
Participants A collection of participants to add or update in the group. Each participant includes:
- Phone Number: The participant's phone number in international format (e.g., +1234567890).
- Make Admin: Boolean flag indicating whether the participant should have admin privileges.

Output

The node outputs JSON data representing the result of the update participants operation. This typically includes confirmation of the updated participants and their statuses within the group. The exact structure depends on the API response but generally confirms success or failure per participant.

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the Wassenger WhatsApp API.
  • Needs an API key credential configured in n8n for authentication.
  • The node depends on dynamic loading of available WhatsApp devices and groups via internal methods (getDevices, getGroups).

Troubleshooting

  • Common Issues:

    • Invalid or missing WhatsApp number/device ID can cause failures in identifying the source device.
    • Incorrect or expired group IDs may lead to errors when updating participants.
    • Phone numbers not in international format might be rejected by the API.
    • Insufficient permissions (e.g., trying to make a participant admin without rights) could cause errors.
  • Error Messages:

    • Errors related to "Invalid group ID" suggest verifying the group exists and the ID is correct.
    • Authentication errors indicate issues with the API key credential setup.
    • Participant-related errors often mean phone numbers are malformed or participants are not part of the group.

Resolving these usually involves checking input parameters, ensuring proper formatting, and confirming API credentials.

Links and References

Discussion