Skip to main content
Community template Uses AIContent CreationMultimodal AI

Get started with Google Sheets in n8n - n8n workflow template

A hands-on starter workflow that teaches beginners how to: Pull rows from a Google Sheet Append a new record that mimics a form submission Generate AI-powered text with GPT-4o based on a “Topic” column Write the AI output back into the correct row using an update operation…

Template by Robert Breen · Original listing (opens in a new tab)

Starts on
App event
Nodes
8 nodes
Level
Intermediate
Setup
About 15 min

Workflow preview

How this workflow runs

  1. 1

    Run Workflow

    Starts the workflow manually when you click 'Execute workflow' — used for testing and manual runs.

  2. 2

    OpenAI Chat Model4

    Provides the OpenAI chat model (GPT) that powers the AI reasoning in this workflow.

  3. 3

    Structured Output Parser3

    Forces the AI output into a structured JSON schema for reliable downstream use.

  4. 4

    Get Rows from Google Sheets

    Reads from or writes rows to a Google Sheets spreadsheet.

  5. 5

    Generate 1 Row of Data

    Sets or transforms workflow data — prepares, renames, or injects fields before the next step.

  6. 6

    Write description

    The AI agent that orchestrates the workflow — it reasons over the input and decides which tools to call.

  7. 7

    Append Data to google

    Reads from or writes rows to a Google Sheets spreadsheet.

  8. 8

    Update Sheets data

    Reads from or writes rows to a Google Sheets spreadsheet.

Creator's notes and setup

Written by Robert Breen for the original listing.

A hands-on starter workflow that teaches beginners how to:

Pull rows from a Google Sheet

Append a new record that mimics a form submission

Generate AI-powered text with GPT-4o based on a “Topic” column

Write the AI output back into the correct row using an update operation

Along the way you’ll learn the three essential Google Sheets operations in n8n (read → append → update), see how to pass sheet data into an OpenAI node, and document each step with sticky-note instructions—perfect for anyone taking their first steps in no-code automation.

0 Prerequisites


1 Trigger

Manual Trigger – lets you run on demand while learning.
(Swap for a Schedule or Webhook once you automate.)


2 Read existing rows

  • Node: Get Rows from Google Sheets
  • Reads every row from Sheet1 of your copied file.

3 Generate a demo row

  • Node: Generate 1 Row of Data (Set node)
  • Pretends a form was submitted:
    • Name, Email, Topic, Submitted = "Yes"

4 Append the new row

  • Node: Append Data to Google
  • Operation append → writes to the first empty line.

5 Create a description with GPT-4o

  1. OpenAI Chat Model – uses your OpenAI credential.
  2. Write description (AI Agent) – prompt = the Topic.
  3. Structured Output Parser – forces JSON like: { "description": "…" }.

6 Update that same row

  • Node: Update Sheets data
  • Operation update.
  • Matches on column Email to update the correct line.
  • Writes the new Description cell returned by GPT-4o.

7 Why this matters

  • Demonstrates the three core Google Sheets operations: read → append → update.
  • Shows how to enrich sheet data with an AI step and push the result right back.
  • Sticky Notes provide inline docs so anyone opening the workflow understands the flow instantly.

n8n nodes used (6 types)

What every node does (8)
  • OpenAI Chat Model4 (LLM Chat Open AI)Provides the OpenAI chat model (GPT) that powers the AI reasoning in this workflow.
  • Structured Output Parser3 (Output Parser Structured)Forces the AI output into a structured JSON schema for reliable downstream use.
  • Run Workflow (Manual Trigger)Starts the workflow manually when you click 'Execute workflow' — used for testing and manual runs.
  • Get Rows from Google Sheets (Google Sheets)Reads from or writes rows to a Google Sheets spreadsheet.
  • Generate 1 Row of Data (Set)Sets or transforms workflow data — prepares, renames, or injects fields before the next step.
  • Append Data to google (Google Sheets)Reads from or writes rows to a Google Sheets spreadsheet.
  • Write description (Agent)The AI agent that orchestrates the workflow — it reasons over the input and decides which tools to call.
  • Update Sheets data (Google Sheets)Reads from or writes rows to a Google Sheets spreadsheet.

FAQ

Get started with Google Sheets in n8n: questions

How do I import the "Get started with Google Sheets in n8n" workflow into n8n?

Copy the workflow JSON from this page, open the n8n editor, click on an empty canvas and paste with Ctrl+V (Cmd+V on macOS). You can also download the .json file and choose Import from File in the workflow menu. Save the workflow, then attach credentials before activating it.

Which nodes and credentials does "Get started with Google Sheets in n8n" use?

It uses Google Sheets, Set, Manual Trigger, Agent, LLM Chat Open AI and Output Parser Structured. Any node that connects to an external service needs your own credential — open each node after import and select or create one. Trigger, logic and transformation nodes usually need no credentials.

Can it run on n8n Cloud and on self-hosted n8n?

The workflow format is the same on both. If a node appears as unknown or outdated after import, update n8n to a recent version or, on self-hosted instances, install the required community node package. Features such as $env access are available on self-hosted instances only.

How can I customise "Get started with Google Sheets in n8n"?

Start by changing the trigger (schedule, webhook or app event) and the destination nodes to match your stack — it is listed under Content Creation, Multimodal AI. Edit prompts, field mappings and filters in the relevant nodes, use expressions like {{ $json.field }} to map data, and test with a manual execution before activating.

n8n is a trademark of n8n GmbH. AltFTool is not affiliated with, endorsed by or sponsored by n8n. Community templates are credited to their creators and link to the original listing; AltFTool originals are written and tested by the AltFTool team.

About this page

Free n8n workflow templates to copy and import

The AltFTool n8n library collects free n8n workflow templates for AI agents, Gmail, Google Sheets, Telegram and other apps. Each workflow page shows a preview, the list of nodes and the credentials it needs, and lets you copy or download the JSON to import into your own n8n.

Search the templates by app or task, or browse them by category and by node. The Workflow Inspector checks any workflow JSON for triggers, credentials and hardcoded keys before you share it, and the expressions cheat sheet gives copy-paste n8n expression examples. AltFTool is not affiliated with n8n.

People also search for

  • n8n workflow templates
  • n8n templates
  • n8n automation examples
  • n8n json workflows
  • n8n nodes
  • free n8n workflow templates
  • n8n ai agent template
  • n8n expressions cheat sheet