Skip to main content

Automatic Topic & Sentiment Extraction from Jotform Responses with Google Gemini

Workflow preview

Workflow preview
100%
Automatic Topic & Sentiment Extraction from Jotform Responses with Google Gemini 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 this is for This workflow is designed for teams that collect feedback or survey responses via Jotform and want to automatically: Analyze sentiment (positive, neutral, negative) of each response...

Best for

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

Tools used

@n8n/n8n-nodes-langchain.lmchatgooglegemini, @n8n/n8n-nodes-langchain.chainllm, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.googlesheets, n8n-nodes-base.stickynote, n8n-nodes-base.code, n8n-nodes-base.jotformtrigger, n8n-nodes-base.merge

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Automatic Topic & Sentiment Extraction from Jotform Responses with Google Gemini
Workflow name
Automatic Topic & Sentiment Extraction from Jotform Responses with Google Gemini

Who this is for

This workflow is designed for teams that collect feedback or survey responses via Jotform and want to automatically:

  • Analyze sentiment (positive, neutral, negative) of each response.
  • Extract key topics and keywords from qualitative text.
  • Generate AI summaries and structured insights.
  • Store results in Google Sheets and n8n DataTables for easy reporting and analysis.

Use Cases

  • Customer experience analysis
  • Market research & survey analysis
  • Product feedback clustering
  • Support ticket prioritization
  • AI-powered blog or insight generation from feedback

What this workflow does

This n8n automation connects Jotform, Google Gemini, and Google Sheets to turn raw responses into structured insights with sentiment, topics, and keywords.

Pipeline Overview

Jotform → Webhook → Gemini (Topics + Keywords) → Gemini (Sentiment) → Output Parser → Merge → Google Sheets

Jotform Trigger

  • Captures each new submission from your Jotform (e.g., a feedback or survey form).
  • Extracts raw fields ($json.body.pretty) such as name, email, and response text.

Format Form Data (Code Node)

  • Converts the Jotform JSON structure into a clean string for AI input.
  • Ensures the text is readable and consistent for Gemini.

Topics & Keyword Extraction (Google Gemini + Output Parser)

Goal: Identify the main themes and important keywords from responses.

{
  "topics": [
    {
      "topic": "Product Features",
      "summary": "Users request more automation templates.",
      "keywords": ["AI templates", "automation", "workflow"],
      "sentiment": "positive",
      "importance_score": 0.87
    }
  ],
  "global_keywords": ["AI automation", "developer tools"],
  "insights": ["Developers desire more creative, ready-to-use AI templates."],
  "generated_at": "2025-10-08T10:30:00Z"
}

Sentiment Analyzer (Google Gemini + Output Parser)

Goal: Evaluate overall emotional tone and priority.

{
  "customer_name": "Ranjan Dailata",
  "customer_email": "[email protected]",
  "feedback_text": "Please build more interesting AI automation templates.",
  "sentiment": "positive",
  "confidence_score": 0.92,
  "key_phrases": ["AI automation templates", "developer enablement"],
  "summary": "Customer requests more AI automation templates to boost developer productivity.",
  "alert_priority": "medium",
  "timestamp": "2025-10-08T10:30:00Z"
}

Merge + Aggregate

  • Combines the topic/keyword extraction and sentiment output into a single structured dataset.
  • Aggregates both results for unified reporting.

Persist Results (Google Sheets)

  • Writes combined output into your connected Google Sheet.
  • Two columns recommended:
    • feedback_analysis → Sentiment + Summary JSON
    • topics_keywords → Extracted Topics + Keywords JSON
  • Enables easy visualization, filtering, and reporting.

Visualization (Optional)

