> For the complete documentation index, see [llms.txt](https://docs.getmesa.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getmesa.com/connect/google-sheets/add-row.md).

# Add Row

The Add Row action creates a new row in an existing spreadsheet. To get started, [Authenticate](/connect/google-sheets.md) and select an existing Spreadsheet and Sheet. Then click the Retrieve Fields button to retrieve the columns from your spreadsheet.

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2F8LGVLN2S4ep00TIAj6tk%2Fimage.png?alt=media&amp;token=0717657d-179e-4ef8-8c39-9e550606f63e" alt="Screenshot of the MESA Google Sheets Add Row action with an existing Spreadsheet and Sheet selected. Spotlight the Retrieve Fields button."><figcaption></figcaption></figure>

## Updating columns from spreadsheet

Once you click the Retrieve Fields button, MESA will automatically add a field for each column in your spreadsheet. We use the first row of your spreadsheet as the name for each field.

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2F6vM9oBjjdTCuATa4LA1N%2Fimage.png?alt=media&amp;token=6f79da43-edf2-4333-aea4-746f7180a9f4" alt="Screenshot of the MESA Google Sheets Add Row action after clicking Retrieve Fields, showing a field automatically added for each spreadsheet column named from the first row. Spotlight the retrieved column fields."><figcaption></figcaption></figure>

Be sure to click the Retrieve Fields button in MESA after you add, rename, or move columns in your Google Sheet.

## Configuring the columns added to Google Sheets

Once your columns appear in MESA, you can use [Variables](/workflow-builder/fields/variables.md) or text as the values for each column in the row that will be added. Variables let you pass data like Order, Product, or Customer information to the Google Sheet.

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2FwxLGiGt4Rp6GEgVpK1Iq%2Fimage.png?alt=media&amp;token=1444fcd0-8100-4e28-b959-fab9332cc800" alt="Screenshot of the MESA Google Sheets Add Row action with Variables or text entered as the values for each column of the new row. Spotlight the column value fields."><figcaption></figcaption></figure>
