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

# Google Sheets

> Write scheduled reports straight into a Google Sheet: overwrite, add rows to a continuous table, a new tab each run, or a new file each run.

Choose **Google Sheets** under **Send to** on a schedule to write each run into a spreadsheet in your own Google Drive. It's the channel for live dashboards and pivots: point Queryful at a sheet you already built, or let it create files for you.

## Connect your Google account

Choose **Connect Google** and approve access. The connection is **per user**: each staff member connects their own Google account, and a schedule delivers through the account of whoever set it up, into that person's Drive. Only that account can change which file or folder the schedule writes to.

Queryful only ever touches files it created or that you choose through the picker. It can't see the rest of your Drive.

## Choose how it writes

**On each run** decides what happens every time the report runs:

| Option | Target | Each run |
| - | - | - |
| **Overwrite the same tab** | An existing spreadsheet and tab | Replaces the tab's contents with the latest data. One always-current sheet. |
| **Add rows to the same tab** | An existing spreadsheet and tab | Adds the new rows below the last, with a run date column. Builds one continuous table for pivots and charts. |
| **Add a new tab** | An existing spreadsheet | Adds a fresh dated tab, keeping past runs in the same file. |
| **Create a new file** | A Drive folder | Creates a new spreadsheet in the folder every run. |

The first three write into a spreadsheet you already have, so you can build pivot tables, charts or a dashboard on top and have Queryful refresh the data. The last is the hands-off option when you just want a file per run.

## Pick the target

* **Overwrite, add rows or a new tab:** choose an existing spreadsheet with **Choose spreadsheet**. To overwrite or add rows, then pick the **Tab** to write into. For a new tab each run, set the **New tab name**.
* **A new file:** choose a Drive folder with **Choose folder** and set the **File name**.

The new tab name and the file name accept `{report_name}`, `{schedule_name}`, `{date}` and `{time}`. Add `{date}` or `{time}` so each run's tab or file stays separate.

## Formatting

The **Formatting** options tidy the output:

* **Include a header row** writes the column labels as the first row.
* **Freeze and bold the header** pins and emphasises row one.
* **Format number columns** shows numeric columns as numbers, so they sum and chart correctly.
* **Auto-size columns** fits each column to its content.
* **Add a run date column** (when adding rows) starts each run's rows with the run date, so you can tell runs apart in the continuous table.

## Send now

**[Send now](https://docs.queryful.app/user-guide/schedules.md#send-now)** works for Google Sheets schedules, so you can check the result before the first scheduled run.

## When it stops working

If the Google account is disconnected, or the spreadsheet is deleted, the run is recorded as not delivered with the reason in [run history](https://docs.queryful.app/user-guide/schedules/history.md). Reconnect Google, or choose another spreadsheet, from the account that set the schedule up.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.