Run a school admin assistant on Telegram with DeepSeek and Google Sheets
Ready for 3.0What this workflow does
This AI workflow has 58 nodes and runs on Telegram events (message) (plus 1 other trigger). Along the way it connects Telegram, Google Sheets, Gmail and DeepSeek Chat Model.
How it runs
Trigger: On Telegram events (message) (plus 1 other trigger).
- Workflow Config (Edit Fields (Set)): sets 5 fields: sheetId, schoolName, attendanceThreshold…
- Is Daily Briefing? (If): checks a condition and branches into true / false
- Read Students (Briefing) (Google Sheets): uses Google Sheets
- Read Users (Google Sheets): uses Google Sheets
- Read Substitutions (Briefing) (Google Sheets): uses Google Sheets
- Read Teachers (Google Sheets): uses Google Sheets
- Read Users (Briefing) (Google Sheets): uses Google Sheets
- Identify Sender (Code): runs custom JavaScript code
- Build Briefing Facts (Code): runs custom JavaScript code
- Known Sender? (If): checks a condition and branches into true / false
…plus 42 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Telegram + Google Sheets templates (674) · Other Gmail + Telegram templates (361)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (14)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - Telegram
n8n-nodes-base.telegram - Information Extractor
@n8n/n8n-nodes-langchain.informationExtractor - Switch
n8n-nodes-base.switch - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Gmail
n8n-nodes-base.gmail - DeepSeek Chat Model
@n8n/n8n-nodes-langchain.lmChatDeepSeek
From the author
Quick overview Run school admin from one Telegram chat. Teachers report absences and the bot asks free teachers to confirm cover. The principal approves AI-written English and Hindi circulars before parents are emailed, and gets a daily 8am briefing on…