Actions55
- Session Actions
- Message Actions
- Chat Actions
- Contact Actions
- Group Actions
- Webhook Actions
- Status Actions
Overview
This node integrates with the WAHA API to send WhatsApp location messages. It allows users to send a geographic location (latitude and longitude) to a specified WhatsApp chat or group. This is useful in scenarios such as sharing meeting points, delivery locations, or any place of interest directly through WhatsApp.
For example, a logistics company could automate sending real-time delivery locations to customers, or an event organizer could share venue coordinates with attendees.
Properties
| Name | Meaning |
|---|---|
| Session Name | The name of the WhatsApp session to use for sending the message. Defaults to a stored session name. |
| Chat ID | The WhatsApp chat identifier where the location will be sent. Format: phone number with @c.us or group ID with @g.us. |
| Latitude | The latitude coordinate of the location to send. |
| Longitude | The longitude coordinate of the location to send. |
| Additional Fields | Optional extra parameters including: - 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 containing the response from the WAHA API after sending the location message. This typically includes confirmation details about the sent message, such as message ID, status, and metadata returned by the API.
No binary data output is involved in 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 WhatsApp session must be active and connected to send messages.
- Proper configuration of the session name and chat ID is necessary.
Troubleshooting
- Invalid Credentials: If the node throws errors related to authentication, verify that the WAHA API key and session name are correct and active.
- Chat ID Format: Ensure the chat ID is correctly formatted as a phone number with
@c.ussuffix or a group ID with@g.us. - Session Not Connected: Sending messages requires an active WhatsApp session; if the session is stopped or disconnected, the message will fail.
- API Validation Errors: Errors from the N8N Tools API validation step indicate subscription or API key issues; check credentials and subscription status.
- Unknown Operation or Resource: These errors suggest misconfiguration of the resource or operation parameters.
Links and References
- WAHA API Documentation (general reference for WAHA API capabilities)
- WhatsApp Chat ID Format (explains chat ID formats)
- n8n Documentation (for general usage of custom nodes and credentials)