{
  "name": "Growaify — Clinic Appointment Reminder & No-Show Reducer",
  "description": "Automated appointment reminders via WhatsApp + daily schedule digest for clinic staff. Reduces no-shows by up to 40%. Built by Growaify — growaify.com",
  "type": "GROWAIFY_SAMPLE",
  "notice": "هذه نسخة معاينة عامة — عقدتان فقط من أصل 9. النسخة الكاملة (بالمنطق والاتصالات كاملة) تُسلَّم بعد الشراء من https://growaify.com/templates/",
  "nodes_total_in_full_version": 9,
  "nodes": [
    {
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "hours",
              "hoursInterval": 1
            }
          ]
        }
      },
      "name": "Every Hour",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.2,
      "position": [
        -400,
        0
      ],
      "id": "a1b2c3d4-0001-4000-8000-000000000001"
    },
    {
      "parameters": {
        "operation": "executeQuery",
        "query": "SELECT appointment_id, patient_name, patient_phone, appointment_time, doctor_name FROM appointments WHERE appointment_time BETWEEN NOW() + INTERVAL '24 hour' AND NOW() + INTERVAL '25 hour' AND reminder_sent = FALSE AND status = 'confirmed';"
      },
      "name": "Get Tomorrow's Appointments",
      "type": "n8n-nodes-base.postgres",
      "typeVersion": 2.4,
      "position": [
        -180,
        0
      ],
      "id": "a1b2c3d4-0002-4000-8000-000000000002",
      "credentials": {
        "postgres": {
          "id": "REPLACE_WITH_YOUR_POSTGRES_CRED",
          "name": "Clinic DB"
        }
      }
    }
  ],
  "connections": {},
  "meta": {
    "growaify_template": "clinic-reminder",
    "sample": true,
    "buy": "https://growaify.com/templates/"
  }
}