# Google AI Mode

Use **Google AI Mode** when you want a workflow step to run a Google AI Mode search and reuse that result elsewhere in your workflow.

## Configuration

| Option                                                              | Required | Description                                                                                     |
| ------------------------------------------------------------------- | -------- | ----------------------------------------------------------------------------------------------- |
| Name                                                                | No       | Label for the step in the workflow canvas.                                                      |
| Search Query                                                        | Yes      | The value entered in **Search Query**.                                                          |
| Charge Type                                                         | No       | Whether the step uses **Hosted** or **Personal** billing.                                       |
| Language                                                            | No       | Language code used for the query. You can choose a preset language or enter a custom value.     |
| Language Custom Value                                               | No       | Turns **Custom Value** on for **Language**.                                                     |
| Location                                                            | No       | Location used for the query. You can choose a preset location or enter a custom value.          |
| Location Custom Value                                               | No       | Turns **Custom Value** on for **Location**.                                                     |
| When the step fails                                                 | No       | Controls whether the workflow should **Terminate Workflow** or **Continue** if this step fails. |
| This step uses the standard **Settings** and **Output** tab layout. |          |                                                                                                 |

Use the **Insert Variable** button next to **Search Query**, **Language**, and **Location** when those values should come from start inputs or earlier step output.

For **Language** and **Location**, **Custom Value** changes the control from a selectable list into a freeform field.

## Output

This step stores the returned Google AI Mode result as the step output.

Use the base output reference in later steps:

```
{{STEP_IDENTIFIER.output}}
```

If the response contains object fields, you can reference them with nested paths:

```
{{step_2.output.some_field}}
```

The exact fields depend on the returned result, so inspect the **Output** tab or the variable picker before you rely on nested references.

## Example

Add **Google AI Mode** to your workflow.

Set **Search Query** to the topic you want to research.

Choose **Hosted** or **Personal** in the model type field, then set **Language** and **Location** from the presets or with **Custom Value** enabled.

Click **Run** in the step header, then review the result in **Output** before passing that data into another step.

## Notes

* **Google AI Mode** is a separate step from **Google AI Overview** and has its own settings page.
* The visible difference in this editor is the **Hosted** or **Personal** billing option in the settings form.
* Use the variable picker to insert nested output paths after you have a real result to inspect.

See also: [Creating and Editing](https://docs.fetchhive.com/workflows/creating-and-editing) and [Testing and Iteration](https://docs.fetchhive.com/workflows/testing-and-iteration)
