Automations · Nodes · logic

Wait for location

logic.wait_for_location · logic

Pause until the contact shares a location pin. Free text does not resume (unless onMismatch cancel_and_reroute).

When to use

  • Unexpected inbound while waiting uses Wait Mismatch onMismatch (see Wait Mismatch guide).
  • Pause until the contact shares a location pin (not free text).
  • Prefer Ask location when you also need to send the prompt.

Configuration

FieldRequiredNotes
channelTypenowhatsapp or appchat
accountIdnoChannel account; leave empty to use context when available
timeoutSecondsnoWait timeout in seconds (default 86400)
onMismatchnoWait Mismatch: nudge | clarify | answer_then_remind | cancel_and_reroute (free text does not resume unless 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. Insert value paths use nodes.{id}.*.

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
Step failedMissing context or invalid configCheck required fields, pins, and Executions error + Suggested action.

Example

Ask or prompt for location → Wait for location → use latitude/longitude in HTTP or branching.

Related