WaliChat icon

WaliChat

Interact with WaliChat WhatsApp API

Actions148

Groups → Create Group

AI-generated

Overview

This node integrates with the WaliChat WhatsApp API to manage WhatsApp groups. Specifically, the "Create Group" operation under the "Groups" resource allows users to create a new WhatsApp group by specifying details such as the group name, description, permissions, ephemeral message settings, and initial participants.

Common scenarios for this node include automating group creation for customer support teams, marketing campaigns, or community management where WhatsApp groups are used for communication. For example, a business could automatically create a group for a new project team and add relevant members with appropriate admin rights.

Properties

Name Meaning
WhatsApp Number The ID of the WhatsApp number (device) from which the group will be created.
Group Name The name of the group to be created.
Description Optional description of the group (up to 500 characters).
Group Permissions Settings controlling who can edit group settings, send messages, invite new participants, and whether new participants require admin approval. Options for each permission are: "All Participants" or "Admins Only". The approval setting is a boolean.
Ephemeral Messages Setting for automatically deleting messages after a certain time. Options: Off, 24 Hours, 7 Days, 90 Days.
Participants List of participants to add to the group at creation. Each participant requires a phone number in international format and an optional flag indicating if they should be an admin.

Output

The node outputs JSON data representing the result of the group creation operation. This typically includes details about the newly created group such as its ID, name, participants, and configuration settings. The exact structure depends on the API response from WaliChat.

There is no indication that the node outputs binary data.

Dependencies

  • Requires an active connection to the WaliChat WhatsApp API.
  • Requires an API key credential configured in n8n for authentication with WaliChat.
  • The node relies on internal methods to load available WhatsApp numbers (devices) dynamically.

Troubleshooting

  • Common issues:

    • Invalid or missing WhatsApp number/device ID may cause failures in group creation.
    • Providing improperly formatted phone numbers for participants (must be in international format, e.g., +1234567890).
    • Exceeding character limits in the description field.
    • Insufficient permissions set incorrectly might prevent adding participants or sending messages.
  • Error messages:

    • Errors related to authentication usually indicate missing or invalid API credentials.
    • Validation errors from the API may occur if required fields are missing or malformed.
    • Network or API downtime errors may cause request failures; retrying later or checking API status is recommended.

Links and References

Discussion