Actions55
- Session Actions
- Message Actions
- Chat Actions
- Contact Actions
- Group Actions
- Webhook Actions
- Status Actions
Overview
The node integrates with the WAHA API to automate WhatsApp messaging and session management. Specifically, the "Forward Message" operation under the "Message" resource allows users to forward an existing WhatsApp message to a specified chat. This is useful in scenarios where you want to programmatically share received messages or content across different chats or groups without manually copying and pasting.
Practical examples:
- Automatically forwarding customer support messages from one chat to a team group.
- Sharing important announcements received in one chat to multiple other chats.
- Archiving or backing up messages by forwarding them to a dedicated chat.
Properties
| Name | Meaning |
|---|---|
| Session Name | The name of the WhatsApp session to use for sending the forwarded message. |
| Chat ID | The target WhatsApp chat ID where the message will be forwarded (phone number or group ID). |
| Message ID | The ID of the original message to forward. |
| Additional Fields | Optional extra parameters such as: - Filename: Custom filename for media files - Mimetype: MIME type of the file - Link Description: Description for link preview - Link Title: Title for link preview - Contact Name: Name for contact vCard - Contact Number: Phone number for contact vCard - Reaction: Emoji reaction to send - Limit: Limit number of results - Download Media: Whether to download media files in messages |
Output
The node outputs a JSON object representing the response from the WAHA API after forwarding the message. This typically includes details about the forwarded message status, IDs, and any metadata returned by the API.
If the forwarded message contains media, the node can handle media files accordingly, but binary data output is not explicitly detailed for this operation.
Dependencies
- Requires a valid WAHA API credential with base URL and API key configured in n8n.
- Optionally uses an additional API key credential for N8N Tools API validation.
- The node sends HTTP requests to the WAHA API endpoints to perform operations.
- Proper WhatsApp session must be active and referenced by the "Session Name".
Troubleshooting
- Invalid Credentials: If the API key or subscription is invalid, the node throws an error indicating invalid subscription or API key. Verify credentials in n8n settings.
- Unknown Operation or Resource: Errors occur if unsupported operations or resources are selected. Ensure "Message" resource and "Forward Message" operation are chosen.
- Missing Required Parameters: The node requires
chatIdandmessageId. Missing these will cause errors. - Session Issues: If the specified WhatsApp session is not active or incorrectly named, forwarding will fail.
- API Request Failures: Network issues or incorrect API endpoint configurations may cause request failures.
Links and References
- WAHA API Documentation (replace with actual URL)
- WhatsApp Business API Concepts
- n8n Community Forum for WAHA API integration discussions
This summary focuses on the "Forward Message" operation within the "Message" resource of the WAHA API node, describing its purpose, inputs, outputs, dependencies, and common troubleshooting tips.