{
  "name": "Automated hospital outreach system: Send personalized emails via Google Sheets & Gmail",
  "nodes": [
    {
      "id": "96056900-7870-4d4e-91a6-2f64177c7109",
      "name": "MINDANAO",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -144,
        240
      ]
    },
    {
      "id": "e78171fa-2463-478c-a9f4-03eebbda963d",
      "name": "VISAYAS FILES",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -144,
        48
      ]
    },
    {
      "id": "d9705318-8318-46f9-bff3-2bdb2f0ca121",
      "name": "LUZON FILES",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -144,
        -144
      ]
    },
    {
      "id": "b19960c1-5e4b-4a81-adc3-be75854ef747",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -1040,
        216
      ]
    },
    {
      "id": "3821c377-95eb-42ca-8d97-e6c4d7379016",
      "name": "Hospital Parser",
      "type": "n8n-nodes-base.code",
      "position": [
        -816,
        216
      ]
    },
    {
      "id": "f13b30e3-2df2-4dc9-86b3-e0bd7012ecc9",
      "name": "Batch Sender",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -592,
        216
      ]
    },
    {
      "id": "d3c1de1b-d9e8-467a-ab7a-e8f2478b6c9a",
      "name": "Region Switcher",
      "type": "n8n-nodes-base.switch",
      "position": [
        -368,
        32
      ]
    },
    {
      "id": "2119f413-e8cb-40a6-af1f-fddfd0b56700",
      "name": "Send Gmail Message",
      "type": "n8n-nodes-base.gmail",
      "position": [
        80,
        136
      ]
    },
    {
      "id": "e93525d1-ab66-47f7-ab98-77594a58b622",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1416,
        -368
      ],
      "parameters": {
        "width": 1728,
        "height": 768,
        "content": "### **For the MAIN YELLOW Sticky Note (Place at the top of your workflow):**\n**Hospital Outreach Automation**\nThis workflow automates personalized email outreach to hospitals. \nSend a chat message whe"
      }
    },
    {
      "id": "6545ccf7-b4a2-4f59-829a-d637479776ff",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1392,
        -176
      ],
      "parameters": {
        "width": 464,
        "height": 304,
        "content": "**SETUP REQUIRED:**\n1.  **Set up credentials** for Google Sheets and Gmail.\n2.  **Replace the Google Sheet ID** in the 'Set Configuration' node with your own. Use our template structure.\n3.  **Customi"
      }
    },
    {
      "id": "8652c245-c942-436a-b037-051efecba80a",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -880,
        -176
      ],
      "parameters": {
        "width": 352,
        "height": 80,
        "content": "Youtube Tutorial: https://www.youtube.com/embed/5u9W-Iegq6k"
      }
    }
  ],
  "connections": {
    "MINDANAO": {
      "main": [
        [
          {
            "node": "Send Gmail Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "LUZON FILES": {
      "main": [
        [
          {
            "node": "Send Gmail Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Batch Sender": {
      "main": [
        [],
        [
          {
            "node": "Region Switcher",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "VISAYAS FILES": {
      "main": [
        [
          {
            "node": "Send Gmail Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Hospital Parser": {
      "main": [
        [
          {
            "node": "Batch Sender",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Region Switcher": {
      "main": [
        [
          {
            "node": "LUZON FILES",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "VISAYAS FILES",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "MINDANAO",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Gmail Message": {
      "main": [
        [
          {
            "node": "Batch Sender",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "Hospital Parser",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}