Skip to main content

Automate X-ray analysis with VLM Orion and distribute to Gmail, Telegram & Drive

Workflow preview

Workflow preview
100%
Automate X-ray analysis with VLM Orion and distribute to Gmail, Telegram & Drive preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This workflow provides an automated pipeline for processing medical X ray images using VLM Run (model: ) , and distributing the AI generated analysis to multiple channels— email, Telegram, and Goog...

Best for

  • Document Extraction automation workflows
  • AI Summarization automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.formtrigger, n8n-nodes-base.converttofile, n8n-nodes-base.merge, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.gmail, n8n-nodes-base.telegram, n8n-nodes-base.googledrive

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Mehedi Ahamed.

Original n8n.io source

1.1 Workflow description

Title
Automate X-ray analysis with VLM Orion and distribute to Gmail, Telegram & Drive
Workflow name
Automate X-ray analysis with VLM Orion and distribute to Gmail, Telegram & Drive

📌 Overview

This workflow provides an automated pipeline for processing medical X-ray images using VLM Run (model: vlmrun-orion-1:auto), and distributing the AI-generated analysis to multiple channels—email, Telegram, and Google Drive.


⚙️ How It Works

1. Upload X-Ray Image

A Form Trigger allows the user to upload an X-ray file. Once the image is submitted, the workflow immediately starts processing.


2. Automated X-Ray Analysis

The uploaded X-ray image is sent to VLM Run (vlmrun-orion-1:auto) via an OpenAI-compatible endpoint.

The model returns:

  • A text-based interpretation or description
  • A disease-highlighted output image (if detected)
  • A URL reference pointing to the annotated result image stored in Google Cloud

3. Extract Artifact

From artifact reference, download file using artifact node.


4. Generate Report File

The Convert to File node transforms the analysis text into a shareable .txt report. This file is used both for email and Drive storage.


5. Send Notifications to Gmail & Telegram

The workflow automatically:

📧 Emails the doctor (or configured staff email):

  • The diagnostic description
  • The generated report file
  • The annotated X-ray image

📨 Sends a Telegram message containing:

  • The same report
  • The disease-highlighted X-ray image

This ensures instant notification and cross-platform availability.


6. Upload to Google Drive

The final step uses Google Drive OAuth2 to store:

  • The report file
  • The annotated medical image

These files are uploaded to a designated Drive folder for archiving and future reference.


🧩 Key Features

  • ✔️ Automated X-ray processing using VLM Run
  • ✔️ Structured extraction of annotated medical images
  • ✔️ Multi-channel notification (Email + Telegram)
  • ✔️ Centralized archive via Google Drive
  • ✔️ Zero manual intervention after upload
  • ✔️ Works with OpenAI-compatible VLM endpoints

🔧 Requirements

  • VLM Run API Credentials Required to call vlm-agent-1 for image analysis.

  • Gmail OAuth2 Credentials Needed to automatically email the diagnostic report.

  • Telegram Bot Token Sends analysis results to a Telegram chat or group.

  • Google Drive OAuth2 Stores reports and annotated images in Google Drive.


📎 Notes

This workflow automates image handling and communication. All AI-generated content must be reviewed by a qualified medical professional before any clinical use.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Upload X-Ray Image

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.2

Block 4 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Convert to Report

Type / Role
n8n-nodes-base.convertToFile - convertToFile
Config choices
Version 1.1

Block 6 - Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 7 - Analyze X-Ray

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 8 - Send Details

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 9 - Send Details1

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 10 - Upload Report

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 11 - Set Key

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 12 - Get Image Artifact

Type / Role
@vlm-run/n8n-nodes-vlmrun.vlmRun - vlmRun
Config choices
Version 1

3. Summary Table

Workflow Automate X-ray analysis with VLM Orion and distribute to Gmail, Telegram & Drive
Complexity intermediate
Nodes 12
Categories Document Extraction, AI Summarization
Author Mehedi Ahamed
Published 19 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/10997/10997.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automate X-ray analysis with VLM Orion and distribute to Gmail, Telegram & Drive do?

This workflow provides an automated pipeline for processing medical X ray images using VLM Run (model: ) , and distributing the AI generated analysis to multiple channels— email, Telegram, and Goog...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Document Extraction, AI Summarization use case.