Add Sticky Notes or a logo image node in your workflow to:

  • Visually describe sections (e.g., “Sentiment Analysis”, “Topic Extraction”).
  • Embed brand logo:
    ![Logo](https://www.jotform.com/resources/assets/logo-nb/min/jotform-logo-white-400x200.png)
    

Example AI Output (Combined)

{
  "feedback_analysis": {
    "customer_name": "Ranjan Dailata",
    "sentiment": "positive",
    "summary": "User appreciates current templates and suggests building more advanced AI automations.",
    "key_phrases": ["AI automation", "developer templates"]
  },
  "topics_keywords": {
    "topics": [
      {
        "topic": "AI Template Expansion",
        "keywords": ["AI automation", "workflow templates"],
        "sentiment": "positive",
        "importance_score": 0.9
      }
    ],
    "global_keywords": ["automation", "AI development"]
  }
}

Setup Instructions

Pre-requisite

If you are new to Jotform, Please do signup using Jotform Signup

For the purpose of demonstation, we are considering the Jotforms Prebuilt New Customer Registration Form as a example. However, you are free to consider for any of the form submissions.

Step 0: Local n8n (Optional)

If using local n8n, set up ngrok:

ngrok http 5678

Use the generated public URL as your Webhook URL base for Jotform integration.

Step 1: Configure the Webhook

  • Copy the Webhook URL generated by n8n (e.g., /webhook-test/f3c34cda-d603-4923-883b-500576200322). You can copy the URL by double clicking on the Webhook node. Make sure to replace the base url with the above Step 0, if you are running the workflow from your local machine.

  • In Jotform, go to your form → Settings → Integrations → Webhooks → paste this URL.
  • Now, every new form submission will trigger the n8n workflow.

Step 2: Connect Google Gemini

  • Create a Google Gemini API Credential in n8n.
  • Select the model models/gemini-2.0-flash-exp.

Step 3: Create Data Storage

  • Create a DataTable named JotformFeedbackInsights with columns:
    • feedback_analysis (string)
    • topics_keywords (string)

Step 4: Connect Google Sheets

  • Add credentials under Google Sheets OAuth2.
  • Link to your feedback tracking sheet.

Step 5: Test the Workflow

  • Submit a form via Jotform.
  • Check results:
    • AI nodes return structured JSON.
    • Google Sheet updates with new records.

Customization Tips

Change the Prompt

You can modify the topic extraction prompt to highlight specific themes:

You are a research analyst. Extract main topics, keywords, and actionable insights from this feedback: {{ $json.body }}

Extend the Output Schema

Add more fields like:

{
  "suggested_blog_title": "",
  "tone": "",
  "recommendations": []
}

Then update your DataTable or Sheets schema accordingly.

Integration Ideas

  • Send sentiment alerts to Slack for high-priority feedback.
  • Push insights into Notion, Airtable, or HubSpot.
  • Generate weekly reports summarizing trends across all submissions.

Summary

This workflow turns raw Jotform submissions into actionable insights using Google Gemini AI — extracting topics, keywords, and sentiment while automatically logging everything to Google Sheets.

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 - Google Gemini Chat Model

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

Block 2 - Sentiment Analyzer

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.7

Block 3 - Structured Output Parser

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

Block 4 - Append or update row in sheet

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

Block 5 - Sticky Note

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

Block 6 - Format the Form Data

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

Block 7 - Topics & Keywords

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.7

Block 8 - Google Gemini Chat Model for Topics and Keywords

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

Block 9 - Structured Output Parser for Topics & Keywords

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

Block 10 - JotForm Trigger

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

Block 11 - Merge

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

Block 12 - Aggregate

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

Block 13 - Sticky Note1

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

Block 14 - Sticky Note2

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

3. Summary Table

Workflow Automatic Topic & Sentiment Extraction from Jotform Responses with Google Gemini
Complexity intermediate
Nodes 14
Categories Market Research, AI Summarization
Author Ranjan Dailata
Published 07 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9350/9350.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 Automatic Topic & Sentiment Extraction from Jotform Responses with Google Gemini do?

Who this is for This workflow is designed for teams that collect feedback or survey responses via Jotform and want to automatically: Analyze sentiment (positive, neutral, negative) of each response...

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.