Back to Integrations
integrationGoogle Sheets node
integration

Google Sheets and Sentiment Analysis integration

Save yourself the work of writing custom integrations for Google Sheets and Sentiment Analysis and use n8n instead. Build adaptable and scalable Data & Storage, Productivity, AI, and Langchain workflows that work with your technology stack. All within a building experience you will love.

How to connect Google Sheets and Sentiment Analysis

  • Step 1: Create a new workflow
  • Step 2: Add and configure nodes
  • Step 3: Connect
  • Step 4: Customize and extend your integration
  • Step 5: Test and activate your workflow

Step 1: Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

Google Sheets and Sentiment Analysis integration: Create a new workflow and add the first step

Step 2: Add and configure Google Sheets and Sentiment Analysis nodes

You can find Google Sheets and Sentiment Analysis in the nodes panel. Drag them onto your workflow canvas, selecting their actions. Click each node, choose a credential, and authenticate to grant n8n access. Configure Google Sheets and Sentiment Analysis nodes one by one: input data on the left, parameters in the middle, and output data on the right.

Google Sheets and Sentiment Analysis integration: Add and configure Google Sheets and Sentiment Analysis nodes

Step 3: Connect Google Sheets and Sentiment Analysis

A connection establishes a link between Google Sheets and Sentiment Analysis (or vice versa) to route data through the workflow. Data flows from the output of one node to the input of another. You can have single or multiple connections for each node.

Google Sheets and Sentiment Analysis integration: Connect Google Sheets and Sentiment Analysis

Step 4: Customize and extend your Google Sheets and Sentiment Analysis integration

Use n8n's core nodes such as If, Split Out, Merge, and others to transform and manipulate data. Write custom JavaScript or Python in the Code node and run it as a step in your workflow. Connect Google Sheets and Sentiment Analysis with any of n8n’s 1000+ integrations, and incorporate advanced AI logic into your workflows.

Google Sheets and Sentiment Analysis integration: Customize and extend your Google Sheets and Sentiment Analysis integration

Step 5: Test and activate your Google Sheets and Sentiment Analysis workflow

Save and run the workflow to see if everything works as expected. Based on your configuration, data should flow from Google Sheets to Sentiment Analysis or vice versa. Easily debug your workflow: you can check past executions to isolate and fix the mistake. Once you've tested everything, make sure to save your workflow and activate it.

Google Sheets and Sentiment Analysis integration: Test and activate your Google Sheets and Sentiment Analysis workflow

Scrape Trustpilot Reviews with DeepSeek, Analyze Sentiment with OpenAI

Workflow Overview
This workflow automates the process of scraping Trustpilot reviews, extracting key details, analyzing sentiment, and saving the results to Google Sheets. It uses OpenAI for sentiment analysis and HTML parsing for review extraction.

