WaliChat icon

WaliChat

Interact with WaliChat WhatsApp API

Actions148

Groups → Revoke Invite Code

AI-generated

Overview

This node interacts with the WaliChat WhatsApp API, specifically focusing on managing WhatsApp groups. The "Revoke Invite Code" operation under the "Groups" resource allows users to invalidate an existing invite code for a WhatsApp group. This is useful when you want to prevent further users from joining a group via a previously shared invite link, enhancing group security and control.

Practical scenarios include:

  • Revoking access after an event or campaign ends.
  • Preventing unauthorized users from joining a private group.
  • Managing group membership dynamically by controlling invite codes.

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 whose invite code you want to revoke.
  • WhatsApp Number: Selected from available WhatsApp devices linked to your account.
  • Group ID: Loaded dynamically based on the selected WhatsApp number; represents the target group.

Output

The node outputs a JSON object representing the result of the revoke invite code operation. Typically, this will confirm whether the invite code was successfully revoked or provide details about the action's status.

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the WaliChat WhatsApp API.
  • Needs an API key credential configured in n8n for authentication with WaliChat.
  • Dynamic loading of WhatsApp numbers and groups depends on proper API access and permissions.

Troubleshooting

  • Common Issues:

    • Invalid or expired API key leading to authentication failures.
    • Selecting a WhatsApp number or group ID that does not exist or is not accessible.
    • Network connectivity issues preventing communication with the WaliChat API.
  • Error Messages:

    • Errors related to invalid group IDs usually indicate incorrect input or insufficient permissions.
    • Authentication errors suggest checking the API key credential configuration.
    • If the node returns an error about failing to revoke the invite code, verify that the group exists and the invite code is active.
  • Resolutions:

    • Ensure the API key is valid and has necessary permissions.
    • Confirm the WhatsApp number and group ID selections are correct.
    • Check network connectivity and API endpoint availability.

Links and References

Discussion