Automations · Nodes · action

Ask In-App Chat location

action.appchat_ask_location · action

Ask the visitor to share their location, wait for the pin, then continue with latitude and longitude.

When to use

  • Ask the customer to share a location pin and continue with latitude/longitude.
  • Use an HTTP request node afterward for store lookup, GIS, or delivery zones.
  • Free text while waiting uses Wait Mismatch onMismatch (wire mismatch for cancel).

Configuration

FieldRequiredNotes
accountIdnoChannel account; leave empty to use context when available
bodyTextnoMessage body; expressions allowed
textnoMessage body; expressions allowed
timeoutSecondsnoWait timeout in seconds (default 86400)
onMismatchnoWait Mismatch: nudge | clarify | answer_then_remind | cancel_and_reroute (default nudge; wire mismatch for cancel)
mismatchClarifyTextnoClarify / custom text when onMismatch=clarify (expressions; {{vars.mismatchText}})
mismatchMaxSideRepliesnoCap AI side replies for answer_then_remind; then falls back to nudge-only

Inputs

Upstream node output and execution context (contact, account, variables).

Outputs

After the customer shares a pin (or timeout): latitude, longitude, name, address, inboundMessageId, timedOut. On cancel mismatch: mismatchText / vars.mismatchText.

Execute step (editor)

Eligible?Notes
DisabledNeeds multi-branch or wait/resume context — use a full Test run.

See Test, Execute, debug, listen and limitations.

Common errors

SymptomCauseFix
WAIT_MISMATCH_UNWIREDonMismatch=cancel_and_reroute but mismatch port not connectedWire mismatch or change onMismatch.
Send failed on Test/RunOutside window, bad template, or missing contactUse template outside window; ensure contact/account in context.
Execute succeeds but nothing deliveredExecute is dry-run for channel sendsUse full Test run / Run now.

Example

Message-received trigger → Ask location → on out use latitude/longitude in an HTTP request (e.g. nearest store) → continue the journey.

Related