Automation library · Research and reporting

Send weekly parent progress reports with Google Sheets

Started by another system calling it, and works across Gmail, Google Sheets, Slack and Telegram. It hands the judgement calls to OpenAI. 27 steps, 3 branches: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

27 stepsLarge: read it before trusting it with anything live
3Branches: places the flow splits
0Loops or waits
4Services it connects to

The flow

Starts it 3Model 2Logic 11Service 11

The steps in the order they run, from what starts it.

  1. 1Webhook - On-Demand Student AlertWebhookStarts it
  2. 2Every Friday 6 PMSchedule triggerStarts it
  3. 3On Workflow ErrorError triggerStarts it
  4. 4Normalize Webhook DataCodeLogic
  5. 5Read Students SheetGoogle SheetsService
  6. 6Slack – Post Workflow Error AlertSlackService
  7. 7Merge SourcesMergeLogic
  8. 8Configurable Alert ThresholdsSetLogic
  9. 9Fetch Previous Week SnapshotGoogle SheetsService
  10. 10Process & Flag StudentsCodeLogic
  11. 11AI: Write Parent NarrativeOpen AiModel
  12. 12Is Urgent? (3+ Red Flags)IfLogic
  13. 13Append to History SheetGoogle SheetsService
  14. 14Extract Narrative TextCodeLogic
  15. 15Urgent Alert to ParentTelegramService
  16. 16Build Teacher SummaryCodeLogic
  17. 17Log to Send Logs SheetGoogle SheetsService
  18. 18AI: Generate Improvement TipsOpen AiModel
  19. 19Notify Teacher via TelegramTelegramService
  20. 20Notify Teacher via SlackSlackService
  21. 21Merge Narrative & TipsCodeLogic
  22. 22Generate PDF ReportHttp RequestService
  23. 23Route by Parent PreferenceCodeLogic
  24. 24Send Email?IfLogic
  25. 25Send Telegram?IfLogic
  26. 26Send Email to ParentGmailService
  27. 27Send Telegram to ParentTelegramService

How it's built

Starts on
Another system calling it
Steps
27, with 3 branches
Size
Large: read it before trusting it with anything live
Connects to
Gmail, Google Sheets, Slack, Telegram
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Sheets, Slack and Telegram accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 27 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 27 steps before you point it at anything that matters.