Templates / Image-based data extraction API using Gemini AI

Image-based data extraction API using Gemini AI

Ready for 3.0

by Srinivasan KB ✓ · 6,470 views · created 2025-03-13 · Document Extraction, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 6 nodes and runs when an HTTP GET request hits its webhook URL. It uses only n8n's built-in nodes.

How it runs

Trigger: When an HTTP GET request hits its webhook URL.

  1. Get image from URL (HTTP Request): calls an HTTP API
  2. Transform image to base (Extract from File): extracts data from a file (binary to propery)
  3. Call Gemini API (Flash Lite) with Image (HTTP Request): calls an HTTP API (POST)
  4. Edit fields to output required data alone (Edit Fields (Set)): sets 1 field: result
  5. Respond to Webhook: sends the response back to the webhook caller

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (5)

From the author

This n8n workflow provides a ready-to-use API endpoint for extracting structured data from images. It processes an image URL using an AI-powered OCR model and returns the extracted details in a structured JSON format. Use Cases - Document OCR – Extract…

Excerpt from Srinivasan KB's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.