What This Workflow Does
This automated workflow analyzes X-ray images using advanced Vision Language Model (VLM) technology integrated with OpenAI-compatible APIs. Once an X-ray is uploaded through a form, the system automatically detects abnormalities, generates diagnostic insights, and distributes the analysis results across multiple communication channels including Gmail, Telegram, and Google Drive for seamless team collaboration and record-keeping.
How It Works
The workflow follows a structured automation process designed for medical imaging analysis:
- A form trigger captures X-ray image uploads from users
- The image is processed and converted into an appropriate file format
- The VLM Agent analyzes the X-ray using OpenAI-compatible endpoints to identify abnormalities and generate diagnostic insights
- Analysis results are compiled and formatted for distribution
- The workflow automatically sends detailed reports via Gmail to designated recipients
- Simultaneous notifications are dispatched through Telegram for immediate alerts
- A copy of the analysis is archived in Google Drive for long-term storage and compliance documentation
Use Cases
- Medical imaging centers automating X-ray analysis and report distribution to radiologists and referring physicians
- Hospitals integrating AI-assisted diagnostics into existing workflows with automatic report generation and multi-channel notification systems
- Telemedicine platforms providing real-time X-ray analysis to remote specialists with instant communication and document archival
- Diagnostic clinics streamlining the process of image review, analysis, and patient communication through automated channels
- Healthcare networks distributing imaging reports across departments while maintaining centralized documentation in cloud storage
Nodes Used
- Sticky Note – Workflow documentation and notes
- Form Trigger – Captures X-ray image uploads from users
- Code – Custom logic for image processing and data manipulation
- Set – Assigns and transforms data for workflow steps
- Convert to File – Transforms analysis results into shareable file formats
- Merge – Combines data from multiple workflow branches
- HTTP Request – Communicates with OpenAI-compatible VLM API endpoints
- OpenAI – Vision Language Model for X-ray image analysis
- Gmail – Sends detailed analysis reports via email
- Telegram – Delivers instant notifications to team members
- Google Drive – Archives analysis records for compliance and future reference
Prerequisites
- Active n8n instance with workflow automation capabilities
- OpenAI API key or compatible VLM service endpoint configured
- Gmail account with app-specific password or OAuth credentials for email distribution
- Telegram bot token and authorized chat IDs for message delivery
- Google Drive API credentials for document storage and archival
- Access to medical imaging files in common formats (JPEG, PNG, DICOM)
- Basic understanding of n8n workflow configuration and node setup
Difficulty Level
Intermediate to Advanced. This workflow requires experience with API integration, authentication setup across multiple services (Gmail, Telegram, Google Drive), and understanding of VLM capabilities. Users should be comfortable configuring OpenAI API connections and managing multi-channel distribution systems. Prior experience with n8n workflows is recommended.
This workflow template is shared under the n8n fair-code license. Free to use and modify.