Actions50
- Event Actions
- Message Actions
- Instance Actions
- Group Actions
- Community Actions
- Contact Actions
- Chat Actions
- Profile Actions
Overview
This node interacts with the Z-API to perform operations related to WhatsApp groups. Specifically, the 'Leave Group' operation allows a user to leave a specified WhatsApp group by providing the group's ID. This is useful for automating group management tasks, such as exiting groups programmatically when certain conditions are met.
Use Case Examples
- Automatically leave a WhatsApp group when a project is completed.
- Exit multiple groups based on user preferences or inactivity.
Properties
| Name | Meaning |
|---|---|
| Group ID | The unique identifier of the WhatsApp group to leave. |
Output
JSON
json- The JSON response from the Z-API indicating the result of the leave group operation, typically including success or error information.
Dependencies
- Requires an API key credential for Z-API to authenticate requests.
Troubleshooting
- Ensure the provided Group ID is correct and the bot/user has permission to leave the group.
- Common errors include invalid group ID or authentication failures; verify API credentials and group membership status.
Links
- Z-API Documentation - Official documentation for Z-API, which provides details on available WhatsApp API operations including group management.