Wuzapi Group icon

Wuzapi Group

Manage WhatsApp groups with Wuzapi API

Overview

This node allows managing WhatsApp groups via the Wuzapi API. It supports various group-related operations such as creating groups, retrieving group info, managing participants, and configuring group settings. The "Set Announce" operation specifically controls whether only group admins can send messages in the group, enabling an announcement-only mode.

Practical scenarios include:

  • Enabling announcement mode in a company WhatsApp group to restrict messaging to admins only.
  • Automating group management tasks like updating group descriptions or participant roles.
  • Integrating WhatsApp group controls into workflows for customer support or community management.

Properties

Name Meaning
Group JID The unique identifier (JID) of the WhatsApp group to operate on (e.g., 120363312246943103@g.us). Required.
Announce Mode Boolean flag indicating if only admins can send messages (true) or if all members can (false).

Output

The node outputs JSON data representing the response from the Wuzapi API for the requested operation. For the "Set Announce" operation, the output typically confirms the success or failure of setting the announce mode on the specified group.

The output structure is an array of JSON objects, each corresponding to an input item processed. Each object contains the API response data relevant to the operation performed.

No binary data output is produced by this operation.

Dependencies

  • Requires an active connection to the Wuzapi API with valid API authentication credentials configured in n8n.
  • The node depends on helper functions for phone number validation and media preparation provided by the bundled GenericFunctions module.
  • Network access to the Wuzapi API endpoints is necessary.

Troubleshooting

  • Common issues:

    • Invalid or missing Group JID will cause the API request to fail.
    • Incorrect API credentials or network issues may result in authentication errors or timeouts.
    • Setting announce mode on a non-existent or inaccessible group will return an error.
  • Error messages:

    • "Binary property \"<property>\" not found": Not applicable for this operation but indicates missing binary data when uploading images.
    • API errors returned from Wuzapi will be passed through; check the message for details such as invalid parameters or permission issues.
  • Resolution tips:

    • Verify the Group JID format and existence.
    • Ensure API credentials are correctly set up and have sufficient permissions.
    • Check network connectivity to the Wuzapi service.

Links and References

Discussion