{
  "name": "Track student attendance with mobile app, Google Sheets, and email alerts",
  "nodes": [
    {
      "id": "fc6e8424-031c-4a4e-b564-c8eabf3c2da2",
      "name": "Student Check-in",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -620,
        -180
      ]
    },
    {
      "id": "01dd529b-05c7-4376-8fcc-5e0ed7865e1c",
      "name": "Format Data",
      "type": "n8n-nodes-base.set",
      "position": [
        -400,
        -180
      ]
    },
    {
      "id": "1860ea4e-c141-4845-b703-d2e2530d8690",
      "name": "Email Teacher",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        40,
        -180
      ]
    },
    {
      "id": "f431b734-e704-4142-b22d-3a5ee91ef305",
      "name": "Success Response",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        260,
        -180
      ]
    },
    {
      "id": "5d4f05fa-a580-4fc0-b715-3f2d63b529b3",
      "name": "Append or update row in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -180,
        -180
      ]
    },
    {
      "id": "abe207d1-a3ee-4209-bc80-3517f73b8fae",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        -340
      ],
      "parameters": {
        "width": 180,
        "height": 300,
        "content": "Triggered via POST request from mobile app or QR scanner\n"
      }
    },
    {
      "id": "7b901d5f-78bd-4f45-9402-14d6fcf78cf8",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -220,
        -340
      ],
      "parameters": {
        "width": 180,
        "height": 300,
        "content": "Saves student check-in data into Google Sheets\n"
      }
    },
    {
      "id": "745e0462-46eb-46b7-a63e-34ea860d8c07",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        -340
      ],
      "parameters": {
        "width": 180,
        "height": 300,
        "content": "Sends formatted check-in email to the class teacher\n"
      }
    },
    {
      "id": "02d30801-5e9e-4a35-9d24-61975e94b71b",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        220,
        -340
      ],
      "parameters": {
        "width": 180,
        "height": 300,
        "content": "Returns a confirmation response to the mobile app or system\n\n"
      }
    },
    {
      "id": "c6900d6a-06ad-4ab5-9991-58654a907016",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -440,
        -340
      ],
      "parameters": {
        "width": 180,
        "height": 300,
        "content": "Cleans and prepares incoming JSON into structured format\n"
      }
    }
  ],
  "connections": {
    "Format Data": {
      "main": [
        [
          {
            "node": "Append or update row in sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Email Teacher": {
      "main": [
        [
          {
            "node": "Success Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Student Check-in": {
      "main": [
        [
          {
            "node": "Format Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Append or update row in sheet": {
      "main": [
        [
          {
            "node": "Email Teacher",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}