WaliChat icon

WaliChat

Interact with WaliChat WhatsApp API

Actions148

Groups → Remove Participants

AI-generated

Overview

This node interacts with the WaliChat WhatsApp API to manage WhatsApp groups. Specifically, the "Remove Participants" operation under the "Groups" resource allows users to remove one or more participants from a specified WhatsApp group associated with a particular WhatsApp number.

Common scenarios for this node include:

  • Moderating group membership by removing inactive or unauthorized members.
  • Automating group management tasks in customer support or community engagement workflows.
  • Maintaining compliance by removing participants who no longer meet group criteria.

For example, a user can automate the removal of multiple phone numbers from a sales team WhatsApp group after a campaign ends.

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 from which participants will be removed.
Phone Numbers One or more phone numbers (in international format, e.g., +1234567890) to be removed from the group.

Output

The node outputs JSON data representing the result of the remove participants operation. This typically includes confirmation of successful removals or error details if the operation fails.

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the WaliChat WhatsApp API via an API key credential.
  • The node depends on dynamic loading of available WhatsApp numbers ("devices") and groups associated with those devices.
  • Proper configuration of the API key credential within n8n is necessary for authentication.

Troubleshooting

  • Common Issues:

    • Invalid or missing WhatsApp number (device) ID may cause failure to locate the target group.
    • Incorrect or malformed group ID can lead to errors in identifying the group.
    • Phone numbers not formatted correctly (missing country code or plus sign) might not be recognized.
    • Attempting to remove participants who are not members of the group may result in partial failures or errors.
  • Error Messages:

    • Errors related to authorization usually indicate issues with the API key credential; verify that the key is valid and has required permissions.
    • "Group not found" errors suggest the group ID does not exist or is not accessible with the selected WhatsApp number.
    • Validation errors on phone numbers require checking the input format and ensuring numbers are registered WhatsApp users.

To resolve these, ensure all IDs and phone numbers are correct, and the API key is properly configured.

Links and References

Discussion