{
  "name": "Automate X-ray analysis with VLM Orion and distribute to Gmail, Telegram & Drive",
  "nodes": [
    {
      "id": "fc08a16b-26b6-4346-9ad4-788da0e8c6af",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        16,
        0
      ],
      "parameters": {
        "width": 560,
        "height": 928,
        "content": "## VLM Run Medical Assistant: Automated X-Ray Analysis  \n\n### Overview  \nThe **VLM Run Medical Assistant** uses VLM Run to automatically analyze X-ray images, detect abnormalities and generate diagnos"
      }
    },
    {
      "id": "1e07426a-8d21-48a4-84fb-c09561489107",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        576,
        432
      ],
      "parameters": {
        "width": 480,
        "height": 496,
        "content": "## Send to Gmail & Telegram  \n\n### How it works  \n- The **Set node** provides two key fields:  \n  - `Description`: The disease diagnosis or “Normal” report from the model output.  \n  - `Output_Image`:"
      }
    },
    {
      "id": "993f85be-0090-4639-8594-c9ce5245907f",
      "name": "Upload X-Ray Image",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -160,
        768
      ]
    },
    {
      "id": "16fc2ea9-ebf7-4ebf-96a6-88e8e1a52ab8",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1056,
        432
      ],
      "parameters": {
        "width": 400,
        "height": 496,
        "content": "## Upload to Google Drive  \n\n## How it works  \n- The drive node uploads report to a designated Drive folder (e.g., `test_data`).  \n- Each uploaded record can include both the **X-ray report** and the "
      }
    },
    {
      "id": "f948a0cd-07bf-4b1f-9eb4-589974b23a3d",
      "name": "Convert to Report",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        1200,
        944
      ]
    },
    {
      "id": "2e744214-3bb1-4eef-9925-609dfa7a9417",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        400,
        960
      ]
    },
    {
      "id": "f01d95b4-4459-4765-8a13-7c7ecb48e560",
      "name": "Analyze X-Ray",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        128,
        768
      ]
    },
    {
      "id": "205c8790-3b92-48fd-9acf-5c952bcc8a28",
      "name": "Send Details",
      "type": "n8n-nodes-base.gmail",
      "position": [
        624,
        784
      ]
    },
    {
      "id": "b715ea5a-6d2e-453d-8789-434b5f4c0b0e",
      "name": "Send Details1",
      "type": "n8n-nodes-base.telegram",
      "position": [
        896,
        784
      ]
    },
    {
      "id": "f16181fa-f52e-4416-ab86-08104ac30e01",
      "name": "Upload Report",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        1200,
        784
      ]
    },
    {
      "id": "1a2fc9f9-f68f-46e6-915a-b229df345ce4",
      "name": "Set Key",
      "type": "n8n-nodes-base.set",
      "position": [
        896,
        944
      ]
    },
    {
      "id": "12f48efe-5caf-4a95-b607-5ff4692060c0",
      "name": "Get Image Artifact",
      "type": "@vlm-run/n8n-nodes-vlmrun.vlmRun",
      "position": [
        384,
        768
      ]
    }
  ],
  "connections": {
    "Merge": {
      "main": [
        [
          {
            "node": "Send Details",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send Details1",
            "type": "main",
            "index": 0
          },
          {
            "node": "Upload Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Key": {
      "main": [
        [
          {
            "node": "Convert to Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Analyze X-Ray": {
      "main": [
        [
          {
            "node": "Set Key",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get Image Artifact",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert to Report": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Image Artifact": {
      "main": [
        [
          {
            "node": "Send Details",
            "type": "main",
            "index": 0
          },
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Upload X-Ray Image": {
      "main": [
        [
          {
            "node": "Analyze X-Ray",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}