Actions11
Overview
The Quepasa (Whatsapp) node for n8n provides integration with the unofficial Quepasa WhatsApp API.
For the Control resource and the Get Invite Link operation, this node allows you to retrieve an invite link for a specified WhatsApp group or chat.
This is useful in scenarios where you need to programmatically obtain a group invitation link, such as automating onboarding processes, sharing group access in workflows, or managing group memberships.
Example use cases:
- Automatically sending out WhatsApp group invite links to new users.
- Integrating WhatsApp group management into CRM or onboarding flows.
- Fetching invite links for reporting or administrative purposes.
Properties
Below are the input properties relevant to the Control → Get Invite Link operation:
| Display Name | Type | Description |
|---|---|---|
| Authentication | options | Select how to provide credentials: either manually via parameters or using predefined credentials. |
| BaseUrl | string | The base URL of your Quepasa API instance. Required if using manual parameter authentication. Example: https://api.quepasa.org:31000 |
| Token | string | The token for your WhatsApp bot. Required if using manual parameter authentication. |
| Chat ID | string | The destination conversation, group ChatId, or any E164 phone number. This identifies the group or chat for which you want to get the invite link. |
Note:
BaseUrlandTokenare only required when "Authentication" is set to "Parameters".Chat IDmust be provided for this operation.
Output
The output will be a JSON object containing the result of the invite link retrieval.
While the exact structure depends on the Quepasa API response, you can expect fields such as:
{
"invite_link": "https://chat.whatsapp.com/XXXXXXXXXXXXXX",
"chatid": "1234567890-123456@g.us",
// ...other metadata as returned by the API
}
If an error occurs, the output may contain an error field with a descriptive message.
Dependencies
- External Service: Requires access to a running Quepasa WhatsApp API server.
- API Credentials: You must provide either:
- A valid BaseUrl and Token (manual parameters), or
- Predefined Quepasa credentials configured in n8n.
- n8n Configuration: If using predefined credentials, ensure they are set up in n8n's credential store.
Troubleshooting
Common Issues:
- Invalid Token or BaseUrl: Ensure your token and base URL are correct and that your Quepasa API server is reachable.
- Missing Chat ID: The operation requires a valid Chat ID; double-check its format.
- Insufficient Permissions: The bot user must have permission to generate invite links for the specified group.
Error Messages:
"Authentication failed": Check your token and base URL or credential configuration."Chat not found"or"Invalid Chat ID": Verify the Chat ID is correct and the bot is a member of the group."Invite link not available": The group may have restrictions or the bot lacks permissions.
Links and References
- Quepasa API Documentation
- n8n Documentation: Creating Workflows
- WhatsApp Group Invite Links (General Info)
