← All N8N workflows
AI & researchAggregateGmailGoogle SheetsManual TriggerMarkdown

Summarize Google Sheets form feedback via OpenAI's GPT-4

Configured with Aggregate, Gmail, Google Sheets, Markdown, and additional nodes. Review the connections and setup before adapting this template.

Workflow preview
TriggerWhen clicking "Testworkflow"Manual TriggerData storeGet Google SheetsrecordsGoogle SheetsTransformAggregate responsesinto arraysAggregateAI & modelsSummarize via GPT modelOpen AiTransformConvet from Markdown toHTMLMarkdownMessagingSend via GmailGmail

Node categories in this workflow

  • Trigger
  • Data store
  • Transform
  • AI & models
  • Messaging

Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.

Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.

How it works

The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.

Workflow node names, types, and operations
NodeCategoryTypeOperation
When clicking "Test workflow"TriggerManual TriggerSee node parameters
Get Google Sheets recordsData storeGoogle SheetsSee node parameters
Aggregate responses into arraysTransformAggregateSee node parameters
Summarize via GPT modelAI & modelsOpen Aichat
Convet from Markdown to HTMLTransformMarkdownSee node parameters
Send via GmailMessagingGmailSee node parameters

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.

Requirements

An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.

Credential types declared in the source

  • gmailOAuth2
  • googleSheetsOAuth2Api
  • openAiApi

Workflow notes

1. Create a Google Sheet document

1. Create a Google Sheet document

  • This tutorial uses Google Sheet document connected to Google Forms, but a standalone Sheet document will work too
  • Adapt initial trigger to your needs: run manually or at some time intervals

Link to the Google Sheets template

2. Combine all answers into an array

2. Combine all answers into an array

  • Since the main goal is to provide an overall summary, we need to combine all answers for each Google Form question
  • Aggregate Node takes multiple incoming items and produces just a single item which contains arrays of user feedback
3. Generate a summary report

3. Generate a summary report

  • Enter a system message with a overall instructions on how to analyze the feedback form
  • Provide a user message with JSON arrays.

NB! Consider splitting the form questions for a very long forms or when the number of responses is too high

4. Convert to HTML and send an email

4. Convert to HTML and send an email

  • GPT is configured to reply in Markdown format. Markdown Node converts such text into HTML
  • Finally, the Gmail node sends a message with HTML report
Summarize Google Sheets form feedback via OpenAI's GPT-4

Summarize Google Sheets form feedback via OpenAI's GPT-4

Purpose and structure

This folder contains the Summarize Google Sheets form feedback via OpenAI's GPT-4 workflow. Its executable nodes use aggregate, gmail, googleSheets, manualTrigger, markdown, openAi. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.

Setup

Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.

Entry points

When clicking "Test workflow"

Verification

Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.

Attribution

https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Manual/1543_Manual_Openai_Automation_Triggered.json MIT; preserve source notices.

More in AI & research