Docs
Google Sheets

Google Sheets Node Documentation

The Google Sheets node in Lamatic automates data extraction and synchronization from Google Spreadsheets. It supports reading from multiple sheets, handling various data formats, and enables regular data synchronization to support data processing and analysis workflows.


Features

✅ Key Functionalities

  • Batch Trigger: Automates data extraction and synchronization on a schedule.
  • Data Format Support: Handles text, numbers, dates, formulas, and cell formatting.
  • Multi-Sheet Support: Ability to read from multiple sheets within a workbook.

✅ Benefits

  • Streamlines data collection from Google Sheets.
  • Maintains data consistency through scheduled synchronization.
  • Enables automated data processing workflows.

Prerequisites

Before setting up the Google Sheets node, ensure you have the following:

  • Google Sheets API credentials for accessing the spreadsheet.
  • The target spreadsheet URL from Google Sheets.
  • An understanding of Cron expressions for scheduling flows.

Installation

Step 1: Set Up Lamatic Flow

  1. Create a Custom Flow:
  2. Use Pre-built Templates:

Step 2: Configure Node in Lamatic

  1. Add the Google Sheets node to your flow.
  2. Provide necessary credentials and spreadsheet details.
  3. Schedule the flow using a Cron expression for regular execution.

Configuration Reference

Batch Trigger: Scheduled

ParameterDescriptionRequiredExample
NameDisplay name for the node.Google Sheets
CredentialsGoogle authentication details required to connect to the spreadsheet.my-google-sheets-credentials
SpreadsheetThe spreadsheet URL from which data will be extracted.https://docs.google.com/spreadsheets/d/{spreadsheet-id}
Sheet NamesSpecific sheets to read from (empty for all sheets).Sheet1,Sheet2
Sync ModeSpecify either incremental (process new/updated rows only) or full-refresh (reprocess all data).incremental
Sync ScheduleFrequency for running the flow, specified using a Cron expression.0 0 05 1/1 * ? * UTC

Low-Code Example

{
  "triggerNode": {
    "nodeId": "triggerNode_1",
    "nodeType": "googleSheetsNode",
    "nodeName": "Google Sheets",
    "values": {
      "syncMode": "incremental_append",
      "spreadsheetUrl": "https://docs.google.com/spreadsheets/d/{your-spreadsheet-id}",
      "sheetNames": "Sheet1,Sheet2",
      "credentials": "{your-google-sheets-credentials}",
      "cronExpression": "0 0 05 1/1 * ? * UTC"
    }
  }
}

Troubleshooting

Common Issues

ProblemSolution
Invalid CredentialsVerify that the correct Google Sheets API credentials are provided.
Spreadsheet Not FoundEnsure the spreadsheet URL is accurate and accessible.
Sync Not WorkingCheck the Cron expression for correctness.
Data Format IssuesVerify that the data in sheets follows expected format (dates, numbers, etc.).

Debugging

  • Check Lamatic Flow logs for error details.
  • Verify Google Sheets API access permissions.
  • Test the spreadsheet URL to ensure it's valid and accessible.
  • Confirm sheet names match exactly if specified.

Was this page useful?

Questions? We're here to help

Subscribe to updates