{
  "name": "Class scheduling & reminders with Google Calendar, email & SMS notifications",
  "nodes": [
    {
      "id": "7465b9dc-b93d-486c-bffc-f58cbbb95096",
      "name": "Daily Schedule Check",
      "type": "n8n-nodes-base.cron",
      "position": [
        -460,
        20
      ]
    },
    {
      "id": "06ad7a4a-a202-4741-9631-0431071d8a7e",
      "name": "Read Class Schedule",
      "type": "n8n-nodes-base.microsoftExcel",
      "position": [
        -240,
        20
      ]
    },
    {
      "id": "e9a81260-0a7a-4682-a197-008ec53df730",
      "name": "Filter Today's Classes",
      "type": "n8n-nodes-base.code",
      "position": [
        -20,
        20
      ]
    },
    {
      "id": "a7fe4b25-abcc-42e9-9da2-5692a9a302b5",
      "name": "Has Classes Today?",
      "type": "n8n-nodes-base.if",
      "position": [
        200,
        -80
      ]
    },
    {
      "id": "0fcf7fb2-d8e4-4db3-9ef8-b4990792c483",
      "name": "Read Student Contacts",
      "type": "n8n-nodes-base.microsoftExcel",
      "position": [
        420,
        -80
      ]
    },
    {
      "id": "10b43784-8d58-4fbb-b964-0f6b4da16527",
      "name": "Create Student Reminders",
      "type": "n8n-nodes-base.code",
      "position": [
        640,
        20
      ]
    },
    {
      "id": "73d5961e-b4a1-45cf-b9fd-4c4c717eb152",
      "name": "Split Into Batches",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        860,
        20
      ]
    },
    {
      "id": "0b07fae3-e6c1-4ba8-b168-f5c937d091f3",
      "name": "Email or SMS?",
      "type": "n8n-nodes-base.if",
      "position": [
        1080,
        20
      ]
    },
    {
      "id": "05312b9a-6dc1-408f-9f55-7dbb6aded4d8",
      "name": "Prepare Email Reminders",
      "type": "n8n-nodes-base.code",
      "position": [
        1300,
        -80
      ]
    },
    {
      "id": "cece98bb-8af5-4a9c-b1e1-9ff2a421576b",
      "name": "Prepare SMS Reminders",
      "type": "n8n-nodes-base.code",
      "position": [
        1300,
        120
      ]
    },
    {
      "id": "9771a2d3-1ad7-47d9-8951-58f9ef7e66d7",
      "name": "Sync to Google Calendar",
      "type": "n8n-nodes-base.googleCalendar",
      "position": [
        420,
        120
      ]
    },
    {
      "id": "366cc8cf-d94c-4685-b4bb-fad0cf8f948b",
      "name": "Read Reminder Log",
      "type": "n8n-nodes-base.microsoftExcel",
      "position": [
        1520,
        20
      ]
    },
    {
      "id": "d28bca9d-3a43-4c04-abe4-7ecc8200e23d",
      "name": "Update Reminder Log",
      "type": "n8n-nodes-base.code",
      "position": [
        1740,
        20
      ]
    },
    {
      "id": "af36b846-ccb8-4ab3-8e3e-0c8599efb69a",
      "name": "Save Reminder Log",
      "type": "n8n-nodes-base.microsoftExcel",
      "position": [
        1960,
        20
      ]
    },
    {
      "id": "2d5a26d5-e112-42b4-b4a1-3cdb98df6240",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -340,
        -440
      ],
      "parameters": {
        "width": 600,
        "height": 220,
        "content": "### **Workflow Process**\n1. **Daily Check** → Triggers at scheduled time\n2. **Read Schedule** → Gets today's class schedule\n3. **Filter Classes** → Identifies today's classes\n4. **Check Students** → G"
      }
    }
  ],
  "connections": {
    "Email or SMS?": {
      "main": [
        [
          {
            "node": "Prepare Email Reminders",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Prepare SMS Reminders",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Read Reminder Log": {
      "main": [
        [
          {
            "node": "Update Reminder Log",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Has Classes Today?": {
      "main": [
        [
          {
            "node": "Read Student Contacts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Into Batches": {
      "main": [
        [
          {
            "node": "Email or SMS?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Read Class Schedule": {
      "main": [
        [
          {
            "node": "Filter Today's Classes",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Reminder Log": {
      "main": [
        [
          {
            "node": "Save Reminder Log",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Daily Schedule Check": {
      "main": [
        [
          {
            "node": "Read Class Schedule",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare SMS Reminders": {
      "main": [
        [
          {
            "node": "Read Reminder Log",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Read Student Contacts": {
      "main": [
        [
          {
            "node": "Create Student Reminders",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter Today's Classes": {
      "main": [
        [
          {
            "node": "Has Classes Today?",
            "type": "main",
            "index": 0
          },
          {
            "node": "Sync to Google Calendar",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Email Reminders": {
      "main": [
        [
          {
            "node": "Read Reminder Log",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Sync to Google Calendar": {
      "main": [
        [
          {
            "node": "Create Student Reminders",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Student Reminders": {
      "main": [
        [
          {
            "node": "Split Into Batches",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}