AI Agents

Automate Google Sheets

16 nodes 214 127 Automatic trigger
Download

Workflow Description

Advanced automation template integrating OpenAI with Google Sheets for intelligent data processing. Analyzes content using cutting-edge language models, evaluates sentiment, and automatically records results in spreadsheets without manual intervention.

How it works

  1. 1.Trigger workflow manually or when spreadsheet updates
  2. 2.Extract data from Google Sheets and split for parallel processing
  3. 3.Send text to OpenAI for advanced language analysis and processing
  4. 4.Evaluate emotional tone using Sentiment Analysis tool
  5. 5.Store results and insights in new spreadsheet columns automatically

Use cases

  • Automatically analyze customer feedback and reviews, categorizing by sentiment
  • Process large product lists or text datasets without manual labor
  • Extract statistics and insights from large spreadsheets rapidly

Requirements

  • Valid OpenAI API key configured
  • Google Sheets connected to n8n account
  • Edit permissions on spreadsheet for the application

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

OpenAI Google Sheets Sentiment Analysis

Details

Trigger Automatic trigger
Nodes 16
Apps 3
Views 214
Downloads 127

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (16)

/

Split Out

Split Out

#1

OpenAI Chat Model

OpenAI

#2

No Operation, do nothing

No Op

#3

Get Video Urls from Google Sheet

Google Sheets

#4

check next fetch time is available or not

If

#5

check next fetch time is before the current time

If

#6

Get Comments for video urls

HTTP Request

#7

Analyze sentiment of every comment

Sentiment Analysis

#8

Format fields as required to save in google sheet

Set

#9

Insert and update comment in google sheet

Google Sheets

#10

Update last fetched time and next_fetch_time

Google Sheets

#11

No Operation, do nothing1

No Op

#12

When clicking ‘Test workflow’

Manual Trigger

#13

Sticky Note1

Sticky Note

#14

Check Success Response

If

#15

Sticky Note2

Sticky Note

#16