Green API icon

Green API

Send WhatsApp messages via Green API

Group → Get Group Data

AI-generated

Overview

This node operation retrieves detailed information about a specific WhatsApp group using the Green API. It is useful for scenarios where you need to fetch metadata or current state of a group, such as its participants, group name, or other group-related data. For example, it can be used to monitor group membership or to display group details in an external application.

Use Case Examples

  1. Fetch group data by providing the Group ID to get current participants and group settings.
  2. Use the retrieved group data to update a CRM or notify users about group changes.

Properties

Name Meaning
Group ID The unique identifier of the WhatsApp group to retrieve data for.

Output

JSON

  • groupId - The unique identifier of the group.
  • groupName - The name of the group.
  • participants - List of participants in the group.
  • admins - List of group admins.
  • creationDate - The date when the group was created.

Dependencies

  • Green API credentials including instance ID and API token for authentication.

Troubleshooting

  • Ensure the Group ID is correctly formatted and corresponds to an existing WhatsApp group.
  • Verify that the Green API credentials (instance ID and API token) are valid and have the necessary permissions.
  • Common error messages include failures to fetch group data due to network issues or invalid parameters; check the error message details for troubleshooting.

Discussion