Wuzapi Group icon

Wuzapi Group

Manage WhatsApp groups with Wuzapi API

Overview

This node allows managing WhatsApp groups using the Wuzapi API. It supports a variety of group-related operations such as creating groups, retrieving group information, managing invite links, joining or leaving groups, updating group settings (name, description, photo, announcement mode, ephemeral messages, locked status), and managing participants (adding, removing, promoting, demoting).

Common scenarios include automating group management tasks in WhatsApp for community management, customer support groups, event coordination, or marketing campaigns. For example, you can automatically create a new group with specified participants, update the group topic, or remove participants based on external triggers.

Properties

Name Meaning
Group JID The unique identifier (JID) of the WhatsApp group, e.g., "120363312246943103@g.us".

(Note: Only the "Group JID" property is relevant for the "Leave" operation as requested.)

Output

The node outputs JSON data representing the response from the Wuzapi API for the performed operation. For the "Leave" operation, the output JSON typically contains confirmation or status information about the leave action on the specified group.

No binary data output is produced by the "Leave" operation.

Dependencies

  • Requires an active connection to the Wuzapi API.
  • Requires an API key credential configured in n8n for authenticating requests to the Wuzapi service.
  • The node uses internal helper functions to validate phone numbers and prepare media data (not applicable for "Leave" operation).
  • Network access to the Wuzapi endpoints is necessary.

Troubleshooting

  • Error: Missing or invalid Group JID
    Ensure that the "Group JID" input is provided and correctly formatted as a valid WhatsApp group JID.

  • API request failures
    Could be due to invalid credentials, network issues, or insufficient permissions. Verify API key validity and network connectivity.

  • Unexpected errors during execution
    If "Continue On Fail" is enabled, errors will be returned as part of the output JSON with an "error" field describing the issue.

Links and References

Discussion