Library / Lead Generation & Enrichment
Lead Generation & Enrichment
Score student leads from Google Sheets with OpenAI and route them via Telegram
Polls a Google Sheet every 15 minutes, scores new student enquiries with GPT-4o-mini, and notifies the assigned counsellor via Telegram and Gmail with the score and talking points.
What it does
## 🎓 Student Lead CRM — AI-Powered Intake & Routing ### How it works Every 15 minutes, this workflow scans a Google Sheet for new student enquiries, scores each lead using GPT-4o-mini, and routes it to the right counsellor — all before a human even opens their inbox. The moment a lead arrives, the student gets a personalised WhatsApp reply, and the assigned counsellor is notified via both Telegram and email with the AI score and talking points. ### Setup steps 1. Google Sheets — Link your Student lead crm spreadsheet using OAuth2. Ensure it has two sheets: New Leads Input (intake form) and Leads CRM (master tracker). 2. OpenAI — Connect your OpenAI API key under the AI – Qualify & Score Lead node. GPT-4o-mini is used to keep costs low. 3. Twilio (WhatsApp) — Add your Twilio Account SID and Auth Token. Update the From number to your WhatsApp-enabled Twilio sandbox or verified number. 4. Telegram Bot — Connect your bot token. Replace the three telegramId values in Parse AI + Assign Counsellor with your actual counsellor group/channel IDs. 5. Gmail — Authenticate with OAuth2. Update counsellor email addresses in the same code node. 6. Test run — Add a row to New Leads Input and execute manually to verify the full flow end-to-end.
The steps
- Poll Trigger – Every 15 Minutes
- Fetch Unprocessed Leads from Sheet
- Filter – Skip Empty or Incomplete Rows
- Normalise Lead Data
- AI – Score and Classify Lead Intent
- Parse AI Response and Assign Counsellor
- Write Enriched Lead to CRM Sheet
- Mark Source Row as Processed
- Build WhatsApp and Telegram Message Content
- WhatsApp – Send Welcome Message via Twilio
- Telegram – Alert Assigned Counsellor
- Gmail – Send Lead Briefing to Counsellor
- On Workflow Error
- Slack — Send Workflow Error Alert
Similar automations
RAG & Knowledge BasesSend Daily Student Motivation with OpenAI RAG11 stepsLead Generation & EnrichmentScore and route B2B demo leads with Google Sheets and Gmail20 stepsLead Generation & EnrichmentScore and route form leads with OpenAI, Slack, Notion and Google Sheets16 stepsLead Generation & EnrichmentScore and route GoHighLevel leads with Gemini, Slack and Monday.com14 steps