WaliChat icon

WaliChat

Interact with WaliChat WhatsApp API

Actions148

Groups → Add Participants

AI-generated

Overview

This node integrates with the WaliChat WhatsApp API to add participants to a WhatsApp group. It is useful for automating group management tasks such as inviting new members or promoting participants to admin status within WhatsApp groups managed via WaliChat.

Practical scenarios include:

  • Automatically adding customers or team members to specific WhatsApp groups based on workflow triggers.
  • Managing group membership dynamically in marketing, support, or community engagement contexts.
  • Assigning admin roles to certain participants when adding them to groups.

Properties

Name Meaning
WhatsApp Number The ID of the WhatsApp number (device) from which the group operation will be performed.
Group ID The unique identifier of the WhatsApp group where participants will be added.
Participants A collection of participants to add, each with:
- Phone Number: Participant's phone in international format (e.g., +1234567890).
- Make Admin: Boolean flag indicating if the participant should be granted admin privileges in the group.

Output

The node outputs JSON data representing the result of the add participants operation. This typically includes confirmation details about the participants added and their roles (admin or not) within the group.

No binary data output is indicated for this operation.

Dependencies

  • Requires an active connection to the WaliChat WhatsApp API.
  • Needs an API key credential configured in n8n for authentication with WaliChat.
  • The node depends on dynamic loading of options for WhatsApp numbers and groups, which requires proper API access and permissions.

Troubleshooting

  • Common issues:

    • Invalid or missing WhatsApp number/device ID can cause failures in identifying the source account.
    • Incorrect or expired group IDs may lead to errors when attempting to add participants.
    • Phone numbers not formatted in international format (+countrycode...) might be rejected.
    • Insufficient permissions to add participants or assign admin roles in the target group.
  • Error messages:

    • Errors related to authentication usually indicate problems with the API key or credential setup.
    • "Group not found" or similar errors suggest invalid group IDs or lack of access.
    • Validation errors on phone numbers or participant data require checking input formats.
  • Resolutions:

    • Verify that the API key credential is correctly set up and has necessary permissions.
    • Confirm the WhatsApp number and group IDs are valid and accessible.
    • Ensure phone numbers follow the international format.
    • Check group settings to allow adding participants and assigning admins.

Links and References

Discussion