Manage school fee receipts and GPT-4o reminders with Razorpay and Google Sheets
Ready for 3.0What this workflow does
This AI workflow has 20 nodes and runs when an HTTP GET request hits its webhook URL (plus 2 other triggers). Along the way it connects Google Sheets, Gmail, OpenAI and Telegram and 1 more.
How it runs
Trigger: When an HTTP GET request hits its webhook URL (plus 2 other triggers).
- Parse and Validate Payment Payload (Code): runs custom JavaScript code
- Fetch All Student Records (Google Sheets): uses Google Sheets
- Slack: uses Slack
- Look Up Student Record in Sheets (Google Sheets): uses Google Sheets
- Identify and Tier Defaulters (Code): runs custom JavaScript code
- Calculate Updated Fee Balance (Code): runs custom JavaScript code
- Any Defaulters Found? (If): checks a condition and branches into true / false
- Update Student Balance in Sheets (Google Sheets): uses Google Sheets
- AI Draft Personalised Fee Reminder (OpenAI): uses OpenAI
- Build Branded HTML Receipt (Code): runs custom JavaScript code
…plus 7 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
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 (11)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - Convert to File
n8n-nodes-base.convertToFile - Gmail
n8n-nodes-base.gmail - Schedule Trigger
n8n-nodes-base.scheduleTrigger - If
n8n-nodes-base.if - OpenAI
@n8n/n8n-nodes-langchain.openAi - Telegram
n8n-nodes-base.telegram - Error Trigger
n8n-nodes-base.errorTrigger - Slack
n8n-nodes-base.slack
From the author
Quick overview This workflow automates school fee collection by processing Razorpay payment webhooks, updating student balances in Google Sheets, generating a PDF receipt, and sending it via Gmail, plus running a weekly Google Sheets defaulter scan that uses…