WaliChat icon

WaliChat

Interact with WaliChat WhatsApp API

Actions148

Groups → Join Group

AI-generated

Overview

This node enables users to join WhatsApp groups via the WaliChat API by specifying a WhatsApp number and an invitation method. It supports joining groups either through an invite code or an invite URL. This functionality is useful for automating group membership management, such as adding a WhatsApp number to relevant groups for marketing campaigns, customer support channels, or community engagement.

Practical examples:

  • Automatically joining a WhatsApp group when a new user signs up on a platform.
  • Adding a business WhatsApp number to a promotional or announcement group using an invite link.
  • Managing multiple WhatsApp numbers and their group memberships programmatically.

Properties

Name Meaning
WhatsApp Number The ID of the WhatsApp number to use for joining the group.
Join Method Method to join the group; options are:
- Invite Code
- Invite URL
Invite Code The group invitation code (required if Join Method is "Invite Code").
Invite URL The group invitation URL (e.g., https://chat.whatsapp.com/XXXXXXX) (required if Join Method is "Invite URL").

Output

The node outputs JSON data representing the result of the join group operation. This typically includes confirmation details from the API about the success or failure of joining the specified group. The exact structure depends on the API response but generally confirms that the WhatsApp number has joined the group.

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the WaliChat WhatsApp API service.
  • Needs an API key credential configured in n8n for authentication with the WaliChat API.
  • The WhatsApp number used must be registered and authorized within the WaliChat system.
  • The node relies on dynamically loaded WhatsApp numbers (devices) available via the getDevices method.

Troubleshooting

  • Common issues:

    • Invalid or expired invite codes or URLs will cause the join operation to fail.
    • Using a WhatsApp number not registered or authorized in WaliChat will result in errors.
    • Network or API authentication failures due to incorrect or missing API keys.
  • Error messages and resolutions:

    • "Invalid invite code or URL": Verify the invite code or URL is correct and still valid.
    • "Unauthorized device": Ensure the WhatsApp number is properly set up and authorized in WaliChat.
    • "Authentication failed": Check that the API key credential is correctly configured in n8n.
    • "Network error": Confirm network connectivity and API endpoint availability.

Links and References

Discussion