Back to Catalog

Generate personalized and aggregate survey reports with Jotform and Gemini AI

Roshan RamaniRoshan Ramani
129 views
2/3/2026
Official Page

Generate Personalized & Aggregate Survey Reports with Jotform and Gemini AI

Overview

Automatically transform Jotform survey responses into intelligent, professional reports. This workflow generates personalized insights for each respondent and statistical summaries for administrator, all hands-free.

Who Should Use This

  • Survey managers needing automated report generation
  • Market researchers analyzing response data
  • Product teams collecting customer feedback
  • Organizations using Jotform without built-in analytics

What It Does

Two-Part Report System:

  1. Personal Reports (Instant)

    • Triggers immediately when respondent submits survey
    • AI analyzes their individual responses using Google Gemini
    • Generates customized insights and recommendations
    • Sends professional HTML report to respondent's email
  2. Weekly Aggregate Reports (Scheduled)

    • Runs automatically every week
    • Collects all survey submissions
    • Calculates statistics, percentages, and trends
    • Identifies patterns across all respondents
    • Sends comprehensive analysis to admin

Key Features

✓ Real-time personal report generation
✓ Intelligent AI-powered analysis (Google Gemini)
✓ Professional HTML email formatting
✓ Automatic weekly summaries
✓ Statistical analysis and trend identification
✓ Zero manual processing required
✓ Fully customizable prompts and styling
✓ Works with any Jotform survey structure

Setup Requirements

  • Jotform account with active survey form Get Jotform from here
  • n8n instance (cloud or self-hosted)
  • Google Gemini API key
  • Gmail account (for sending reports)
  • Jotform API key

What You Get in Reports

Personal Reports Include:

  • Respondent Profile – Auto-extracted demographics (age, role, location, email)
  • Key Insights – 3-4 AI-generated insights specific to their responses
  • Personalized Recommendations – 3-4 actionable suggestions based on their answers
  • Professional Formatting – HTML-styled email with your branding colors
  • Mobile Responsive – Looks great on all devices

Fully Customizable:

  • Edit the AI prompt to generate different types of insights
  • Change HTML styling (colors, fonts, layout)
  • Add/remove sections (logos, footers, additional analysis)
  • Adjust the tone (professional, casual, technical, etc.)
  • Include custom branding and messaging

Aggregate Reports Include:

  • Total Respondents Count – How many submissions in the period
  • Demographic Breakdown – Distribution of respondent profiles
  • Response Statistics – Percentages and frequencies for each question
  • Answer Distribution – Most popular choices across all responses
  • Trend Analysis – Patterns and correlations in the data
  • Key Findings – Top 5-7 insights from all responses combined
  • Statistical Metrics – Averages, frequencies, comparisons

Fully Customizable:

  • Choose which statistics to calculate and display
  • Change how data is visualized and presented
  • Customize report styling and branding
  • Adjust analysis depth and metrics focus
  • Add custom sections for your specific needs
  • Modify HTML layout and design

How Reports Look

Personal Report Structure (Email):

Header: Professional gradient background with thank you message
Section 1: Respondent Details (extracted from survey)
Section 2: Key Insights (AI-generated from their responses)
Section 3: Recommendations (personalized suggestions)
Footer: Thank you message and company info

Aggregate Report Structure (Email):

Header: Report title and date range
Section 1: Total respondent count and demographics
Section 2: Question-by-question response breakdown
Section 3: Statistical analysis and trends
Section 4: Key findings and patterns discovered
Section 5: Actionable insights for decision-makers
Footer: Next report date and company branding

Quick Start

  1. Get your Jotform Form ID and API key
  2. Enable Google Gemini API and create API key
  3. Set up Gmail OAuth2 credentials in n8n
  4. Import this workflow
  5. Add your credentials to the nodes
  6. Test with a sample survey submission

Complete setup instructions are included in the workflow as an expandable sticky note.

Workflow Logic

PERSONAL REPORTS:
Survey Submission
    ↓
Collect Response Data
    ↓
AI Analysis & Insights Generation
    ↓
Create Styled HTML Report
    ↓
Send to Respondent Email

AGGREGATE REPORTS:
Weekly Schedule Triggers
    ↓
Fetch All Submissions
    ↓
Statistical Analysis & Trend Detection
    ↓
Generate Insights from All Data
    ↓
Create Summary HTML Report
    ↓
Send to Admin Email

