Automate Image Validation Tasks using AI Vision

1. Import Photos To Validate [Read more about using Google Drive](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.googledrive) In this demonstration, we'll import 5 different portraits to test our AI vision model. For convenience, we'll use Google Drive but feel free to swap this out for other sources such as other storage or by using webhooks.

Workflow Structure (8 nodes)
100%
Manual Trigger
When clicking ‘Test workflow’
Set
Photo URLs
Split Out
Photos To List
Google Drive
Download Photos
Edit Image
Resize For AI
Langchain.chain Llm
Passport Photo Validator
Langchain.lm Chat Google Gemini
Google Gemini Chat Model
Langchain.output Parser Structured
Structured Output Parser
Node Types:
trigger
default
transform
logic
action
Requires credentials

Prerequisites

Required Credentials (2)

Google Drive

Used by: Download Photos

Docs

Google Palm

Used by: Google Gemini Chat Model

Docs

Complexity

Moderate

Some experience helpful. Multiple integrations or logic.

Setup time: ~25 min
Score: 31/100

When to Use This Workflow

AI-Powered Content Creation

Automate content generation, summarization, or analysis using AI capabilities.

Save hours of manual work while maintaining quality and consistency.

Real-time Response

React instantly when events happen - new orders, form submissions, or API calls.

Zero delay between trigger and action for time-sensitive workflows.

Error Reduction

Eliminate human error from routine processes with consistent automation.

Improve accuracy and reliability across your workflows.

workflow.json
{
  "meta": {
    "instanceId": "408f9fb9940c3cb18ffdef0e0150fe342d6e655c3a9fac21f0f644e8bedabcd9"
  },
  "nodes": [
    {
      "id": "6c78b4c7-993b-410d-93e7-e11b3052e53b",
      "name": "When clicking ‘Test workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        0,
        420
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "c2ab6497-6d6d-483b-bd43-494ae95394c0",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
...

Workflow Details

Nodes
11
Trigger
Manual
Source
awesome
Added
Dec 4, 2025

Need Help?

Check out the official n8n documentation for detailed guides.

Related Workflows

Easy Image Captioning with Gemini 1.5 Pro

Try it out! This workflow takes an image and generates a caption for it using AI. The OpenAI node has been able to do t...

Lmchatgooglegemini
Outputparserstructured
Editimage
Http-request
16 nodesManual
Curated

Visual Regression Testing with Apify and AI Vision Model

Part A. Generate Base Images Before we can run our visual regression tests, we must generate a series of base screenshot...

Google-drive
Lmchatgooglegemini
Outputparserstructured
Http-request
34 nodesScheduled
Curated

CV Resume PDF Parsing with Multimodal Vision AI

Try me out! This workflow converts a Candidate Resume PDF to an image which is then "read" by a Vision Language Model (...

Outputparserstructured
Google-drive
Http-request
Editimage
13 nodesManual
Curated

Narrating over a Video using Multimodal AI

Try It Out! This n8n template takes a video and extracts frames from it which are used with a multimodal LLM to generat...

Lmchatopenai
Http-request
Google-drive
Editimage
21 nodesManual
Curated

Intelligent Web Query and Semantic Re-Ranking Flow

Step 1. Set Up a Free Brave Web Search Query API Key To attain the free web search API tier from Brave, follow these ste...

Webhook
Outputparserautofixing
Outputparserstructured
Chainllm
20 nodesWebhook
Curated

Host Your Own AI Deep Research Agent with n8n, Apify and OpenAI o3

2. Ask Clarifying Questions [Read more about form nodes](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-b...

Outputparserstructured
Lmchatopenai
Form
Chainllm
87 nodesEvent
Curated