Actions29
- Device Actions
- Group Actions
- Message Actions
- QR Code Actions
- Utility Actions
Overview
This node integrates with the Wanesia WhatsApp API to send a location message via WhatsApp. It allows users to specify the device token, recipient's WhatsApp number, and geographic coordinates (latitude and longitude) to share a location. Additionally, it supports scheduling the message by specifying a date and time for delayed sending. This node is useful for automating location sharing in workflows, such as sending a meeting point or delivery location to contacts.
Use Case Examples
- Sending a location to a client with latitude and longitude coordinates.
- Scheduling a location message to be sent at a specific date and time.
Properties
| Name | Meaning |
|---|---|
| Token | The Wanesia device token used for authentication with the WhatsApp API. |
| Number | The recipient's WhatsApp number including country code (e.g., 6281234567890). |
| Latitude | Latitude coordinate of the location to send. |
| Longitude | Longitude coordinate of the location to send. |
| Date | Optional scheduled date to send the message (format YYYY-MM-DD). Leave empty for immediate sending. |
| Time | Optional scheduled time to send the message (format HH:MM:SS). Leave empty for immediate sending. |
Output
JSON
token- The device token used for sending the message.number- The recipient's WhatsApp number.latitude- Latitude of the location sent.longitude- Longitude of the location sent.date- Scheduled date for sending the message, if provided.time- Scheduled time for sending the message, if provided.status- Response status from the Wanesia API after sending the location message.
Dependencies
- Wanesia WhatsApp API
Troubleshooting
- Ensure the device token is valid and active; invalid tokens will cause authentication errors.
- Verify the recipient's WhatsApp number is correctly formatted with the country code.
- Check that latitude and longitude values are valid geographic coordinates.
- If scheduling is used, ensure the date and time formats are correct (YYYY-MM-DD and HH:MM:SS).
- Network or API errors may occur if the Wanesia service is down or unreachable; retry or check service status.
Links
- Wanesia WhatsApp API Documentation - Official API documentation for Wanesia WhatsApp service.