Wassenger icon

Wassenger

Interact with Wassenger WhatsApp API

Actions148

Overview

This node interacts with the Wassenger WhatsApp API to manage WhatsApp groups. Specifically, the "Revoke Invite Code" operation for 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 a temporary event or campaign ends.
  • Preventing unauthorized users from joining a group after an invite has been compromised.
  • 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 will be revoked.
  • WhatsApp Number: Select from available WhatsApp numbers linked to your account.
  • Group ID: Choose the target group; options depend on the selected WhatsApp number.

Output

The node outputs JSON data representing the result of the revoke invite code operation. Typically, this includes confirmation that the invite code was successfully revoked or details about the updated group state.

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 methods to fetch available WhatsApp numbers and groups for selection.

Troubleshooting

  • Common Issues:

    • Invalid or expired API key: Ensure the API key credential is valid and has necessary permissions.
    • Incorrect WhatsApp number or group ID: Verify that the selected device and group exist and are accessible.
    • Network connectivity problems: Confirm that n8n can reach the Wassenger API endpoints.
  • Error Messages:

    • Errors related to authorization typically indicate issues with the API key.
    • "Group not found" or similar messages suggest invalid group IDs or mismatched WhatsApp numbers.
    • Timeout or network errors require checking internet connectivity and API availability.

Resolving these usually involves verifying credentials, refreshing tokens if applicable, and ensuring correct input parameters.

Links and References

Discussion