How It Works

  1. Scrape Trustpilot Reviews
    HTTP Request**:
    Fetches review pages from Trustpilot (https://it.trustpilot.com/review/{{company_id}}).
    Paginates through pages (up to max_page limit).
    HTML Parsing**:
    Extracts review URLs using CSS selectors
    Splits the URLs into individual review links.

  2. Extract Review Details
    Information Extractor**:
    Uses DeepSeek to extract structured data from the review:
    Author: Name of the reviewer.
    Rating: Numeric rating (1-5).
    Date: Review date in YYYY-MM-DD format.
    Title: Review title.
    Text: Full review text.
    Total Reviews: Number of reviews by the user.
    Country: Reviewer’s country (2-letter code).

  3. Sentiment Analysis
    Sentiment Analysis Node**:
    Uses OpenAI to classify the review text as Positive, Neutral, or Negative.
    Example output:
    {
    "category": "Positive",
    "confidence": 0.95
    }

  4. Save to Google Sheets
    Google Sheets Node**:
    Appends or updates the extracted data to a Google Sheet

Set Up Steps

  1. Configure Trustpilot Scraping
    Edit Fields1 Node**:
    Set company_id to the Trustpilot company name
    Set max_page to limit the number of pages scraped.

  2. Configure Google Sheets
    Google Sheets Node**:
    Update the documentId with your Google Sheet ID
    Ensure the sheet has the required columns (Id, Data, Nome, etc.).

  3. Configure OpenAI
    OpenAI Chat Model Node**:
    Add your OpenAI API key.
    Sentiment Analysis Node**:
    Ensure the categories match your desired sentiment labels (Positive, Neutral, Negative).

Key Components
Nodes**:
HTTP Request/HTML: Scrape and parse Trustpilot reviews.
Information Extractor: Extract structured review data using DeepSeek.
Sentiment Analysis: Classify review sentiment.
Google Sheets: Save and update review data.
Credentials**:
OpenAI API key.
DeepSeek API key.
Google Sheets OAuth2.

Nodes used in this workflow

Popular Google Sheets and Sentiment Analysis workflows

Scrape Trustpilot Reviews with DeepSeek, Analyze Sentiment with OpenAI

Workflow Overview This workflow automates the process of scraping Trustpilot reviews, extracting key details, analyzing sentiment, and saving the results to Google Sheets. It uses OpenAI for sentiment analysis and HTML parsing for review extraction. How It Works Scrape Trustpilot Reviews HTTP Request**: Fetches review pages from Trustpilot (https://it.trustpilot.com/review/{{company_id}}). Paginates through pages (up to max_page limit). HTML Parsing**: Extracts review URLs using CSS selectors Splits the URLs into individual review links. Extract Review Details Information Extractor**: Uses DeepSeek to extract structured data from the review: Author: Name of the reviewer. Rating: Numeric rating (1-5). Date: Review date in YYYY-MM-DD format. Title: Review title. Text: Full review text. Total Reviews: Number of reviews by the user. Country: Reviewer’s country (2-letter code). Sentiment Analysis Sentiment Analysis Node**: Uses OpenAI to classify the review text as Positive, Neutral, or Negative. Example output: { "category": "Positive", "confidence": 0.95 } Save to Google Sheets Google Sheets Node**: Appends or updates the extracted data to a Google Sheet Set Up Steps Configure Trustpilot Scraping Edit Fields1 Node**: Set company_id to the Trustpilot company name Set max_page to limit the number of pages scraped. Configure Google Sheets Google Sheets Node**: Update the documentId with your Google Sheet ID Ensure the sheet has the required columns (Id, Data, Nome, etc.). Configure OpenAI OpenAI Chat Model Node**: Add your OpenAI API key. Sentiment Analysis Node**: Ensure the categories match your desired sentiment labels (Positive, Neutral, Negative). Key Components Nodes**: HTTP Request/HTML: Scrape and parse Trustpilot reviews. Information Extractor: Extract structured review data using DeepSeek. Sentiment Analysis: Classify review sentiment. Google Sheets: Save and update review data. Credentials**: OpenAI API key. DeepSeek API key. Google Sheets OAuth2.

Build your own Google Sheets and Sentiment Analysis integration

Create custom Google Sheets and Sentiment Analysis workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

Google Sheets supported actions

Create
Create a spreadsheet
Delete
Delete a spreadsheet
Append or Update Row
Append a new row or update an existing one (upsert)
Append Row
Create a new row in a sheet
Clear
Delete all the contents or a part of a sheet
Create
Create a new sheet
Delete
Permanently delete a sheet
Delete Rows or Columns
Delete columns or rows from a sheet
Get Row(s)
Retrieve one or more rows from a sheet
Update Row
Update an existing row in a sheet

FAQs

  • Can Google Sheets connect with Sentiment Analysis?

  • Can I use Google Sheets’s API with n8n?

  • Can I use Sentiment Analysis’s API with n8n?

  • Is n8n secure for integrating Google Sheets and Sentiment Analysis?

  • How to get started with Google Sheets and Sentiment Analysis integration in n8n.io?

Need help setting up your Google Sheets and Sentiment Analysis integration?

Discover our latest community's recommendations and join the discussions about Google Sheets and Sentiment Analysis integration.
Sergey Komardenkov
sérgio eduardo floresta filho
Julian
therealJMT
Guilherme

Looking to integrate Google Sheets and Sentiment Analysis in your company?

Over 3000 companies switch to n8n every single week

Why use n8n to integrate Google Sheets with Sentiment Analysis

Build complex workflows, really fast

Build complex workflows, really fast

Handle branching, merging and iteration easily.
Pause your workflow to wait for external events.

Code when you need it, UI when you don't

Simple debugging

Your data is displayed alongside your settings, making edge cases easy to track down.

Use templates to get started fast

Use 1000+ workflow templates available from our core team and our community.

Reuse your work

Copy and paste, easily import and export workflows.

Implement complex processes faster with n8n

red iconyellow iconred iconyellow icon