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

# Google Sheets

> Add a row to a Google Sheet for every processed invoice — Google sign-in, a spreadsheet we create for you, and the columns you choose.

The **Google Sheets connector** is a delivery target: each time a pipeline finishes an
invoice, an **Add a row to Google Sheets** action appends one row to a spreadsheet in
your Google Drive. It's the lightest way to give a team a live, filterable list of what
has been processed, without building an integration.

## Connecting Google Sheets

**1. Sign in with Google**

**Connectors → Connector library → Google Sheets → Connect Google Sheets.** You're
handed to Google's consent screen. equate uses **OAuth**: it never sees the account
password, and you can remove its access from your Google account at any time.

**2. We create the spreadsheet**

equate creates a spreadsheet called **equate invoices — *your workspace*** in that
account's Drive, with an **Invoices** tab, and opens the new connector. Share the
spreadsheet with your team as you would any other.

**3. Add the action to a pipeline**

In the pipeline builder's **Actions** step (or under **Actions**), choose
**Add a row to Google Sheets**, pick this connector, the tab and the columns, and
which **outcomes** it runs on.

> [!NOTE]
>
> **Why a new spreadsheet, not one you already have?** equate asks Google only for
> access to the files it creates (Google's `drive.file` permission). It can't open the
> rest of your Drive, or any spreadsheet you made yourself. That keeps the permission
> as narrow as Google offers.

## What each row holds

You choose the columns and their order. The defaults:

| Column | What it is |
| - | - |
| Processed at (UTC) | When the row was added. |
| Outcome | Auto-matched, Needs review or Exception. |
| Supplier | The supplier on the invoice. |
| Invoice reference | The reference on the invoice. |
| Booking reference | The booking it matched, when it matched one. |
| Currency | The invoice currency. |
| Total | The invoice total, as a number you can sum. |
| VAT | The VAT, as a number. |
| Trip type | Cruise, Ski, Flights and so on. |
| Pipeline | The pipeline that processed it. |
| Link to invoice | A link straight to the invoice in equate. |

Also available: **Invoice date**, **Invoice number** and the **equate job ID**.

* The first time a row is added, equate writes a **header row** on the tab (and creates
  the tab if you named a new one). If the tab's first row already has something in it,
  equate leaves it alone.
* Changing the columns later doesn't rewrite an existing header. Use a new tab for a
  new layout.
* Text from the invoice is always written as text, so references keep their leading
  zeros and nothing in an invoice can run as a spreadsheet formula.

## When rows are added

The action runs on the outcomes you choose, like every [action](https://equatetravel.ai/docs/guides/actions.md):

* **Auto-matched** only, for a clean log of what went through on its own.
* **Needs review** and **Exception**, for a shared to-do list.
* **Manually**, so someone can add an invoice from its **Actions** menu.

Test-mode pipelines never write to the sheet.

A retried delivery won't add the same invoice twice as long as the row includes **Link
to invoice** or **equate job ID**. Running the action again by hand from the invoice
does add a new row: that's a deliberate resend.

## If Google access stops working

If someone removes equate from the Google account, a Google Workspace admin blocks the
app, or the spreadsheet is deleted, the connector shows **Error** and deliveries fail
(and can be re-sent from each invoice). Open the connector and choose **Reconnect
Google**, signing in with the same account: the connector keeps its spreadsheet. To
write to a different spreadsheet that equate created, paste its link into the
connector's **Spreadsheet** field.

> [card] [Next: choose what triggers it](https://equatetravel.ai/docs/guides/actions.md)
>
> Outcomes, manual runs and recipes for every action type.


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