WAHA

Connect with Whatsapp HTTP API

Actions116

Overview

This node operation adds participants to a specified group in a messaging platform. It is useful for automating group management tasks such as inviting multiple users to a group chat based on dynamic input data. For example, it can be used to add new members to a project discussion group or community chat automatically.

Use Case Examples

  1. Add multiple participants to a WhatsApp group by providing their IDs in JSON format.
  2. Use session and group ID to specify the target group and add participants in batches to avoid rate limits.

Properties

Name Meaning
Session The session name used to identify the messaging session for the operation.
Id The unique identifier of the group to which participants will be added.
Participants A JSON array of participant objects, each containing an ID, representing the users to be added to the group.
Request Options Optional settings to control request behavior such as batching, SSL validation, proxy, and timeout.

Output

JSON

  • success - Indicates whether the participants were successfully added to the group.
  • addedParticipants - Details of the participants that were added to the group.
  • errors - Any errors encountered during the addition of participants.

Dependencies

  • Requires an active session with the messaging platform, identified by the session name provided.
  • May require API authentication credentials configured in the node or environment.

Troubleshooting

  • Ensure the session name is correct and active; otherwise, the operation will fail to connect.
  • Verify the group ID is valid and the user has permission to add participants to the group.
  • Participants JSON must be correctly formatted; invalid JSON will cause parsing errors.
  • Batching settings should be adjusted if requests are throttled or time out.
  • If SSL issues occur, enabling 'Ignore SSL Issues' may help but reduces security.
  • Proxy settings must be correct if used, including authentication if required.

Discussion