Use this powerful n8n workflow to compare multiple local Ollama Vision Models (VLM) by analyzing an image and saving the detailed, structured results directly to Google Docs.
Download this n8n workflow template and start using it instantly.
AI Developers & Enthusiasts: Those testing and benchmarking different local LLMs using Ollama.
Data Analysts: Users needing exhaustive, structured descriptions extracted from visual data.
Automation Specialists: Anyone seeking reliable n8n templates for advanced local AI integration.
Researchers: Individuals requiring detailed, documented image analysis for reporting.
Determining the best Vision Language Model (VLM) for a specific task often requires direct comparison. This sophisticated n8n workflow automates that process by fetching an image from Google Drive, processing it against a user-defined list of local Ollama models (e.g., granite3.2-vision, llama3.2-vision), and documenting the output.
This automation solves the challenge of manually running tests across multiple endpoints. It leverages a robust prompt structure within an n8n node to demand comprehensive, structured markdown output, ensuring quality results. The entire operation is managed within a single, efficient n8n workflow, allowing users to rapidly iterate and find the best performing local VLM for their needs. This provides an excellent example of utilizing an n8n trigger to initiate complex local AI tasks.
The entire process is initiated by the manual n8n trigger, When clicking ‘Test workflow’.
Google Doc Image Id n8n node to define the target file ID, followed by the Download Image File from Google Drive n8n node to retrieve the image binary.Get Base64 String n8n node converts the downloaded image into a Base64 string, which is necessary for the Ollama Vision API call.List of Vision Models n8n node defines the array of local Ollama models to test. The Split List of Vision Models for Looping n8n node then prepares this array for iteration.Loop Over Ollama Models n8n node iterates through each selected model.General Image Prompt n8n node sets a detailed, multi-part prompt designed to enforce exhaustive analysis, including contextual analysis and text extraction.Create Request Body n8n node dynamically constructs the JSON payload for the API, incorporating the current model name, the detailed prompt, and the Base64 image data.Ollama LLM Request n8n node, configured as an HTTP Request, sends the payload to the local Ollama endpoint (http://127.0.0.1:11434/api/chat).Create Result Objects n8n node structures the model's response, and the Save Image Descriptions to Google Docs n8n node appends the comparative analysis, clearly labeled by model, into the target Google Docs file. This ensures every test run is properly documented by this powerful n8n workflow.To set up this powerful n8n workflow, follow these steps:
granite3.2-vision).Download Image File from Google Drive n8n node and the Save Image Descriptions to Google Docs n8n node.Google Doc Image Id n8n node, replace [your-google-id] with the actual File ID of the image you wish to analyze.Save Image Descriptions to Google Docs n8n node, replace [your-google-doc-id] with the ID of the Google Document where results will be stored.List of Vision Models n8n node and update the list of models if needed to match the models installed locally on your machine. When clicking ‘Test workflow’ (n8n trigger): This manual n8n node initiates the entire comparison process.
Download Image File from Google Drive (Google Drive n8n node): Function is to retrieve the target image file using the provided file ID.
Get Base64 String (Extract From File n8n node): Converts the binary image data into a Base64 encoded string, preparing it for the Ollama API request.
List of Vision Models (Set n8n node): Defines an array of local Ollama models (e.g., granite3.2-vision) that will be tested sequentially.
Split List of Vision Models for Looping (Split Out n8n node): Takes the array of models and creates individual items, enabling the downstream loop.
Loop Over Ollama Models (Split In Batches n8n node): Controls the iteration, ensuring each model runs through the image analysis pipeline.
General Image Prompt (Set n8n node): Sets a highly structured, exhaustive user_prompt requiring four sections of analysis (Inventory, Contextual, Spatial, Textual). This prompt configuration is key to the effectiveness of this n8n workflow.
Create Request Body (Set n8n node): Dynamically builds the final JSON payload for the Ollama API, merging the current model name, the detailed prompt, and the Base64 image data.
Ollama LLM Request (HTTP Request n8n node): Executes the vision request against the local Ollama server (http://127.0.0.1:11434/api/chat).
Save Image Descriptions to Google Docs (Google Docs n8n node): Appends the resulting analysis (including the model name) to a specified Google Docs file, providing clean documentation for the n8n workflow output.
Use this robust n8n workflow to compare two arrays of JSON objects based on a custom key, efficiently identifying common items and unique differences for data reconciliation tasks. Find more useful n8n templates.

Automate candidate evaluation using this n8n workflow. Scrape LinkedIn profiles and JDs using GhostGenius, compare them with Groq AI, and generate ATS-style optimization tips. Integrate this powerful n8n template for recruitment.

Use this powerful n8n workflow to compare real-time hotel prices across Booking.com, Agoda, and Expedia, generating a detailed price report emailed directly to the user. Leverage this n8n template for web scraping and data aggregation.

Use this advanced n8n workflow to automate multi-period financial analysis. An n8n AI agent extracts data from Google Sheets, compares current, monthly, and yearly performance, and summarizes it instantly. Explore these powerful n8n templates.

Compare three advanced LLM processing architectures—Sequential, Agent-Based, and Parallel—using Anthropic Claude 3.7 in an n8n workflow. Learn how to optimize AI speed and scale using core n8n node logic.

Automate vendor quote comparison using this robust n8n workflow. Leverage Grok AI for intelligent summarization, log results to Google Sheets, and instantly notify procurement teams via email. Use this n8n template for faster, data-driven decisions.


As an AI Automation consultant based in Canada, I partner with forward-thinking organizations to implement AI solutions that streamline operations and drive growth.







































