Wuzapi Group icon

Wuzapi Group

Manage WhatsApp groups with Wuzapi API

Overview

This node allows managing WhatsApp groups via the Wuzapi API. It supports a wide range of group-related operations such as creating groups, retrieving group information, managing participants, setting group properties (name, description, photo, announcement mode, ephemeral messages), handling invite links, and more.

Common scenarios where this node is beneficial include automating WhatsApp group administration tasks like:

  • Creating new groups with specified participants.
  • Updating group settings such as name, description, or photo.
  • Managing group membership by adding, removing, promoting, or demoting participants.
  • Retrieving group details or invite links for sharing.
  • Controlling group message permissions and ephemeral message durations.

For example, an organization could automate the creation of WhatsApp groups for different teams, set appropriate group photos, and manage participant roles programmatically without manual intervention.

Properties

Name Meaning
Group JID JID (unique identifier) of the WhatsApp group. Required for most group-specific operations.
Photo Source Source type for the group photo to set: Binary Data, Base64 encoded image, or URL to image file.
Binary Property Name of the binary property containing the image data when using Binary Data as photo source.
Base64 Image Base64 encoded JPEG image string with data URL prefix, used if Photo Source is Base64.
Photo URL URL pointing to the image file, used if Photo Source is URL.

These properties are specifically relevant for the "Set Photo" operation. The "Group JID" is required to identify which group to update.

Output

The node outputs JSON data representing the response from the Wuzapi API for the executed operation. This typically includes confirmation of the action performed or detailed information about the group or invite link.

If the operation involves setting a photo, the node does not output binary data but sends the image data to the API in the requested format.

Dependencies

  • Requires an API key credential for authenticating with the Wuzapi API.
  • The node depends on the Wuzapi API service being accessible and properly configured.
  • No additional environment variables are explicitly required beyond the API authentication.

Troubleshooting

  • Binary Property Not Found: When using binary data as the photo source, if the specified binary property does not exist in the input data, the node will throw an error indicating the missing property. Ensure the previous node outputs the expected binary data under the correct property name.
  • Invalid Group JID: Many operations require a valid group JID. Providing an incorrect or malformed JID may cause API errors.
  • Invalid Invite Code: For join or invite info operations, ensure the invite code or link is correctly formatted; otherwise, the API may reject it.
  • API Request Failures: Network issues or invalid credentials can cause request failures. Verify API key validity and network connectivity.
  • Base64 Image Format: When providing a base64 image, ensure it includes the data URL prefix (e.g., data:image/jpeg;base64,) and is a valid JPEG image.

Links and References


This summary focuses on the "Set Photo" operation within the Default resource context, describing how to provide the group photo via different input methods and the necessary parameters involved.

Discussion