GOWA icon

GOWA

Interact with Go WhatsApp Web MultiDevice API

Send → Send Location

AI-generated

Overview

This node operation sends a location message to a specified phone number or group ID using the Go WhatsApp Web MultiDevice API. It is useful for scenarios where you want to share geographic coordinates (latitude and longitude) with contacts or groups via WhatsApp, such as sharing a meeting point or a place of interest.

Use Case Examples

  1. Sending a location to a friend to meet at a specific place.
  2. Sharing the location of an event with a group chat.

Properties

Name Meaning
Device ID Optional device ID override that takes priority over the credential device ID if set.
Phone or Group ID The phone number with country code or the Group ID to which the location message will be sent.
Latitude Latitude coordinate of the location to send.
Longitude Longitude coordinate of the location to send.
Reply to Message ID Message ID to reply to, if the location message is a reply to a previous message.
Is Forwarded Indicates whether the message is forwarded.
Duration (Seconds) Duration in seconds for the message to disappear (0 means no expiry).

Output

JSON

  • messageId - The ID of the sent location message.
  • status - The status of the send operation (e.g., success or failure).
  • timestamp - The timestamp when the message was sent.

Dependencies

  • Requires an API key credential for Go WhatsApp Web MultiDevice API and the host URL for the API endpoint.

Troubleshooting

  • Ensure the phone number or group ID is correctly formatted with the country code.
  • Verify that the latitude and longitude values are valid geographic coordinates.
  • Check that the device ID override, if used, is correct and authorized.
  • Common errors include invalid credentials, network issues, or incorrect API endpoint configuration. Verify credentials and network connectivity to resolve these.

Discussion