z-api by @jaimeflneto icon

z-api by @jaimeflneto

Interact with Z-API to send WhatsApp messages

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

  1. Automatically leave a WhatsApp group when a project is completed.
  2. 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.

Discussion