Green API icon

Green API

Send WhatsApp messages via Green API

Group → Update Group Name

AI-generated

Overview

This node operation updates the name of an existing WhatsApp group using the Green API. It is useful for scenarios where you need to rename a group programmatically, such as automating group management or integrating group updates into a workflow. For example, you can rename a project discussion group to reflect a new project phase.

Use Case Examples

  1. Renaming a WhatsApp group from 'Old Project Team' to 'New Project Team' automatically when a project phase changes.
  2. Automating group name updates based on external triggers or events.

Properties

Name Meaning
Group Name The new name to assign to the WhatsApp group.
Group ID The unique identifier of the WhatsApp group to update.
Override Credentials Optional credentials override for this specific operation, allowing to specify a different instance ID and API token than the default credentials.

Output

JSON

  • groupId - The ID of the group whose name was updated.
  • groupName - The updated name of the group.
  • success - Indicates whether the update operation was successful.

Dependencies

  • Green API credentials (instance ID and API token)

Troubleshooting

  • Ensure the provided Group ID is correct and corresponds to an existing WhatsApp group.
  • Verify that the API token and instance ID credentials are valid and have the necessary permissions.
  • Check network connectivity to the Green API endpoint.
  • Common error messages include failures to update group name due to invalid group ID or authentication errors. Verify the data sent matches the expected format and credentials.

Discussion