WAREST icon

WAREST

Interact with the WARest WhatsApp REST API

Overview

This node operation adds participants to a specified WhatsApp group using the WARest WhatsApp REST API. It is useful for automating group management tasks such as inviting multiple users to a group chat. For example, a business can use this node to add new customers or team members to a WhatsApp group automatically based on certain triggers or workflows.

Use Case Examples

  1. Automatically add new customers to a WhatsApp support group after they sign up.
  2. Add team members to a project group chat when they join a project management system.

Properties

Name Meaning
Session Identifier of the WhatsApp session to use for the operation. It can be selected from a list or entered manually.
Group ID The unique identifier (JID) of the WhatsApp group to which participants will be added.
Participants List of participants to add to the group, each specified by their JID or phone number.

Output

JSON

  • json - Response from the WARest API containing the result of the add participants operation.

Dependencies

  • Requires an API key credential for the WARest WhatsApp REST API and the base URL of the API server.

Troubleshooting

  • Ensure the session ID is valid and active; otherwise, the API call will fail.
  • Verify the group ID is correct and the bot or session has permission to add participants to the group.
  • Participants must be valid WhatsApp users; invalid JIDs or phone numbers will cause errors.
  • The node throws an error if no participants are provided when required.
  • Check network connectivity and API key validity if requests fail.

Links

Discussion