Use this advanced n8n workflow template to automatically monitor Google Drive uploads, extract embedded images from documents using a VLM agent, and save the extracted files back to Drive. Master complex file operations with the Google Drive n8n node and custom flow control.
Download this n8n workflow template and start using it instantly.
Data Processing Specialists: Users who need to standardize and extract visual data from high volumes of documents like reports or PDFs.
Finance/Accounting Teams: Automating the extraction of images (receipts, scans) from expense reports or documents uploaded to Drive.
n8n Automation Experts: Those looking for complex n8n templates demonstrating asynchronous processing (trigger/callback webhook pattern).
AI Integrators: Users seeking to integrate Vision Language Models (VLM Run) seamlessly into their cloud storage pipelines.
Manually sifting through documents in Google Drive to find and extract embedded images is time-consuming and error-prone. This sophisticated n8n workflow solves this by creating a fully automated pipeline. The moment a document is uploaded to a monitored Google Drive folder, the process begins. The document is sent to a specialized Vision Language Model (VLM Run) agent, which intelligently analyzes the content and extracts all image URLs. These URLs are then posted back to the n8n system via a dedicated webhook. The remainder of the n8n workflow handles the downloading of each image and its final storage in a clean, designated output folder in Google Drive. This powerful n8n node combination ensures robust, scalable image asset management.
This automation operates in two distinct phases, leveraging the asynchronous capabilities of the VLM Run agent and a dedicated n8n trigger and webhook.
fileCreated). This is the starting n8n trigger.image-extract-via-agent). This acts as the second, crucial n8n trigger point.body.response.extracted_images), ensuring each URL is processed individually.Extracted Image). This completes the n8n automation process.To deploy this powerful n8n workflow template, follow these steps:
Monitor Uploads (n8n trigger), Download File, and Save Image n8n node instances.Extract Images n8n node.Monitor Uploads n8n trigger, specify the Folder ID for the documents you wish to process. In the Save Image n8n node, specify the Folder ID where the extracted images should be stored.Receive Image Links n8n webhook node and copy its Production URL.Extract Images n8n node parameters), ensure this exact n8n webhook URL is set as the callback URL (agentCallbackUrl), allowing the agent to return the results to this n8n workflow segment. Monitor Uploads (Google Drive Trigger): This critical n8n trigger initiates the entire process. It is configured to watch a specific folder (testdata) for the fileCreated event, polling every minute.
Download File (Google Drive): Uses the file ID from the initial n8n trigger to fetch the document's binary content, storing it under the property name data.
Extract Images (VLM Run): Executes a specific VLM agent. Key configuration includes defining the agentPrompt (instructions for image extraction) and the agentCallbackUrl, which must point to the Receive Image Links webhook n8n node.
Receive Image Links (Webhook): Serves as the second entry point for the n8n workflow, expecting a POST request containing the extracted image URLs from VLM Run. The path is set to image-extract-via-agent.
Split Out (n8n node): Essential for handling multiple outputs. It splits the input data based on the array body.response.extractedimages, generating a separate item for each image URL to allow parallel processing by subsequent n8n nodes.
Download Image (HTTP Request): Dynamically uses the URL provided by the Split Out n8n node ({{ $json['body.response.extracted_images'] }}) to download the image file content.
Extracted Image). This final n8n node ensures permanent storage of the extracted assets.Leverage this powerful n8n workflow to automatically extract emails, phone numbers, and social media links from a list of websites stored in Google Sheets using the Apify Email & Phone Extractor.

Use this powerful n8n workflow to automatically extract structured tasks from Gmail using the ChatGPT-4o n8n node, ensuring data is deduplicated and saved efficiently into Supabase. Explore more n8n templates for productivity.

Automate lead generation by scraping website emails and using the EmailListVerify API fallback. This powerful n8n workflow template handles data input/output via Google Sheets.

Automate Facebook group scraping using this powerful n8n workflow. Extract post text, engagement metrics, and timestamps using the Airtop n8n node for structured data extraction.

Use this powerful n8n workflow to automatically extract sender name, email, subject, and body from new Gmail messages. This n8n workflow cleans the data and logs structured records directly into Google Sheets, perfect for lead tracking and support logging.

Use this comprehensive n8n workflow to efficiently extract Google Ads creatives (text, image, video) for any domain and region using the SerpAPI integration. This n8n template filters results and exports organized CSV files for competitive analysis.

I’m Shahrear, a Software Engineer with over 5 years of experience in full-stack development and workflow automation. I specialize in building intelligent automations using n8n, helping teams streamline operations and boost productivity. I’m also an expert in developing custom n8n nodes, with published work on npm - including the @vlm-run/n8n-nodes-vlmrun package. Linkedin - https://www.linkedin.com/in/shahrear-amin/ Email - [email protected]







































