> ## Documentation Index
> Fetch the complete documentation index at: https://learn.workflow.dog/llms.txt
> Use this file to discover all available pages before exploring further.

# Autocomplete Places

> Find likely places and search suggestions from partial text.

**Autocomplete Places** uses fuzzy matching to turn partial names, addresses,
misspellings, or plus codes into Google place predictions.

## Inputs

| Input                          | Type            | Required | Description                                                                          |
| ------------------------------ | --------------- | -------- | ------------------------------------------------------------------------------------ |
| **Input**                      | String          | Yes      | The search text.                                                                     |
| **Latitude**                   | Number          | No       | Center latitude for location-biased results.                                         |
| **Longitude**                  | Number          | No       | Center longitude for location-biased results.                                        |
| **Radius Meters**              | Number          | No       | Bias radius from `0` to `50,000`. Defaults to `5,000` when coordinates are supplied. |
| **Include Query Predictions?** | Boolean         | No       | Also return alternative search phrases.                                              |
| **Region Codes**               | List of strings | No       | Up to 15 two-character country codes, such as `US` and `CA`.                         |

<Note>
  Location bias is applied only when both **Latitude** and **Longitude** are
  present. A radius without both coordinates has no effect.
</Note>

## Outputs

| Output                | Type            | Description                                                                                      |
| --------------------- | --------------- | ------------------------------------------------------------------------------------------------ |
| **Top Place ID**      | String          | The Google Place ID from the first place prediction.                                             |
| **Top Place Text**    | String          | The formatted text of the first place prediction.                                                |
| **Place Predictions** | List of objects | All matches, including place ID, text, primary and secondary text, types, and optional distance. |
| **Query Predictions** | List of objects | Suggested search text when query predictions are enabled.                                        |

When there are no place matches, the top outputs are empty and **Place
Predictions** is an empty list.
