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

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

  1. Weekly Cron Trigger
  2. Read Student Data from Sheets
  3. Compute Risk Index
  4. Filter HIGH Risk Students
  5. Filter MEDIUM + HIGH Risk Students
  6. GPT-4o Personalised Nudge
  7. Build Teacher Digest
  8. Send Digest to Teacher Slack Channel
  9. Send Digest via Telegram
  10. Prepare Trend Log Rows
  11. Log Trend to Sheets
  12. Loop Over High-Risk Students
  13. Email Personalised Nudge to Student
  14. Slack – Send Error Alert

16 steps in total.

Similar automations