🎫 Automate internal complaint resolution with Jotform, Gemini AI & Google Sheets

⚡ 216 views · 🎫 Ticket Management & Triage

Description

Workflow explaination video: https://youtu.be/z1grVuNOXMk

Prerequisites

Before running this workflow, you need to have the following set up:

  1. JotForm: A form with fields for describing the issue and optionally naming the team member involved.
  2. Google Sheet 1 (Issue Resolver Logic): A sheet with three columns: Issue Category, Normal Resolver, and Alternate Resolver. This sheet defines who handles which type of complaint.
  3. Google Sheet 2 (Issue Logs): A sheet to store all submitted complaints. It needs columns like: Issue, The person Caused by, case_awarded_to, resolver_email, email_subject, email_body_html, submitted_time, and status.
  4. Google Sheet 3 (Resolver Details): A simple sheet with two columns: resolver (e.g., “HR Team”) and email (e.g., “hr@yourcompany.com”).
  5. Credentials: You need to have connected accounts (credentials) in n8n for JotForm, Google (a Service Account for Sheets and OAuth for Gmail), and a Gemini API Key.

Part 1: Initial Complaint Processing

This part of the workflow triggers when a new complaint is submitted, uses AI to process it, logs it, and sends an initial notification.

1. JotForm Trigger

2. AI Agent

3. Save Complaint (Google Sheets Node)

4. Send a message (Gmail Node)


Part 2: Daily Follow-Up

This second, independent part of the workflow runs every day to check for unresolved issues that are older than three days and sends a reminder.

1. Schedule Trigger

2. Get Complaint Logs (Google Sheets Node)

3. If Node

4. Send a message1 (Gmail Node)

đź”— Nodes Used

Google Sheets, Jotform Trigger, Gmail, Schedule Trigger, AI Agent, Structured Output Parser

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup