Overview
The Google Sheets block connects your workflows to Google Sheets. Use it to read data from spreadsheets as workflow inputs or append results back to sheets for reporting and data collection.Configuration
Connect Google Account
Select the Google account connection to use. You can connect multiple Google accounts and choose which one to use for each block. To add a new connection:- Click the connection dropdown
- Select “Add new connection”
- Sign in with your Google account and grant permissions
Select Spreadsheet
Choose the Google Sheets file to work with. Two ways to select:- Browse: Search and select from your Google Drive
- Paste URL: Paste a Google Sheets URL directly
Select Sheet
Choose the specific sheet (tab) within your spreadsheet. Each spreadsheet can have multiple sheets.Header Row
Indicate whether the first row contains column headers.- Yes: First row is treated as headers (data starts from row 2)
- No: All rows are treated as data (data starts from row 1)
Action
Select the operation to perform. Options:- Read Spreadsheet: Retrieve data from the sheet
- Append Spreadsheet: Add new rows to the sheet
Read Spreadsheet
Use this action to pull data from a Google Sheet into your workflow.Row Range
Specify which rows to read. Format: Start row to end row- If header row is enabled, start from row 2 or higher
- If header row is disabled, start from row 1 or higher
- End row must be greater than or equal to start row
Column Fields
Select which columns to include in the output. By default, the first 4 columns are selected. Click to add or remove columns from the output. Each column in the output includes:- Column number: Position in the sheet (A=1, B=2, etc.)
- Column name: Header text if header row is enabled, or auto-generated name (Column A, Column B)
Read Output
The read action returns an array of row objects. Each object contains the selected column values. Example output with headers:{{step_n.output}} or loop through rows with {% for row in step_n.output %}.
Append Spreadsheet
Use this action to add new rows to a Google Sheet.Data
Provide the data to append. This field supports placeholders to reference data from previous steps. Format: JSON array of arrays or array of objects Array of arrays example:Column Mappings
Map your data fields to spreadsheet columns. For each column in your sheet, specify which data field should fill it. Example mapping:| Sheet Column | Data Field |
|---|---|
| Column A (Name) | {{current.columns[0]}} or {{current.columns.name}} |
| Column B (Email) | {{current.columns[1]}} or {{current.columns.email}} |
| Column C (Status) | {{current.columns[2]}} or {{current.columns.status}} |
current.columns[index] for array data or current.columns.fieldName for object data.
Append Output
The append action returns the number of rows added. Example output:Error Handling
Define what happens if the Google Sheets block fails. Options:- Terminate Workflow: Stop execution immediately
- Continue Execution: Proceed to next step despite error
- Connection expired (re-authenticate your Google account)
- Spreadsheet not found (check sharing permissions)
- Invalid range (verify row/column selections)
Best Practices
- Use header rows for easier data access with named fields
- Set specific row ranges instead of reading entire sheets for large datasets
- Validate data format before appending to avoid errors
- Use column mappings to ensure data lands in correct columns
- Test with a small dataset before running on large-scale workflows
- Share spreadsheets with your connected Google account if owned by others
Common Use Cases
| Use Case | Configuration Tips |
|---|---|
| Import leads list | Read action, select name/email columns, use in LLM for personalization |
| Export workflow results | Append action, map LLM outputs to columns |
| Data enrichment | Read source data, process with other blocks, append enriched data to new sheet |
| Report generation | Read multiple sheets, combine data, append summary to report sheet |
| Batch content processing | Read topics from sheet, loop through each, append generated content |
What’s Next
Now that you understand the Google Sheets block:- Learn about Loop Block to process multiple rows
- See Liquid Templating for data transformation
- Explore LLM Block to process sheet data with AI