Templates / Automate image validation tasks using AI Vision

Automate image validation tasks using AI Vision

Ready for 3.0

by Jimleuk ✓ · 26,863 views · created 2024-09-18 · Document Extraction, AI Summarization

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-10-19.

What this workflow does

This AI workflow has 8 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Drive and Google Gemini Chat Model.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Photo URLs (Edit Fields (Set)): sets 1 field: data
  2. Photos To List (Split Out): splits a list into separate items
  3. Download Photos (Google Drive): download
  4. Resize For AI (Edit Image): resize
  5. Passport Photo Validator (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model; output parser: Structured Output Parser

Services it uses

Google DriveGoogle Gemini Chat Model

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 (8)

From the author

This n8n workflow shows how using multimodal LLMs with AI vision can tackle tricky image validation tasks which are near impossible to achieve with code and often impractical to be done by humans at scale. You may need image validation when users submitted…

Excerpt from Jimleuk'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.