Library / Monitoring, Ops & Incidents
Monitoring, Ops & Incidents
Flag at-risk students weekly from Google Sheets with GPT-4o and Slack alerts
Runs weekly, scores students in Google Sheets on attendance, assignments and test results, then sends AI nudges and teacher digests through Gmail, Slack and Telegram.
What it does
## 🎓 Student At-Risk Early Warning System ### How it works Every week, this workflow pulls student performance data from Google Sheets and computes a Risk Index for each student based on attendance, assignment completion, and recent test scores. Students are flagged as HIGH or MEDIUM risk, triggering personalised AI-written nudge messages for high-risk students and a consolidated digest for teachers. All results are also logged back to Sheets for trend tracking over time. ### Setup steps 1. Google Sheets — Connect your Google Sheets OAuth2 credentials and update the spreadsheet ID in both Read Student Data and Log Trend to Sheets nodes to point to your own sheet. 2. OpenAI — Add your OpenAI API key credential to the GPT-4o Personalised Nudge node. 3. Gmail — Connect a Gmail OAuth2 account in Send a message and update the recipient email address. 4. Slack — Authorise your Slack workspace in both Slack nodes and select the correct channel. 5. Telegram — Add your Telegram Bot token and update the chatId in the Telegram Alert node. 6. Schedule — The workflow runs weekly on Mondays at 7 AM by default. Adjust the Cron Trigger to match your school's reporting cycle. 7. Test — Run manually first to verify data mapping, then activate.
The steps
- Weekly Cron Trigger
- Read Student Data from Sheets
- Compute Risk Index
- Filter HIGH Risk Students
- Filter MEDIUM + HIGH Risk Students
- GPT-4o Personalised Nudge
- Build Teacher Digest
- Send Digest to Teacher Slack Channel
- Send Digest via Telegram
- Prepare Trend Log Rows
- Log Trend to Sheets
- Loop Over High-Risk Students
- Email Personalised Nudge to Student
- Slack – Send Error Alert
16 steps in total.
Similar automations
AI Agents & AssistantsSummarize advisor review notes and flag risk with OpenAI, Sheets and Gmail11 stepsDocuments, PDF & OCRSummarize portfolio reviews and flag risk with OpenAI and Google Sheets11 stepsDocuments, PDF & OCRMatch students with professors using OpenAI, Firecrawl, Google Sheets, and Gmail33 stepsMonitoring, Ops & IncidentsFlag B2B churn-risk orders from Google Sheets with Gemini and Slack alerts22 steps