Actions148
- Send messages Actions
- Outbound Messages Actions
- WhatsApp Numbers Actions
- Groups Actions
- Channels Actions
- Chats Actions
- Chat Contacts Actions
- Chat Messages Actions
- Chat Files Actions
- Team Actions
- Labels Actions
- Departments Actions
- Files Actions
- Quick replies Actions
- Queue Actions
- WhatsApp session Actions
- WhatsApp profile Actions
- Business catalog Actions
- Campaigns Actions
- Meeting Links Actions
- User Status Actions
- Webhooks Actions
- Other Actions
Groups → Get Invite Code
AI-generatedOverview
This node interacts with the WaliChat WhatsApp API to perform various operations related to WhatsApp groups. Specifically, the "Get Invite Code" operation under the "Groups" resource retrieves the invite code for a specified WhatsApp group associated with a particular WhatsApp number (device). This invite code can be used to invite new participants to join the group.
Common scenarios where this node is beneficial:
- Automating the retrieval of group invite codes to share them programmatically via other communication channels.
- Managing multiple WhatsApp groups and their invite links in bulk.
- Integrating WhatsApp group management into CRM or marketing automation workflows.
Practical example:
A marketing team wants to automatically generate and distribute invite codes for different WhatsApp groups based on campaigns. Using this node, they can fetch the invite code for each group and send it out via email or SMS without manual intervention.
Properties
| Name | Meaning |
|---|---|
| WhatsApp Number | The ID of the WhatsApp number (device) from which the group invite code will be retrieved. |
| Group ID | The ID of the WhatsApp group for which the invite code is requested. Examples: 447362053576-1500000000 or 447362053576-1500000000@g.us. |
Output
The node outputs JSON data containing the invite code information for the specified WhatsApp group. The exact structure depends on the API response but typically includes fields such as:
- The invite code string or URL that can be shared to invite others.
- Metadata about the group or invite code validity (if provided by the API).
No binary data output is expected from this operation.
Dependencies
- Requires an active connection to the WaliChat WhatsApp API.
- Needs an API key credential configured in n8n to authenticate requests.
- The node relies on dynamic loading of available WhatsApp numbers ("devices") and groups for selection in its properties.
Troubleshooting
Common issues:
- Invalid or expired API key leading to authentication errors.
- Specifying a WhatsApp number or group ID that does not exist or is not accessible by the authenticated user.
- Network connectivity problems preventing API calls.
Common error messages and resolutions:
"Authentication failed": Verify that the API key credential is correctly set up and has necessary permissions."Group not found"or"Invalid group ID": Ensure the selected group ID is correct and belongs to the chosen WhatsApp number."Failed to load devices/groups": Check network connectivity and API service status.
Links and References
- WaliChat WhatsApp API Documentation (example placeholder, replace with actual if available)
- n8n Documentation on Creating Custom Nodes
- WhatsApp Group Invite Links Official Info