إبلاغ أولياء الأمور على واتساب عند غياب الطالب
عندما يسجّل المعلم غياب طالب في جدول الحضور، تصل ولي الأمر رسالة واتساب فورًا.
كيف تعمل
المشغّل: Google Sheets — صف جديد في جدول Attendance
- يضيف المعلم صفًا (التاريخ، الطالب، الفصل، الحالة، هاتف ولي الأمر).
- تابع فقط عندما تكون الحالة "absent".
- أرسل لولي الأمر قالب واتساب معتمدًا باسم الطالب والفصل والتاريخ.
المخطط
مشغّل تطبيق منطق
ابنِها بأداتك
اختر أداتك — نفس الأتمتة، خطوة بخطوة.
انسخه والصقه مباشرة في مساحة عمل n8n (Ctrl+V)، أو حمّله واستخدم Import from File. بعد ذلك اربط حساباتك واستبدل كل قيمة تبدأ بـ YOUR_.
عرض الكود (154 سطر)
{
"name": "إبلاغ أولياء الأمور على واتساب عند غياب الطالب (Flowngn)",
"nodes": [
{
"parameters": {
"content": "## إبلاغ أولياء الأمور على واتساب عند غياب الطالب\nعندما يسجّل المعلم غياب طالب في جدول الحضور، تصل ولي الأمر رسالة واتساب فورًا.\n\n**Setup**\n1. Open each node and connect your own credentials.\n2. Replace every YOUR_… placeholder.\n3. Test once, then activate.\n\nFree template from Flowngn",
"height": 260,
"width": 340
},
"id": "458223d5-1806-40b3-a72e-e767d2a77d69",
"name": "Setup notes",
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
-420,
-60
]
},
{
"parameters": {
"pollTimes": {
"item": [
{
"mode": "everyMinute"
}
]
},
"documentId": {
"__rl": true,
"value": "YOUR_SPREADSHEET_ID",
"mode": "id"
},
"sheetName": {
"__rl": true,
"value": "Attendance",
"mode": "name"
},
"event": "rowAdded",
"options": {}
},
"id": "458223d5-1806-40b3-a72e-e767d2a77d69",
"name": "New attendance row",
"type": "n8n-nodes-base.googleSheetsTrigger",
"typeVersion": 1,
"position": [
0,
0
]
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "loose"
},
"conditions": [
{
"id": "c1",
"leftValue": "={{ String($json.status).trim().toLowerCase() }}",
"rightValue": "absent",
"operator": {
"type": "string",
"operation": "equals"
}
}
],
"combinator": "and"
},
"options": {}
},
"id": "458223d5-1806-40b3-a72e-e767d2a77d69",
"name": "Absent?",
"type": "n8n-nodes-base.if",
"typeVersion": 2.2,
"position": [
300,
0
]
},
{
"parameters": {
"operation": "sendTemplate",
"phoneNumberId": "YOUR_PHONE_NUMBER_ID",
"recipientPhoneNumber": "={{ String($json.parent_phone).replace(/[^0-9]/g, '') }}",
"template": "YOUR_ABSENCE_TEMPLATE|ar",
"components": {
"component": [
{
"type": "body",
"bodyParameters": {
"parameter": [
{
"type": "text",
"text": "={{ $json.student }}"
},
{
"type": "text",
"text": "={{ $json.date }}"
},
{
"type": "text",
"text": "={{ $json.class }}"
}
]
}
}
]
}
},
"id": "458223d5-1806-40b3-a72e-e767d2a77d69",
"name": "Tell the parent",
"type": "n8n-nodes-base.whatsApp",
"typeVersion": 1,
"position": [
600,
0
]
}
],
"connections": {
"New attendance row": {
"main": [
[
{
"node": "Absent?",
"type": "main",
"index": 0
}
]
]
},
"Absent?": {
"main": [
[
{
"node": "Tell the parent",
"type": "main",
"index": 0
}
]
]
}
},
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"meta": {
"templateCredsSetupCompleted": false
},
"tags": []
}في Make، أنشئ سيناريو جديدًا وأضف هذه الوحدات بالترتيب:
- Google Sheets › Watch New Rows
- Filter on the next route: “Absent?”
- إذا نعمWhatsApp Business Cloud › Send a Template Message
- كل تشغيل لوحدة يستهلك عمليات (operations) في Make — والباقة المجانية تتضمن حصة شهرية.
- قد تختلف أسماء الوحدات والخطوات قليلًا مع تحديث Make و Zapier لتطبيقاتهما.
في Zapier، أنشئ Zap جديدًا وأضف هذه الخطوات بالترتيب:
- Google Sheets — New Spreadsheet Row
- Filter by Zapier: “Absent?”
- إذا نعمWhatsApp — Send Template Message
- الـ Zaps التي فيها أكثر من خطوتين تحتاج باقة Zapier مدفوعة.
- الـ Webhooks والفلاتر/المسارات و Code by Zapier ميزات مدفوعة في بعض باقات Zapier.
- قد تختلف أسماء الوحدات والخطوات قليلًا مع تحديث Make و Zapier لتطبيقاتهما.
نصائح
- استخدم Google Form للمعلمين؛ إجاباته تصل إلى الجدول كصفوف جديدة.
أتمتات مشابهة
التعليم والتدريبسهل
تذكير بحصص الغد على واتساب
كل مساء، ذكّر الطلاب (أو أولياء أمورهم) بحصة الغد: المادة والموعد والمكان.
Google Sheets → WhatsApp5 س/شهر
التعليم والتدريبسهل
أرسل للطلاب درجاتهم في اختبار Google Forms بالبريد
بمجرد أن يسلّم الطالب اختبار Google Forms، يصله بريد بدرجته ورابط للمراجعة.
Google Sheets → Gmail2 س/شهر
التعليم والتدريبسهل
أرسل الشهادات بالبريد عند إنهاء الطالب للدورة
سجّل الطالب كمُنهٍ للدورة في جدول، فيصله بريد تهنئة برابط شهادته.
Google Sheets → Gmail3 س/شهر