WhatGHL icon

WhatGHL

Send actions to WhatGHL API

Actions42

💬 **CHATTING** · Send Location

AI-generated

Summary

Send a geographic location message to a specified WhatsApp chat via the WhatGHL API.

Inputs

  • Session Mode (required) — Determines how the sender session is selected: Auto, a specific session name, or from available sessions for the API key.
  • Session — Select a specific session when 'Select Session' mode is chosen; must be a valid session ID from available sessions.
  • Session Name — Specify the WAHA session name to use as sender when 'By Session Name' mode is chosen.
  • Chat ID (required) — The destination chat ID to which the location message is sent.
  • Latitude (required) — Latitude coordinate of the location to send; must be a number between -90 and 90.
  • Longitude (required) — Longitude coordinate of the location to send; must be a number between -180 and 180.
  • Location Title — Optional title or name for the shared location.

Output shape

a single JSON response object per input item

The output JSON reflects the result of the send location action performed via the WhatGHL API. If an error occurs, it is thrown or returned depending on node settings.

Examples

Example 1: Sending a location to a chat

Set Session Mode and select session if needed, provide the Chat ID, Latitude, Longitude, and optionally a Location Title, then execute to send the location message.

Links

Discussion