إبلاغ أولياء الأمور على واتساب عند غياب الطالب

عندما يسجّل المعلم غياب طالب في جدول الحضور، تصل ولي الأمر رسالة واتساب فورًا.

سهل توفّر ~6 ساعة شهريًا التعليم والتدريببواسطة فريق Flowngn

تعمل مع n8n · Make · Zapier

كيف تعمل

المشغّل: Google Sheets — صف جديد في جدول Attendance
  1. يضيف المعلم صفًا (التاريخ، الطالب، الفصل، الحالة، هاتف ولي الأمر).
  2. تابع فقط عندما تكون الحالة "absent".
  3. أرسل لولي الأمر قالب واتساب معتمدًا باسم الطالب والفصل والتاريخ.

المخطط

trueGNew attendance rowGoogle Sheets Trigger⑂Absent?IfWTell the parentWhatsApp Business Cloud
مشغّل تطبيق منطق

ابنِها بأداتك

اختر أداتك — نفس الأتمتة، خطوة بخطوة.

انسخه والصقه مباشرة في مساحة عمل n8n (Ctrl+V)، أو حمّله واستخدم Import from File. بعد ذلك اربط حساباتك واستبدل كل قيمة تبدأ بـ YOUR_.

ملف Workflow JSON
عرض الكود (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": []
}

← افتحها في ساحة التجربة لتعديلها

نصائح

  • استخدم Google Form للمعلمين؛ إجاباته تصل إلى الجدول كصفوف جديدة.

أتمتات مشابهة