Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

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

  1. Poll Trigger – Every 15 Minutes
  2. Fetch Unprocessed Leads from Sheet
  3. Filter – Skip Empty or Incomplete Rows
  4. Normalise Lead Data
  5. AI – Score and Classify Lead Intent
  6. Parse AI Response and Assign Counsellor
  7. Write Enriched Lead to CRM Sheet
  8. Mark Source Row as Processed
  9. Build WhatsApp and Telegram Message Content
  10. WhatsApp – Send Welcome Message via Twilio
  11. Telegram – Alert Assigned Counsellor
  12. Gmail – Send Lead Briefing to Counsellor
  13. On Workflow Error
  14. Slack — Send Workflow Error Alert

Similar automations