Skip to main content

AI automate UX feedback: Sentiment & emotion analysis in Google Sheets + OpenAI

Workflow preview

Workflow preview
100%
AI automate UX feedback: Sentiment & emotion analysis in Google Sheets + OpenAI preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Who's it for Product managers , customer success teams ,...

Best for

  • Market Research automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.googlesheets, n8n-nodes-base.merge, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.splitinbatches, n8n-nodes-base.code, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Parhum Khoshbakht.

Original n8n.io source

1.1 Workflow description

Title
AI automate UX feedback: Sentiment & emotion analysis in Google Sheets + OpenAI
Workflow name
AI automate UX feedback: Sentiment & emotion analysis in Google Sheets + OpenAI

Who's it for

Product managers, customer success teams, and UX researchers who collect feedback in Google Sheets and want to automatically categorize and analyze it with sentiment and emotions insights. Ideal for teams processing dozens or hundreds of customer comments daily.

What it does

This workflow automatically tags and analyzes customer feedback stored in Google Sheets using OpenAI's GPT-4. It reads unprocessed feedback entries, sends them in batches to OpenAI for intelligent tagging and sentiment analysis, then writes the results back to your sheet—complete with up to 3 relevant tags per feedback, sentiment scores (Very Negative to Very Positive), and emotional analysis.

The workflow uses batch processing to optimize API costs: instead of sending 10 separate requests, it sends one request with all 10 feedbacks, reducing API calls by ~90%.

How it works

  1. Fetches allowed tags from a Tags sheet and new feedback entries (where Status is empty) from a Feedbacks sheet
  2. Merges tags with feedbacks and processes them in batches of 10
  3. Sends each batch to OpenAI with a structured prompt requesting tags, sentiment, and emotional analysis
  4. Writes results back to Google Sheets with tags, sentiment, emotions, and timestamps

Requirements

  • Google Sheets account with OAuth2 credentials
  • OpenAI API account (uses GPT-4o-mini model)
  • Google Sheet template with two sheets: "Tags" (single column) and "Feedbacks" (with columns: Feedbacks, Status, Tag 1-3, Sentiment, Primary/Secondary Emotion, AI Tag 1-2, Updated Date)

Setup instructions

  1. Duplicate the provided Google Sheet template
  2. Connect your credentials in n8n:
    • Google Sheets OAuth2 API
    • OpenAI API
  3. Update Sheet URLs in these nodes:
    • "Fetch Allowed Tags" - point to your Tags sheet
    • "Fetch New Feedbacks" - point to your Feedbacks sheet
    • "Update Google Sheet (Tagged)" - point to your Feedbacks sheet
  4. Test manually first using the Manual Trigger, then enable the Schedule Trigger for automatic processing every 60 minutes

How to customize

  • Adjust batch size: Change the batch size in "Process Feedbacks in Batches" (default: 10) to process more or fewer feedbacks per API call
  • Modify tagging logic: Edit the system prompt in "Tag Feedbacks with AI" to change how tags are selected or add custom sentiment categories
  • Change schedule: Update the Schedule Trigger interval (default: 60 minutes) based on your feedback volume
  • Extend the workflow: Add nodes to send results to Slack, Notion, or Airtable for real-time alerts on negative feedback

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When clicking 'Execute workflow'

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - Fetch Allowed Tags

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 3 - Fetch New Feedbacks

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 4 - Merge Tags & Feedbacks

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 2.1

Block 5 - Attach Tags Array

Type / Role
n8n-nodes-base.set - set
Config choices
Version 2

Block 6 - Tag Feedbacks with AI

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 7 - Update Google Sheet (Tagged)

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 8 - Process Feedbacks in Batches

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 9 - Aggregate Batch Items

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 10 - Split Batch Results

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 11 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 13 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky Note8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Sticky Note9

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 21 - Sticky Note10

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - Sticky Note11

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 23 - Sticky Note12

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 24 - Sticky Note13

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow AI automate UX feedback: Sentiment & emotion analysis in Google Sheets + OpenAI
Complexity advanced
Nodes 24
Categories Market Research, AI Summarization
Author Parhum Khoshbakht
Published 19 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9881/9881.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does AI automate UX feedback: Sentiment & emotion analysis in Google Sheets + OpenAI do?

Who's it for Product managers , customer success teams ,...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research, AI Summarization use case.