Automated Lead Qualification for JotForm with Google Gemini & Telegram Alerts
Go to WorkflowDescription
Smart Lead Qualification for JotForm Contact Forms
Automatically classify and manage contact form submissions using AI-powered lead scoring. This workflow analyzes JotForm submissions in real-time, categorizes them as hot leads, cold leads, or spam, and takes intelligent actions—sending Telegram notifications for hot leads, ignoring irrelevant inquiries, and automatically deleting spam.
Who's It For
This template is perfect for:
Businesses receiving high volumes of contact form submissions** who need to prioritize responses
Marketing and sales teams** wanting to focus on qualified leads immediately
Agencies and consultants** offering AI/automation services who want to filter out noise
Anyone struggling with spam** or low-quality form submissions
What It Does
The workflow uses Google Gemini AI to intelligently classify each JotForm submission into three categories:
Hot Lead (1)**: Genuine inquiries about your services, collaboration requests, or project proposals → Sends Telegram notification + Flags in JotForm
Cold Lead (0)**: Legitimate but irrelevant inquiries (job applications, unrelated business queries) → No action taken
Garbage/Spam (2)**: Test submissions, bots, gibberish, or fake data → Automatically deleted from JotForm
How It Works
JotForm trigger captures new contact form submissions
Submission data is extracted and formatted
Google Gemini AI analyzes the content and classifies the lead
A switch routes the submission based on classification:
Hot leads trigger Telegram notifications and get flagged
Cold leads are ignored
Spam submissions are automatically deleted
Requirements
n8n instance** (cloud or self-hosted)
JotForm account** with a contact form (Get JotForm here)
Google Gemini API key** (free tier available)
Telegram account** for notifications
How to Set Up
📋 Detailed setup instructions are included inside the workflow in sticky notes.
Quick setup overview:
Create your contact form in JotForm using the "Contact Form with Fancy Header and Footer" template
Get your JotForm API key and form ID
Obtain a Google Gemini API key from Google AI Studio
Create a Telegram bot via @BotFather and get your chat ID
Configure all credentials in the respective nodes
Update the HTTP request nodes with your JotForm API key
Test the workflow with sample submissions
The workflow includes comprehensive sticky notes with step-by-step instructions, including how to get your Telegram chat ID and configure all integrations.
How to Customize
Adjust classification criteria**: Modify the AI Agent's system prompt to match your business type and lead qualification criteria
Change notification format**: Edit the Telegram message template to include/exclude specific fields
Add more actions**: Extend hot lead handling with additional nodes (e.g., add to CRM, send email, create task)
Modify form fields**: Update field references if your JotForm uses different field names
Multi-channel notifications**: Add Slack, Discord, or email notifications alongside Telegram
Note
All API keys and credentials shown in the workflow are placeholders. You'll need to replace them with your own credentials during setup.