WaAPI icon

WaAPI

Interact with WaAPI API

Actions85

Overview

The "Update Group Info" operation in the Group resource allows users to modify details of an existing group chat. This node is useful when you want to programmatically update a group's subject (name), description, or picture URL within a messaging platform that supports such group metadata changes.

Practical examples include:

  • Renaming a group to reflect a new project phase.
  • Updating the group description to provide current information or guidelines.
  • Changing the group picture to a new logo or relevant image.

This operation requires specifying the group by its unique identifier and chat ID, then providing any fields to update.

Properties

Name Meaning
Id The unique instance ID of the group to update (required).
Chat Id The chat identifier string for the group, typically formatted like <yyyyyyyy>@g.us.
Subject The new name/title for the group.
Description A textual description to set or update for the group.
Picture Url URL pointing to the new picture/image to use as the group's icon.

Output

The node outputs JSON data representing the response from the API after attempting to update the group info. This typically includes confirmation of the updated fields or error details if the update failed.

No binary data output is indicated.

Dependencies

  • Requires an API key credential for authenticating with the WaAPI service.
  • The node communicates with the WaAPI endpoint at https://waapi.app/api/v1.
  • Proper configuration of the API key credential in n8n is necessary for successful requests.

Troubleshooting

  • Invalid or missing Id: Ensure the group instance ID is correct and provided; otherwise, the update will fail.
  • Incorrect Chat Id format: The chat ID must follow the expected pattern (e.g., <number>@g.us); invalid formats may cause errors.
  • Permission issues: The API key used must have permissions to update group info; insufficient rights will result in authorization errors.
  • Network or API errors: Check connectivity and API status if requests time out or return server errors.
  • Malformed URLs: The Picture Url must be a valid URL; invalid URLs might cause the update to fail or ignore the picture change.

Links and References

Discussion