How to Collect Location Details From the User in Chat Workflows
The Get Location Input block is a User Input block that requests and captures the location shared by the user during a chat workflow.
When to Use this Block
Use Get Location Input when you need the user to share their location before proceeding with an action.
Example scenarios include:
- Pickup location for cab or ride booking
- Service address for on‑site support
- Delivery address before order confirmation
Configuration Steps
-
Navigate to chat workflows
Go to Admin → Chat → Automation → Chat Automation → Workflows.
-
Add the Get Location Input block
In the Workflow Designer, open the context menu and navigate to: User Inputs → Get Location Input.
The block is added to the workflow.
-
Configure the Get Location Input block
In the Get Location Input block configuration panel, fill in the following details:-
Message (Required) – Enter the prompt that will be shown to the user.
Example: “Please share your pickup location”
-
Temporary Field Name (Required) – Enter the name of the Temporary Field where the captured location should be stored.
-
Cab Booking Using Location Capture in a Workflow
In the example below, the Get Location Input block is used to collect the user’s pickup location as part of the booking process. After capturing the location, the workflow triggers an external service to identify nearby cabs. If successful, the system confirms the booking with a cab number. If unsuccessful, the request is routed to the support team for assistance.
The Get Location Input block stores the captured location in a temporary field configured within the block. Direct storage to a Chat API Field Name is not available.
Supported sources: WhatsApp (Meta Cloud API), WhatsApp (Twilio), WhatsApp (Gupshup), Telegram and LINE
FAQs
-
Where do I find the Get Location Input block in the designer?
Open the context menu and go to User Inputs → Get Location Input. -
How are location details stored for later steps in the workflow?
They are saved to the Temporary Field name you configure in the block. Direct storage to a Chat API Field Name is not available.