n8n Automation · Course lab · about 120 minutes · 6 tasks · marked out of 100, pass at 60
Automate a tuition centre's enquiries end to end
The situation
Mr Kashif runs a tuition centre in Gujranwala. Parents fill an enquiry form on his website, and every evening he copies the entries into a register, sends each parent a reply, and forgets the ones that arrived on busy days. Last month three families enrolled elsewhere because nobody answered them.
Build the workflow that does this for him every time, survives a bad day, and that he can understand when you are not there.
What you'll be able to show
- Build a webhook-to-sheet-to-email workflow from real data, not assumed field names
- Branch on a rule with an IF node and keep every item accounted for
- Make the workflow survive failures with retries and an error alert
- Leave a workflow that reads as a sentence and explains itself
What you need
- n8n (n8n.cloud trial or self hosted)
- A free form tool with a webhook option (Tally, Jotform or Google Forms with an add-on)
- A Google account for Sheets and Gmail
Tasks
-
1Capture real data first
Create the enquiry form with Parent name, Phone, Class (6 to 12), Subject and Preferred time. Add a webhook trigger in n8n, put its TEST URL into the form, press Listen and submit one entry with obviously fake data.A correct result: A screenshot of the trigger's output panel showing every field name exactly as the form sends it. -
2Write every enquiry to a register
Add a Google Sheets node (Append Row) to a sheet called Enquiries with the same columns plus Received at. Map each column by dragging fields from the left panel, and set Received at from the run time.A correct result: Three test submissions appear as three rows, each column in the right place, with a timestamp. -
3Reply to the parent
Add a Gmail node that sends the centre a notification whose subject names the parent and the class, and a second message that drafts the reply to the parent. Put the phone number in the body so a call is one tap away.A correct result: The notification arrives with a subject like New enquiry: Ahmed, Class 9. -
4Route by class
Add an IF node before the emails: classes 9 to 12 go to the senior teacher's address, everything else to the junior one. Submit one enquiry of each kind.A correct result: Two submissions, two different recipients, and the executions list shows both branches ran. -
5Survive a bad day
Turn on Retry On Fail (3 tries, 5 seconds) for the Sheets and Gmail nodes. Build a separate error workflow with an Error Trigger that emails you the workflow name and the failed node. Attach it, then break the sheet name on purpose and submit once.A correct result: The error email arrives naming the failed node. Fix the sheet name and the next submission works. -
6Hand it over
Rename the workflow and every node so the diagram reads as a sentence. Add a sticky note on the canvas: what it does, who to tell when it breaks. Activate it, switch the form to the PRODUCTION URL, and submit one real test.A correct result: A screenshot of the canvas that a stranger could read aloud, and one production execution marked success.
What to hand in
Screenshots of the trigger output, the Enquiries sheet with at least five rows, both IF branches in the executions list, the error email, and the final canvas; plus the exported workflow JSON.
How it is marked
| Criterion | Points |
|---|---|
| Workflow built from captured field names and writes correct rows | 25 |
| IF routing works and both branches are shown | 20 |
| Retries set and the error workflow proven by a deliberate failure | 25 |
| Running on the production URL with a real execution | 15 |
| Names and notes make the canvas readable to a stranger | 15 |
| Total · pass at 60 | 100 |
صورتحال
کاشف صاحب گوجرانوالہ میں ایک ٹیوشن سینٹر چلاتے ہیں۔ والدین ان کی ویب سائٹ پر انکوائری فارم بھرتے ہیں، اور ہر شام وہ اندراجات ایک رجسٹر میں نقل کرتے ہیں، ہر والدین کو جواب بھیجتے ہیں، اور مصروف دنوں میں آنے والی انکوائریاں بھول جاتے ہیں۔ پچھلے مہینے تین خاندانوں نے کہیں اور داخلہ لے لیا کیونکہ کسی نے انہیں جواب نہیں دیا۔
وہ ورک فلو بنائیں جو یہ کام ہر بار ان کے لیے کرے، برے دن میں بھی چلتا رہے، اور جسے وہ آپ کی غیر موجودگی میں سمجھ سکیں۔
آپ کیا دکھا سکیں گے
- اصلی ڈیٹا سے webhook سے شیٹ سے ای میل تک ورک فلو بنانا، فرض کیے گئے فیلڈ ناموں سے نہیں
- IF نوڈ سے کسی اصول پر شاخ بنانا اور ہر آئٹم کا حساب رکھنا
- ری ٹرائی اور ایرر الرٹ سے ورک فلو کو ناکامیوں میں بھی چلتا رکھنا
- ایسا ورک فلو چھوڑنا جو جملے کی طرح پڑھا جائے اور خود کو سمجھائے
آپ کو کیا چاہیے
- n8n (n8n.cloud ٹرائل یا اپنے سرور پر)
- webhook کی سہولت والا کوئی مفت فارم ٹول (Tally، Jotform یا ایڈ آن کے ساتھ Google Forms)
- Sheets اور Gmail کے لیے ایک Google اکاؤنٹ
کام
-
1پہلے اصلی ڈیٹا پکڑیں
والدین کا نام، فون، کلاس (6 سے 12)، مضمون اور پسندیدہ وقت کے ساتھ انکوائری فارم بنائیں۔ n8n میں webhook ٹرگر لگائیں، اس کا TEST URL فارم میں ڈالیں، Listen دبائیں اور واضح طور پر جعلی ڈیٹا کے ساتھ ایک اندراج بھیجیں۔درست نتیجہ: ٹرگر کے آؤٹ پٹ پینل کا اسکرین شاٹ جس میں ہر فیلڈ کا نام بالکل ویسا ہو جیسا فارم بھیجتا ہے۔ -
2ہر انکوائری رجسٹر میں لکھیں
Enquiries نامی شیٹ پر Google Sheets نوڈ (Append Row) لگائیں، انہی کالموں کے ساتھ اور Received at بھی۔ ہر کالم بائیں پینل سے فیلڈ گھسیٹ کر میپ کریں، اور Received at رن کے وقت سے بھریں۔درست نتیجہ: تین ٹیسٹ اندراجات تین قطاروں کے طور پر آتے ہیں، ہر کالم درست جگہ، وقت کے ساتھ۔ -
3والدین کو جواب دیں
ایک Gmail نوڈ لگائیں جو سینٹر کو اطلاع بھیجے جس کے موضوع میں والدین کا نام اور کلاس ہو، اور دوسرا پیغام جو والدین کے لیے جواب کا مسودہ بنائے۔ فون نمبر متن میں رکھیں تاکہ کال ایک ٹچ پر ہو۔درست نتیجہ: اطلاع اس طرح کے موضوع کے ساتھ آتی ہے: New enquiry: Ahmed, Class 9۔ -
4کلاس کے لحاظ سے راستہ
ای میلز سے پہلے IF نوڈ لگائیں: کلاس 9 سے 12 سینئر استاد کے پتے پر، باقی جونیئر کے پتے پر۔ ہر قسم کی ایک انکوائری بھیجیں۔درست نتیجہ: دو اندراجات، دو مختلف وصول کنندگان، اور executions کی فہرست دونوں شاخیں چلتی دکھاتی ہے۔ -
5برے دن میں بھی چلے
Sheets اور Gmail نوڈز کے لیے Retry On Fail آن کریں (3 کوششیں، 5 سیکنڈ)۔ Error Trigger کے ساتھ الگ ایرر ورک فلو بنائیں جو آپ کو ورک فلو کا نام اور ناکام نوڈ ای میل کرے۔ اسے جوڑیں، پھر جان بوجھ کر شیٹ کا نام خراب کریں اور ایک اندراج بھیجیں۔درست نتیجہ: ایرر ای میل ناکام نوڈ کا نام لے کر آتی ہے۔ شیٹ کا نام ٹھیک کریں اور اگلا اندراج چل جاتا ہے۔ -
6حوالے کریں
ورک فلو اور ہر نوڈ کا نام ایسا رکھیں کہ خاکہ جملے کی طرح پڑھا جائے۔ کینوس پر ایک نوٹ لگائیں: یہ کیا کرتا ہے، ٹوٹنے پر کسے بتانا ہے۔ اسے Activate کریں، فارم کو PRODUCTION URL پر کریں، اور ایک اصلی ٹیسٹ بھیجیں۔درست نتیجہ: کینوس کا اسکرین شاٹ جسے کوئی اجنبی بلند آواز میں پڑھ سکے، اور ایک production رن جس پر success لکھا ہو۔
کیا جمع کروانا ہے
ٹرگر آؤٹ پٹ، کم از کم پانچ قطاروں والی Enquiries شیٹ، executions میں IF کی دونوں شاخیں، ایرر ای میل، اور آخری کینوس کے اسکرین شاٹ؛ ساتھ ایکسپورٹ کیا ہوا ورک فلو JSON۔
نمبر کیسے ملیں گے
| معیار | نمبر |
|---|---|
| ورک فلو پکڑے گئے فیلڈ ناموں سے بنا ہے اور درست قطاریں لکھتا ہے | 25 |
| IF کا راستہ کام کرتا ہے اور دونوں شاخیں دکھائی گئی ہیں | 20 |
| ری ٹرائی لگے ہیں اور ایرر ورک فلو جان بوجھ کر کی گئی ناکامی سے ثابت ہے | 25 |
| production URL پر اصلی رن کے ساتھ چل رہا ہے | 15 |
| نام اور نوٹس کینوس کو اجنبی کے لیے پڑھنے لائق بناتے ہیں | 15 |
| کل · پاس 60 | 100 |
Hand in your lab
Create a free BvLogic ID to hand in your lab, get it marked, and have it on your certificate.
Create your BvLogic IDAlready have one? Sign in and this course will be added to it.