The results display locations near the search performed, according to the search area configured in the node. You can also use Bounding Box to geographically define the area in which the search will be performed.
Node ConfigurationThe following fields are available for configuration:
- Name (optional): Allows you to customize the node name. You can use this field to modify the default value.
- Bot (required): Select the bot you are working on and where the node will be executed.
- Next Step (required): Add or select the Step In of the selected bot in Studio to which the retrieved data will be sent.
- Block Input: Defines whether the text box will remain enabled or blocked in the Web channel while this component is displayed. The default value is false.
- Ref (required): Defines the unique identifier used to store the retrieved information. This information will be available in the next step within the Payload property of the msg object.
- Label: Defines the label displayed to the end user in the form.
- Country Restrictions: Allows you to restrict location searches to a specific country.
-
Bounding Box:When enabled, allows you to geographically define the area where the location search will be performed. The following fields will be displayed:
- Latitude: Indicates the central latitude coordinate of the defined area. For example: 40.76778620751953.
- Longitude: Indicates the central longitude coordinate of the defined area. For example: -73.09190222252344.
- Radius: Defines the radius used together with the latitude and longitude coordinates to establish the defined area. For example: 50.
- Preview Bounds: Allows you to preview the defined area in Google Maps based on the configured values.
Outputs- Search Location Form: If an error occurs during execution, an error message will be displayed and the flow will end.
You can download an example flow from this link.
In the following video, we'll show you how to access the node and configure its parameters: