Automation · Course lab · about 240 minutes · 6 tasks · marked out of 100, pass at 60
Design, build and monitor one automation, end to end
The situation
Pick a real business and one repetitive task in it. You will score candidates, design the workflow including its failure branch before writing anything, transform twenty real messy records, add the monitoring that tells you when it silently stops, schedule it in the right timezone, and build it with a dry-run mode you read line by line before going live.
What you'll be able to show
- Score tasks on the four traits and choose one with a stated reason
- Write a workflow with trigger, steps, conditions, actions and a failure branch
- Add logging, alerting, dead-man detection and a holding place for inputs
- Build with a dry-run and run it against real data first
What you need
- Any automation tool you can use — Python, a no-code tool, a spreadsheet script
- Twenty real records from any source (anonymised)
- A scheduler, and a way to be alerted (email, WhatsApp to yourself)
Tasks
-
1Score and chooseList five repetitive tasks in the business. Score each on the four traits and estimate time saved per month. Choose one, and write one sentence per rejected task on why not.A correct result: A scored table, one choice, four reasons for not choosing the others.
-
2The workflow, on paperWrite the task as trigger, steps, conditions, actions, and what happens on failure. No code. If you cannot write the failure branch, stop and understand the process first.A correct result: A workflow document with an explicit failure branch.
-
3Twenty records, transformedTake twenty real records. Write the transform that maps them to a new set of field names, normalising phone numbers and dates. Count how many needed cleaning.A correct result: Twenty transformed records and the count that needed cleaning.
-
4MonitoringAdd a log line per run, an alert on failure, a way to detect that it has NOT run at all (a dead-man check), and a holding place for inputs when the destination is unavailable. Unplug the destination and confirm nothing is lost.A correct result: Four monitoring pieces present; the unplugged test shows inputs held, not lost.
-
5Schedule, in the right timezoneSchedule it daily. Confirm from its own log that it fired at the intended local time — not five hours out. Break it on purpose and confirm the alert reaches you.A correct result: A log entry at the right local time and an alert received.
-
6Build with a dry runBuild the automation you designed, with a dry-run mode. Run the dry run against real data and read every line of what it says it would do. Only then run it live.A correct result: The dry-run output, annotated with anything you corrected before going live, and the first live run's log.
What to hand in
The scored table, the workflow document, the transform with its count, the monitoring evidence, the schedule proof, and the dry-run output with the live log.
How it is marked
| Criterion | Points |
|---|---|
| Tasks scored and the choice reasoned | 10 |
| Workflow has every part including the failure branch | 20 |
| Transform correct with cleaning counted | 15 |
| All four monitoring pieces, unplugged test passed | 25 |
| Scheduled at the right local time with a working alert | 15 |
| Dry run read and corrected before the live run | 15 |
| Total · pass at 60 | 100 |
صورتحال
ایک حقیقی کاروبار اور اس میں ایک بار بار ہونے والا کام چنیں۔ آپ امیدواروں کو نمبر دیں گے، کچھ لکھنے سے پہلے workflow اس کی ناکامی کی شاخ سمیت design کریں گے، بیس حقیقی بے ترتیب records transform کریں گے، وہ monitoring شامل کریں گے جو بتائے کہ یہ خاموشی سے کب رک گیا، صحیح timezone میں schedule کریں گے، اور اسے dry-run mode کے ساتھ بنائیں گے جسے آپ live جانے سے پہلے line by line پڑھیں گے۔
آپ کیا دکھا سکیں گے
- چار خصوصیات پر کاموں کو نمبر دینا اور بیان کردہ وجہ کے ساتھ ایک چننا
- trigger، steps، conditions، actions اور ناکامی کی شاخ کے ساتھ workflow لکھنا
- logging، alerting، dead-man detection اور inputs کے لیے محفوظ جگہ شامل کرنا
- dry-run کے ساتھ بنانا اور پہلے حقیقی data پر چلانا
آپ کو کیا چاہیے
- کوئی بھی automation tool جو آپ استعمال کر سکیں — Python، no-code tool، spreadsheet script
- کسی بھی ذریعے سے بیس حقیقی records (anonymised)
- ایک scheduler، اور alert پانے کا طریقہ (email، خود کو WhatsApp)
کام
-
1نمبر دیں اور چنیںکاروبار کے پانچ بار بار ہونے والے کام لکھیں۔ ہر ایک کو چاروں خصوصیات پر نمبر دیں اور مہینے میں بچنے والے وقت کا اندازہ لگائیں۔ ایک چنیں، اور ہر رد کیے گئے کام پر ایک جملہ لکھیں کہ کیوں نہیں۔درست نتیجہ: نمبروں والی table، ایک انتخاب، باقی نہ چننے کی چار وجوہات۔
-
2workflow، کاغذ پرکام کو trigger، steps، conditions، actions، اور ناکامی پر کیا ہوتا ہے کے طور پر لکھیں۔ کوئی code نہیں۔ اگر آپ ناکامی کی شاخ نہیں لکھ سکتے تو رکیں اور پہلے process سمجھیں۔درست نتیجہ: واضح ناکامی کی شاخ والا workflow document۔
-
3بیس records، transform شدہبیس حقیقی records لیں۔ وہ transform لکھیں جو انہیں field names کے نئے set پر map کرے، phone نمبر اور تاریخیں normalise کرتے ہوئے۔ گنیں کہ کتنوں کو صفائی کی ضرورت پڑی۔درست نتیجہ: بیس transform شدہ records اور صفائی درکار والوں کی گنتی۔
-
4monitoringہر run پر ایک log line، ناکامی پر alert، یہ جانچنے کا طریقہ کہ وہ چلا ہی نہیں (dead-man check)، اور destination دستیاب نہ ہونے پر inputs کے لیے محفوظ جگہ شامل کریں۔ destination بند کریں اور تصدیق کریں کہ کچھ ضائع نہیں ہوا۔درست نتیجہ: monitoring کی چاروں چیزیں موجود؛ بند کرنے کا test inputs محفوظ دکھائے، ضائع نہیں۔
-
5schedule، صحیح timezone میںروزانہ schedule کریں۔ اس کے اپنے log سے تصدیق کریں کہ وہ مطلوبہ مقامی وقت پر چلا — پانچ گھنٹے آگے پیچھے نہیں۔ جان بوجھ کر توڑیں اور تصدیق کریں کہ alert آپ تک پہنچتا ہے۔درست نتیجہ: صحیح مقامی وقت پر log entry اور موصول شدہ alert۔
-
6dry run کے ساتھ بنائیںاپنی design کی ہوئی automation dry-run mode کے ساتھ بنائیں۔ dry run حقیقی data پر چلائیں اور اس کی ہر line پڑھیں کہ وہ کیا کرنے کا کہہ رہی ہے۔ اس کے بعد ہی live چلائیں۔درست نتیجہ: dry-run کا output، live جانے سے پہلے درست کی گئی ہر چیز کے نوٹ کے ساتھ، اور پہلے live run کا log۔
کیا جمع کروانا ہے
نمبروں والی table، workflow document، گنتی کے ساتھ transform، monitoring کا ثبوت، schedule کا ثبوت، اور live log کے ساتھ dry-run کا output۔
نمبر کیسے ملیں گے
| معیار | نمبر |
|---|---|
| کاموں کو نمبر دیے گئے اور انتخاب کی وجہ بتائی گئی | 10 |
| workflow میں ناکامی کی شاخ سمیت ہر حصہ ہے | 20 |
| transform درست، صفائی گنی ہوئی | 15 |
| monitoring کی چاروں چیزیں، بند کرنے کا test کامیاب | 25 |
| صحیح مقامی وقت پر schedule، کام کرتا alert | 15 |
| dry run live run سے پہلے پڑھا اور درست کیا گیا | 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.