Skip to main content

Analyze customer survey feedback with AI, Google Sheets & Slack reports

Workflow preview

Workflow preview
100%
Analyze customer survey feedback with AI, Google Sheets & Slack reports preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Here’s a clean, English only template description you can paste into the n8n “Description” field. Overview This workflow analyzes customer survey responses, groups them by sentiment (positive / neu...

Best for

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

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.scheduletrigger, n8n-nodes-base.googlesheets, n8n-nodes-base.code, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.splitinbatches, n8n-nodes-base.slack

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Analyze customer survey feedback with AI, Google Sheets & Slack reports
Workflow name
Analyze customer survey feedback with AI, Google Sheets & Slack reports

Here’s a clean, English-only template description you can paste into the n8n “Description” field.


Overview

This workflow analyzes customer survey responses, groups them by sentiment (positive / neutral / negative), generates themes and insights with an AI agent, and delivers a consolidated report to your destinations (Google Sheets, Slack). It runs on a daily schedule and uses batch-based AI analysis for accuracy.

Flow: Schedule → Fetch from Sheets → Group & batch (Code) → AI analysis → Aggregate → Save/Notify (Sheets, Slack)

What You’ll Need

  • A survey data source (Google Sheets recommended)
  • AI model credentials (e.g., OpenAI or OpenRouter)
  • Optional destinations: Google Sheets (summary sheet), Slack channel

Setup

  1. Data source (Google Sheets)

    • In Get Survey Responses, replace YOUR_SHEET_ID and YOUR_SHEET_NAME with your sheet details.
    • Ensure the sheet includes columns like: 満足度 (Rating), 自由記述コメント (Comment), 回答日時 (Timestamp).
  2. AI model

    • Add credentials to your preferred LLM node (OpenAI/OpenRouter).
    • Keep the prompt’s JSON-only requirement so the structured parser can consume it reliably.
  3. Destinations

    • Save to Sheet: set your output documentId / sheetName.
    • Slack: set the target channelId on the Slack node.

How It Works

  1. Daily Schedule Trigger — starts the workflow at your chosen time.
  2. Get Survey Responses (Sheets) — reads survey data.
  3. Group & Prepare Data (Code) — classifies by rating (>=4: positive, =3: neutral, <3: negative) and creates batches (max 50 per batch).
  4. Loop Over Batches — feeds each sentiment batch to the AI separately for cleaner signals.
  5. Analyze Survey Batch (AI Agent) — returns structured JSON: themes, insights, recommendations.
  6. Add Metadata (Code) — attaches original sentiment and item counts to each AI result.
  7. Aggregate Results (Code) — merges all batches; outputs Top Themes, Key Insights, Priority Recommendations, and an Executive Summary.
  8. Save to Sheet / Slack — appends the summary to a sheet and posts highlights to Slack.

Data Assumptions (Columns)

Your source should include at least:

  • 満足度 (Rating) — integer 1–5
  • 自由記述コメント (Comment) — string
  • 回答日時 (Timestamp) — ISO string or date

Outputs

  • Consolidated summary containing:

    • Top themes (with example quotes)
    • Key insights
    • Priority recommendations
    • Executive summary
  • Destinations: Google Sheets (one row per run) and Slack (high-level highlights)

Customize

  • Adjust sentiment thresholds (e.g., require >=5 for positive) or batch size (default 50) in the Code node.
  • Tailor the AI prompt or the output JSON schema to your domain.
  • Add more outputs (CSV export, database insert, additional channels) in parallel after the Aggregate step.

Before You Run (Checklist)

  • Add credentials for Sheets / AI / Slack in Credentials
  • Update documentId, sheetName, and Slack channelId
  • Confirm your column names match the Code node references
  • Verify schedule time and timezone (e.g., Asia/Tokyo)

Troubleshooting

  • Parser errors on AI output: ensure the model response is JSON-only; reduce temperature or simplify schema if needed.
  • Only some batches run: check batch size in Loop and ensure each sentiment bucket actually contains responses.
  • No output to Sheets/Slack: verify credentials, IDs, and required fields; confirm permissions.

Security & Template Notes

  • Do not include credentials in the template file. Users add their own after import.
  • Use Sticky Notes to document Overview, Setup, Processing Logic, and Output choices. This template already includes guideline-friendly notes.

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 - Workflow Overview

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

Block 2 - Daily Schedule Trigger

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

Block 3 - Data Source Note

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

Block 4 - Get Survey Responses

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

Block 5 - Group & Prepare Data

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

Block 6 - AI Processing Note

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

Block 7 - Analyze Survey Batch

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2

Block 8 - Structure Output

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.2

Block 9 - Aggregate Results

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

Block 10 - Output Options Note

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

Block 11 - Save to Sheet

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

Block 12 - Processing Note

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

Block 13 - Loop Over Batches

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

Block 14 - Add Metadata

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

Block 15 - Send a message1

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.3

Block 16 - OpenRouter Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenRouter - lmChatOpenRouter
Config choices
Version 1

3. Summary Table

Workflow Analyze customer survey feedback with AI, Google Sheets & Slack reports
Complexity advanced
Nodes 16
Categories Market Research, AI Summarization
Author Toshiya Minami
Published 17 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9809/9809.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 Analyze customer survey feedback with AI, Google Sheets & Slack reports do?

Here’s a clean, English only template description you can paste into the n8n “Description” field. Overview This workflow analyzes customer survey responses, groups them by sentiment (positive / neu...

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.