Articles in this section

How to Collect Location Details From the User in Chat Workflows

Updated:

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

  1. Navigate to chat workflows
    Go to AdminChatAutomationChat AutomationWorkflows.

    Workflow.png

  2. 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.

    Get Location.png

  3. 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.

      LocationConfigurationDialog.png

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.

CabBooking.png

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

  1. Where do I find the Get Location Input block in the designer?
    Open the context menu and go to User Inputs → Get Location Input.

  2. 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.

Related Articles

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied