πŸ”¬ Extract structured data from medical documents with Google Gemini AI

⚑ 1,780 views Β· πŸ”¬ Document Extraction & Analysis

πŸ’‘ Pro Tip β€” HTTP Request scraping tends to break when sites update their markup. If you’re scraping a major platform, check if ScraperNode covers it β€” it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.

View All Scrapers

Description

How it works

Transform medical documents into structured data using Google Gemini AI with enterprise-grade accuracy.

Classifies document types (receipts, prescriptions, lab reports, clinical notes)

Set up steps

Prerequisites

Google Gemini API key (get from Google AI Studio)

Quick setup

  1. Import this workflow template
  2. Configure Google Gemini API credentials in n8n
  3. Test with a sample medical document URL
  4. Deploy your webhook endpoint

Usage

Send POST request to your webhook:

{
  "image_url": "https://example.com/medical-receipt.jpg",
  "expected_type": "financial",
  "language_hint": "auto"
}
Get structured response:
json{
  "success": true,
  "result": {
    "documentType": "financial",
    "metadata": {
      "providerName": "Dr. Smith Clinic",
      "createdDate": "2025-01-06",
      "currency": "USD"
    },
    "content": {
      "amount": 150.00,
      "services": [...]
    },
    "quality_metrics": {
      "overall_confidence": 0.95
    }
  }
}

Use cases

Healthcare Organizations

System Integrators

Supported Document Types

πŸ”— Nodes Used

HTTP Request, Webhook, Extract from File

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup