This workflow is designed for researchers, marketing teams, customer success managers, and survey analysts who want to automatically generate AI-powered summaries of form responses collected via Jotform — turning raw feedback into actionable insights.
It is ideal for:
Analyzing open-ended Jotform responses manually can be slow, repetitive, and error-prone.
This workflow automates the process by generating two AI summaries for every response:
This n8n workflow transforms Jotform submissions into structured summaries using Google Gemini.
Webhook Trigger (Jotform Integration)
Set the Input Fields
Extracts and assigns key fields like:
FormTitle
SubmissionID
Body
(the formatted form data)Prepares structured JSON to feed into the AI summarization stage.
Comprehensive & Abstract Summarizer
Powered by Google Gemini Chat Model (models/gemini-2.0-flash-exp).
Custom prompt:
You are an expert comprehensive summarizer. Build a detailed and abstract summary of the following {{ $json.body.pretty }}.
Produces two distinct summaries:
comprehensive_summary
abstract_summary
Structured Output Parser
Ensures Gemini output matches a defined JSON schema:
{
"comprehensive_summary": "",
"abstract_summary": ""
}
Guarantees reliable downstream integration with Sheets and Docs.
Persist on DataTable
Append or Update Row in Google Sheets
Writes both summaries into a connected Google Sheet.
Columns:
comprehensive_summary
abstract_summary
Create Google Document
Automatically generates a Google Docs file titled:
{FormTitle}-{SubmissionID}
Acts as a per-submission record with a placeholder ready for AI summary insertion.
Update Google Document
Inserts both summaries directly into the newly created Google Doc:
Comprehensive Summary:
[Full detailed summary]
Abstract Summary:
[Conceptual summary]
Each doc becomes a polished, shareable insight artifact.
Comprehensive summarization captures every important detail in a factual, exhaustive way — ideal when accuracy and completeness matter.
Goal:
Provide a detailed understanding of user responses without losing nuance.
Best For:
Abstract summarization rephrases and synthesizes ideas, offering high-level insights rather than copying text.
Goal:
Capture the essence and implications of feedback — ideal for storytelling and executive reviews.
Best For:
For the purpose of demonstation, we are considering the Jotforms Prebuilt Form as a example.
Follow these steps to deploy and customize the workflow:
This step is required for the locally hosted n8n only. Please make sure to setup and install ngrok and follow the steps to configure and run ngrok on your local with the n8n port. This is how you can run.
ngrok http 5678
Copy the base URL ex: https://2c6ab9f2c746.ngrok-free.app/ as it will be utilized as part of the webhook configuration for the Jotform.
Copy the webhook URL generated by n8n’s Jotform Trigger node.
In your Jotform dashboard, go to:
Settings → Integrations → Webhooks → Add Webhook
If you are executing this workflow on a self hosted n8n instance, please follow the steps for setting up ngrok and format the Webhook URL so that the Jotform can make a Webhook POST over the public URL.
Copy the Webhook URL generated by n8n.
You can copy the URL by double clicking on the Jotform Trigger node. Make sure to replace the base url with the above Step 0, if you are running the workflow from your local machine.
models/gemini-2.0-flash-exp
Open the Structured Output Parser node.
Ensure the schema includes:
{
"comprehensive_summary": "",
"abstract_summary": ""
}
Modify or expand schema fields if additional summaries (e.g., “sentiment_summary”) are needed.
Link your Google Sheets OAuth2 credentials.
Specify:
Map columns to:
comprehensive_summary
abstract_summary
Use the DataTable node to maintain a permanent database within n8n Cloud.
Configure the schema fields for:
comprehensive_summary
abstract_summary
After generating the summary, insert another Google Gemini node to classify the tone of each response — for example, Positive, Neutral, or Negative.
This helps you track user sentiment trends over time.
Use an IF node to check if the abstract summary contains words such as “urgent,” “issue,” or “negative.”
If triggered, automatically send an alert through Slack, Gmail, or Discord, so the team can respond immediately.
Insert a Language Detection node before the Gemini summarizer.
Once the language is detected, modify the summarizer prompt dynamically to summarize in that same language — ensuring localized insights.
Include an additional Gemini text extraction node that identifies major topics or recurring themes from each response before summarization.
This creates structured insights ready for analytics or tagging.
Connect your workflow to HubSpot, Salesforce, or Zendesk to automatically create new records or tickets based on the feedback type or sentiment.
This closes the loop between survey collection and actionable response.
This workflow automates survey intelligence generation from Jotform submissions — powered by Google Gemini AI — delivering dual-layer summarization outputs directly into Google Sheets, DataTables, and Google Docs.
Benefits: