Wassenger icon

Wassenger

Interact with Wassenger WhatsApp API

Actions148

Overview

The "Update Group" operation in the Groups resource allows users to modify existing WhatsApp group details via the Wassenger WhatsApp API. This includes changing the group's name, description, permissions, and ephemeral message settings. It is useful for administrators who want to manage group settings dynamically, such as updating group info after creation or adjusting participant permissions.

Practical examples:

  • Renaming a group to reflect a new project or team focus.
  • Updating the group description to provide current information or guidelines.
  • Changing who can send messages or invite participants to maintain group order.
  • Enabling ephemeral messages to automatically delete messages after a set time for privacy.

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 to update (e.g., 447362053576-1500000000@g.us).
Group Name The new name to assign to the group.
Description Optional text describing the group (up to 500 characters).
Group Permissions Settings controlling who can edit settings, send messages, invite participants, and approval needs:
- Edit Settings Permission: All Participants / Admins Only
- Send Messages Permission: All Participants / Admins Only
- Invite Permission: All Participants / Admins Only
- Require Approval: Boolean flag whether new participants require admin approval
Ephemeral Messages Setting for automatic deletion of messages: Off, 24 Hours, 7 Days, or 90 Days

Output

The node outputs JSON data representing the updated group information returned by the Wassenger API. This typically includes confirmation of the updated fields and possibly the current state of the group after modification.

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 of WhatsApp numbers and groups for selection in properties.

Troubleshooting

  • Common issues:

    • Invalid or expired API key causing authentication failures.
    • Incorrect Group ID or WhatsApp Number leading to "group not found" errors.
    • Insufficient permissions in the WhatsApp group to perform updates.
    • Exceeding character limits in the description field.
  • Error messages and resolutions:

    • "Authentication failed": Verify that the API key credential is correctly set and valid.
    • "Group not found": Ensure the selected Group ID corresponds to an existing group under the specified WhatsApp number.
    • "Permission denied": Confirm that the authenticated user has admin rights in the group.
    • "Description too long": Limit the description to 500 characters or fewer.

Links and References

Discussion