Skip to content
Proud to collaborate with Microsoft for Startups

wasender.messages.send_location ​

Send a location pin message

Send a location pin via POST /send-message.

Inputs:

  • cloud_connection_uuid: UUID — the cloud connection holding the Wasender token.
  • to: str — recipient (phone number, group JID, or channel ID).
  • latitude: float — latitude of the pin.
  • longitude: float — longitude of the pin.
  • name: str (optional) — display name / label.
  • address: str (optional) — address text.

Outputs (terminal state_data):

  • message_id: str — provider-assigned ID of the sent message.
  • status: str — send status string.
  • to: str — echoed recipient.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-wasender
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
cloud_connection_uuiduuidYes—Cloud connection holding the Wasender credential
tostringYes—Recipient — phone number, group JID, or channel ID
latitudefloatYes—Latitude of the location pin
longitudefloatYes—Longitude of the location pin
namestringNo—Display name / label for the location
addressstringNo—Address text for the location

Output Schema ​

FieldTypeRequiredDefaultDescription
message_idstringNo——
statusstringNo——
tostringNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerintegerNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "wasender.messages.send_location",
  "initial_data": {
    "cloud_connection_uuid": "value",
    "to": "value",
    "latitude": "value",
    "longitude": "value"
  }
}