WAHA icon

WAHA

Connect with Whatsapp HTTP API

Overview

This node operation creates a new group within a specified session. It is useful for automating group creation in messaging or collaboration platforms where sessions represent user contexts or accounts. For example, it can be used to programmatically create chat groups with specified participants for team communication or customer support.

Use Case Examples

  1. Create a group named 'Project Team' in session 'Session1' with participants specified by their IDs.
  2. Automate group creation for event attendees by passing a list of participant IDs.

Properties

Name Meaning
Session The session name in which the group will be created.
Name The name of the group to be created.
Participants A JSON array of participant objects, each containing an ID, to be added to the group.
Request Options Optional settings for the request such as batching, SSL certificate validation, proxy, and timeout.

Output

JSON

  • id - The unique identifier of the created group.
  • name - The name of the created group.
  • participants - The list of participants added to the group.
  • session - The session name in which the group was created.

Dependencies

  • Requires an API key or authentication token for the messaging or collaboration platform to create groups.

Troubleshooting

  • Ensure the session name is valid and active; invalid sessions will cause errors.
  • Participants must be provided as a valid JSON array with correct participant IDs; malformed JSON or invalid IDs will cause request failures.
  • Timeout errors may occur if the server is slow or unresponsive; increase the timeout setting if needed.
  • SSL certificate errors can be bypassed by enabling the 'Ignore SSL Issues' option, but this reduces security.

Discussion