Automations · Nodes · logic
Wait for location
logic.wait_for_location · logic
Pause until the contact shares a location pin. Free text does not resume.
When to use
- Pause until the contact shares a location pin (not free text).
- Prefer Ask location when you also need to send the prompt.
Configuration
| Field | Required | Notes |
|---|---|---|
| channelType | no | whatsapp or appchat |
| accountId | no | Channel account; leave empty to use context when available |
| timeoutSeconds | no | Wait timeout in seconds (default 86400) |
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 |
|---|---|
| Disabled | Needs multi-branch or wait/resume context — use a full Test run. |
See Test, Execute, debug, listen and limitations.
Common errors
| Symptom | Cause | Fix |
|---|---|---|
| Step failed | Missing context or invalid config | Check required fields, pins, and Executions error + Suggested action. |
Example
Ask or prompt for location → Wait for location → use latitude/longitude in HTTP or branching.