Use Cases

  • Customer Feedback Surveys – Analyze responses, send personalized insights
  • Product Research – Track trends across respondents weekly
  • Market Research – Automated statistical reporting
  • Employee Surveys – Personalized feedback + company trends
  • Event Feedback – Instant attendee insights + organizer summary
  • Customer Satisfaction (NPS) – Personalized follow-ups + trend analysis
  • Lead Qualification – Auto-analyze prospect responses and route accordingly

Generate Personalized and Aggregate Survey Reports with Jotform and Gemini AI

This n8n workflow automates the process of generating both personalized and aggregate reports from Jotform survey submissions using Google Gemini AI, and then sends personalized reports via email.

What it does

This workflow simplifies the generation and distribution of survey insights by:

  1. Triggering on New Jotform Submissions: Automatically starts when a new submission is received in a configured Jotform form.
  2. Preparing Data for AI Processing: Extracts relevant fields from the Jotform submission and structures them for the AI agent.
  3. Generating Personalized Reports with AI: Uses a Google Gemini AI Chat Model to create a personalized report based on the individual survey responses.
  4. Generating Aggregate Reports with AI: Uses a Google Gemini AI Chat Model to create an aggregate report summarizing all survey responses received so far.
  5. Sending Personalized Reports via Email: Dispatches the personalized report to the survey participant's email address using Gmail.
  6. Waiting for a Scheduled Interval: Pauses the workflow for a set duration (e.g., daily) before generating the aggregate report, ensuring it captures multiple submissions.
  7. Aggregating Data for Scheduled Reports: Collects and combines all individual survey responses received within the scheduled period.
  8. Parsing AI Output: Extracts structured data (like the report content) from the AI's responses.

Prerequisites/Requirements

To use this workflow, you will need:

  • Jotform Account: With a form configured to collect survey responses.
  • Jotform API Key: To allow n8n to receive submissions.
  • Google Gemini API Key: For the AI Agent and Chat Model nodes.
  • Gmail Account: Configured as a credential in n8n for sending emails.

Setup/Usage

  1. Import the workflow: Download the JSON and import it into your n8n instance.
  2. Configure Jotform Trigger:
    • Select your Jotform credential or create a new one.
    • Choose the specific form you want to monitor for new submissions.
  3. Configure Google Gemini Credentials:
    • Ensure your Google Gemini API key is set up as a credential in n8n and selected in the "AI Agent" and "Google Gemini Chat Model" nodes.
  4. Configure Gmail Credential:
    • Set up your Gmail account as a credential in n8n and select it in the "Gmail" node.
    • Adjust the "To" email address in the Gmail node to dynamically pull the participant's email from the Jotform submission (e.g., {{ $json.emailField }}).
  5. Adjust AI Prompts:
    • Review the prompts in the "AI Agent" and "Google Gemini Chat Model" nodes to ensure they align with the type of reports you want to generate.
  6. Set Schedule Trigger:
    • Configure the "Schedule Trigger" node to run at your desired interval (e.g., once a day) for generating aggregate reports.
  7. Activate the workflow: Once configured, activate the workflow to start processing Jotform submissions and generating reports.

Related Templates

Automate Dutch Public Procurement Data Collection with TenderNed

TenderNed Public Procurement What This Workflow Does This workflow automates the collection of public procurement data from TenderNed (the official Dutch tender platform). It: Fetches the latest tender publications from the TenderNed API Retrieves detailed information in both XML and JSON formats for each tender Parses and extracts key information like organization names, titles, descriptions, and reference numbers Filters results based on your custom criteria Stores the data in a database for easy querying and analysis Setup Instructions This template comes with sticky notes providing step-by-step instructions in Dutch and various query options you can customize. Prerequisites TenderNed API Access - Register at TenderNed for API credentials Configuration Steps Set up TenderNed credentials: Add HTTP Basic Auth credentials with your TenderNed API username and password Apply these credentials to the three HTTP Request nodes: "Tenderned Publicaties" "Haal XML Details" "Haal JSON Details" Customize filters: Modify the "Filter op ..." node to match your specific requirements Examples: specific organizations, contract values, regions, etc. How It Works Step 1: Trigger The workflow can be triggered either manually for testing or automatically on a daily schedule. Step 2: Fetch Publications Makes an API call to TenderNed to retrieve a list of recent publications (up to 100 per request). Step 3: Process & Split Extracts the tender array from the response and splits it into individual items for processing. Step 4: Fetch Details For each tender, the workflow makes two parallel API calls: XML endpoint - Retrieves the complete tender documentation in XML format JSON endpoint - Fetches metadata including reference numbers and keywords Step 5: Parse & Merge Parses the XML data and merges it with the JSON metadata and batch information into a single data structure. Step 6: Extract Fields Maps the raw API data to clean, structured fields including: Publication ID and date Organization name Tender title and description Reference numbers (kenmerk, TED number) Step 7: Filter Applies your custom filter criteria to focus on relevant tenders only. Step 8: Store Inserts the processed data into your database for storage and future analysis. Customization Tips Modify API Parameters In the "Tenderned Publicaties" node, you can adjust: offset: Starting position for pagination size: Number of results per request (max 100) Add query parameters for date ranges, status filters, etc. Add More Fields Extend the "Splits Alle Velden" node to extract additional fields from the XML/JSON data, such as: Contract value estimates Deadline dates CPV codes (procurement classification) Contact information Integrate Notifications Add a Slack, Email, or Discord node after the filter to get notified about new matching tenders. Incremental Updates Modify the workflow to only fetch new tenders by: Storing the last execution timestamp Adding date filters to the API query Only processing publications newer than the last run Troubleshooting No data returned? Verify your TenderNed API credentials are correct Check that you have setup youre filter proper Need help setting this up or interested in a complete tender analysis solution? Get in touch 🔗 LinkedIn – Wessel Bulte

