WAREST icon

WAREST

Interact with the WARest WhatsApp REST API

Overview

This node operation allows a user to leave a WhatsApp group using the WARest WhatsApp REST API. It requires specifying a session and the group ID to perform the leave action. This is useful for automating group management tasks, such as leaving groups programmatically when certain conditions are met or as part of a workflow involving WhatsApp group interactions.

Use Case Examples

  1. Automatically leave a WhatsApp group when a project is completed.
  2. Leave a group based on a schedule or trigger from another system.

Properties

Name Meaning
Session The WhatsApp session identifier used to authenticate and perform the operation. It can be selected from a list of available sessions or entered manually.
Group ID The unique identifier of the WhatsApp group to leave, typically ending with @g.us or a raw ID string.

Output

JSON

  • json - The JSON response from the WARest API indicating the result of the leave group operation.

Dependencies

  • Requires an API key credential for the WARest WhatsApp REST API and a valid session ID.

Troubleshooting

  • Ensure the session ID is valid and active; otherwise, the API call will fail.
  • Verify the group ID is correct and the session has permission to leave the group.
  • Common errors include invalid session, unauthorized access, or group not found. Check API response messages for details.

Links

Discussion