Wuzapi Group icon

Wuzapi Group

Manage WhatsApp groups with Wuzapi API

Overview

This node interacts with WhatsApp groups via the Wuzapi API, enabling management of group settings and membership. The "Get Invite Link" operation specifically retrieves the invite link for a given WhatsApp group, optionally resetting (revoking) the old link and generating a new one.

Common scenarios include:

  • Automatically fetching the current invite link to share with new members.
  • Resetting the invite link to invalidate previous links for security reasons.
  • Integrating group invite management into automated workflows, such as onboarding or community management.

Example use case:

  • A community manager uses this node to get the invite link of a WhatsApp group and sends it via email or another messaging platform.
  • After a security incident, the manager resets the invite link to prevent unauthorized access.

Properties

Name Meaning
Group JID The unique identifier (Jabber ID) of the WhatsApp group, e.g., 120363312246943103@g.us. This specifies which group's invite link to retrieve.
Reset Link Boolean option to revoke the existing invite link and generate a new one (true to reset, false to keep the current link).

Output

The output JSON contains the response from the Wuzapi API's invite link endpoint. Typically, this includes the invite link URL and possibly metadata about its status.

Structure example (simplified):

{
  "inviteLink": "https://chat.whatsapp.com/ExampleInviteCode",
  "code": "ExampleInviteCode",
  "groupJid": "120363312246943103@g.us"
}

No binary data is output by this operation.

Dependencies

  • Requires an active connection to the Wuzapi API with valid API authentication credentials configured in n8n.
  • The node depends on the external Wuzapi service to manage WhatsApp groups.
  • Proper network access to the Wuzapi API endpoints is necessary.

Troubleshooting

  • Error: Missing or invalid Group JID
    Ensure the "Group JID" property is correctly set and corresponds to an existing WhatsApp group you have permission to manage.

  • Error: API request failed or unauthorized
    Verify that the API key or authentication token for Wuzapi is correctly configured and has sufficient permissions.

  • Error: Network issues or timeout
    Check your network connectivity and ensure the Wuzapi API is reachable.

  • Reset Link not working as expected
    Confirm that the boolean "Reset Link" is explicitly set to true if you want to revoke the old invite link; otherwise, the existing link will be returned.

Links and References

Discussion