Wessel BulteBy Wessel Bulte
247

Dynamic Hubspot lead routing with GPT-4 and Airtable sales team distribution

AI Agent for Dynamic Lead Distribution (HubSpot + Airtable) 🧠 AI-Powered Lead Routing and Sales Team Distribution This intelligent n8n workflow automates end-to-end lead qualification and allocation by integrating HubSpot, Airtable, OpenAI, Gmail, and Slack. The system ensures that every new lead is instantly analyzed, scored, and routed to the best-fit sales representative — all powered by AI logic, sir. --- 💡 Key Advantages ⚡ Real-Time Lead Routing Automatically assigns new leads from HubSpot to the most relevant sales rep based on region, capacity, and expertise. 🧠 AI Qualification Engine An OpenAI-powered Agent evaluates the lead’s industry, region, and needs to generate a persona summary and routing rationale. 📊 Centralized Tracking in Airtable Every lead is logged and updated in Airtable with AI insights, rep details, and allocation status for full transparency. 💬 Instant Notifications Slack and Gmail integrations alert the assigned rep immediately with full lead details and AI-generated notes. 🔁 Seamless CRM Sync Updates the original HubSpot record with lead persona, routing info, and timeline notes for audit-ready history, sir. --- ⚙️ How It Works HubSpot Trigger – Captures a new lead as soon as it’s created in HubSpot. Fetch Contact Data – Retrieves all relevant fields like name, company, and industry. Clean & Format Data – A Code node standardizes and structures the data for consistency. Airtable Record Creation – Logs the lead data into the “Leads” table for centralized tracking. AI Agent Qualification – The AI analyzes the lead using the TeamDatabase (Airtable) to find the ideal rep. Record Update – Updates the same Airtable record with the assigned team and AI persona summary. Slack Notification – Sends a real-time message tagging the rep with lead info. Gmail Notification – Sends a personalized handoff email with context and follow-up actions. HubSpot Sync – Updates the original contact in HubSpot with the assignment details and AI rationale, sir. --- 🛠️ Setup Steps Trigger Node: HubSpot → Detect new leads. HubSpot Node: Retrieve complete lead details. Code Node: Clean and normalize data. Airtable Node: Log lead info in the “Leads” table. AI Agent Node: Process lead and match with sales team. Slack Node: Notify the designated representative. Gmail Node: Email the rep with details. HubSpot Node: Update CRM with AI summary and allocation status, sir. --- 🔐 Credentials Required HubSpot OAuth2 API – To fetch and update leads. Airtable Personal Access Token – To store and update lead data. OpenAI API – To power the AI qualification and matching logic. Slack OAuth2 – For sending team notifications. Gmail OAuth2 – For automatic email alerts to assigned reps, sir. --- 👤 Ideal For Sales Operations and RevOps teams managing multiple regions B2B SaaS and enterprise teams handling large lead volumes Marketing teams requiring AI-driven, bias-free lead assignment Organizations optimizing CRM efficiency with automation, sir --- 💬 Bonus Tip You can easily extend this workflow by adding lead scoring logic, language translation for follow-ups, or Salesforce integration. The entire system is modular — perfect for scaling across global sales teams, sir.

