{
  "name": "Automate medical billing with Google Sheets and Gmail",
  "nodes": [
    {
      "id": "a35b7936-081d-40cd-ab1d-be7104135780",
      "name": "Data Structure1",
      "type": "n8n-nodes-base.set",
      "position": [
        -240,
        980
      ]
    },
    {
      "id": "c7c3c834-7415-478a-8d14-9435249da169",
      "name": "Error Check1",
      "type": "n8n-nodes-base.if",
      "position": [
        400,
        980
      ]
    },
    {
      "id": "3ab7cc86-44bb-457a-b55a-b2289fa1a436",
      "name": "Admin Notification1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        780,
        1020
      ]
    },
    {
      "id": "a04df0cf-b88f-4548-a574-4f0b43d159dd",
      "name": "On form submission",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -440,
        980
      ]
    },
    {
      "id": "0739a55b-cfdd-47b5-8168-5af16cd71465",
      "name": "Calculate prices",
      "type": "n8n-nodes-base.code",
      "position": [
        200,
        980
      ]
    },
    {
      "id": "aa8322bd-f007-4ce5-8bc4-51c705cffe1e",
      "name": "Format Date",
      "type": "n8n-nodes-base.code",
      "position": [
        -40,
        980
      ]
    },
    {
      "id": "43105af9-fb2f-483f-9c5c-1d6baa6688bc",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -460,
        740
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "6ad456b7-69ef-419a-9e69-da5620c747f7",
      "name": "Generate Error Message1",
      "type": "n8n-nodes-base.set",
      "position": [
        580,
        1020
      ]
    },
    {
      "id": "83cd63f1-91cb-4f7e-8950-8a9a07e8e582",
      "name": "Send Patient Invoice Email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        560,
        840
      ]
    },
    {
      "id": "e93ac2e2-113f-463d-a4f8-215cf6bf1d66",
      "name": "Log Invoice to Googlesheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        780,
        840
      ]
    },
    {
      "id": "6e3cb4a0-e9f4-4625-a87e-05009c16453f",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        340,
        720
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "Format Date": {
      "main": [
        [
          {
            "node": "Calculate prices",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Error Check1": {
      "main": [
        [
          {
            "node": "Generate Error Message1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Send Patient Invoice Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Data Structure1": {
      "main": [
        [
          {
            "node": "Format Date",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Calculate prices": {
      "main": [
        [
          {
            "node": "Error Check1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "Data Structure1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Error Message1": {
      "main": [
        [
          {
            "node": "Admin Notification1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Patient Invoice Email": {
      "main": [
        [
          {
            "node": "Log Invoice to Googlesheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}