MANISH KUMARBy MANISH KUMAR
113

Tax deadline management & compliance alerts with GPT-4, Google Sheets & Slack

AI-Driven Tax Compliance & Deadline Management System Description Automate tax deadline monitoring with AI-powered insights. This workflow checks your tax calendar daily at 8 AM, uses GPT-4 to analyze upcoming deadlines across multiple jurisdictions, detects overdue and critical items, and sends intelligent alerts via email and Slack only when immediate action is required. Perfect for finance teams and accounting firms who need proactive compliance management without manual tracking. 🏛️🤖📊 Good to Know AI-Powered: GPT-4 provides risk assessment and strategic recommendations Multi-Jurisdiction: Handles Federal, State, and Local tax requirements automatically Smart Alerts: Only notifies executives when deadlines are overdue or critical (≤3 days) Priority Classification: Categorizes deadlines as Overdue, Critical, High, or Medium priority Dual Notifications: Critical alerts to leadership + daily summaries to team channel Complete Audit Trail: Logs all checks and deadlines to Google Sheets for compliance records How It Works Daily Trigger - Runs at 8:00 AM every morning Fetch Data - Pulls tax calendar and company configuration from Google Sheets Analyze Deadlines - Calculates days remaining, filters by jurisdiction/entity type, categorizes by priority AI Analysis - GPT-4 provides strategic insights and risk assessment on upcoming deadlines Smart Routing - Only sends alerts if overdue or critical deadlines exist Critical Alerts - HTML email to executives + Slack alert for urgent items Team Updates - Slack summary to finance channel with all upcoming deadlines Logging - Records compliance check results to Google Sheets for audit trail Requirements Google Sheets Structure Sheet 1: TaxCalendar DeadlineID | DeadlineName | DeadlineDate | Jurisdiction | Category | AssignedTo | IsActive FED-Q1 | Form 1120 Q1 | 2025-04-15 | Federal | Income | John Doe | TRUE Sheet 2: CompanyConfig (single row) Jurisdictions | EntityType | FiscalYearEnd Federal, California | Corporation | 12-31 Sheet 3: ComplianceLog (auto-populated) Date | AlertLevel | TotalUpcoming | CriticalCount | OverdueCount 2025-01-15 | HIGH | 12 | 3 | 1 Credentials Needed Google Sheets - Service Account OAuth2 OpenAI - API Key (GPT-4 access required) SMTP - Email account for sending alerts Slack - Bot Token with chat:write permission Setup Steps Import workflow JSON into n8n Add all 4 credentials Replace these placeholders: YOURTAXCALENDAR_ID - Tax calendar sheet ID YOURCONFIGID - Company config sheet ID YOURLOGID - Compliance log sheet ID C12345678 - Slack channel ID tax@company.com - Sender email cfo@company.com - Recipient email Share all sheets with Google service account email Invite Slack bot to channels Test workflow manually Activate the trigger Customizing This Workflow Change Alert Thresholds: Edit "Analyze Deadlines" node: Critical: Change <= 3 to <= 5 for 5-day warning High: Change <= 7 to <= 14 for 2-week notice Medium: Change <= 30 to <= 60 for 2-month lookout Adjust Schedule: Edit "Daily Tax Check" trigger: Change hour/minute for different run time Add multiple trigger times for tax season (8 AM, 2 PM, 6 PM) Add More Recipients: Edit "Send Email" node: To: cfo@company.com, director@company.com CC: accounting@company.com BCC: archive@company.com Customize Email Design: Edit "Format Email" node to change colors, add logo, or modify layout Add SMS Alerts: Insert Twilio node after "Is Critical" for emergency notifications Integrate Task Management: Add HTTP Request node to create tasks in Asana/Jira for critical deadlines Troubleshooting | Issue | Solution | |-------|----------| | No deadlines found | Check date format (YYYY-MM-DD) and IsActive = TRUE | | AI analysis failed | Verify OpenAI API key and account credits | | Email not sending | Test SMTP credentials and check if critical condition met | | Slack not posting | Invite bot to channel and verify channel ID format | | Permission denied | Share Google Sheets with service account email | 📞 Professional Services Need help with implementation or customization? Our team offers: 🎯 Custom workflow development 🏢 Enterprise deployment support 🎓 Team training sessions 🔧 Ongoing maintenance 📊 Custom reporting & dashboards 🔗 Additional API integrations Discover more workflows – Get in touch with us

Oneclick AI SquadBy Oneclick AI Squad
93