Use this comprehensive n8n workflow to automate Optical Character Recognition (OCR) on images uploaded to Google Drive, summarize the content with OpenRouter AI, and log results to Google Sheets, completing the loop with a Gmail notification. Perfect for digitizing documents.
Download this n8n workflow template and start using it instantly.
Digitizing large volumes of image-based documents (like scanned reports or photographs of text) is a time-consuming manual process. This sophisticated n8n workflow provides a seamless solution by chaining together file detection, OCR extraction, advanced AI summarization, and data logging. The primary goal of this n8n automation is efficiency: once an image is dropped into a monitored Google Drive folder, the entire process—from text extraction (using OCR.space) and summarization (via OpenRouter AI) to logging in Google Sheets—runs automatically. This is a powerful demonstration of how an n8n node can manage complex, multi-service operations.
This powerful n8n workflow initiates every time a new image file is detected in a specified Google Drive folder.
Google Drive New File Trigger1 (a specific n8n trigger) monitors the folder. Once a file is detected, the Download Image File1 n8n node downloads the binary data.Extract Text with OCR.space1 HTTP Request node. This node is configured to perform Japanese (jpn) OCR on the image.Code n8n node (Format OCR Result & Check for Empty1) cleans the extracted raw text, removing extraneous line breaks and multiple spaces. It also captures the original filename.Generate Summary with OpenRouter AI1 n8n node, which uses the OpenRouter language model to generate a concise summary based on a specific prompt.Append row in sheet1 n8n node.Send Completion Notification via Gmail1 n8n node sends a detailed email notification to the user, confirming that the OCR and summarization process is complete and including the final summary.To deploy this n8n workflow and start automating, follow these setup steps:
Google Drive New File Trigger1 n8n trigger, specify the exact folder ID in your Google Drive that you wish to monitor for new images.Extract Text with OCR.space1 n8n node (HTTP Request), replace the placeholder value (APIKEY) with your actual OCR.space API key.Append row in sheet1 n8n node with the Document ID and specific Sheet Name where the data should be logged.Send Completion Notification via Gmail1 n8n node, ensure the Send To email address is correct for receiving notifications. Google Drive New File Trigger1 (n8n Trigger):
Function: Starts the n8n workflow upon the creation of a new file (image) in a predefined Google Drive folder. It polls for changes every minute.
Key Configuration: Configured to watch a specific folder ID (1jTs0NNXMFTcChRq0C1KEoARVdIOOjQ1r).
Download Image File1 (Google Drive n8n node):
Function: Downloads the file identified by the trigger event, storing the data in the data binary property for subsequent OCR processing.
Extract Text with OCR.space1 (HTTP Request n8n node):
Function: Sends the binary image data to the OCR.space API for text extraction. This is a critical step in the n8n automation.
Key Configuration: POST request to /parse/image, Content-Type is set to multipart-form-data, and the request includes the apikey, language (jpn), and the binary file data.
Format OCR Result & Check for Empty1 (Code n8n node):
Function: Processes the raw JSON output from OCR.space. It cleans the text by normalizing whitespace and extracts metadata like the filename, preparing it for the AI summarization step.
Generate Summary with OpenRouter AI1 (Langchain Agent n8n node):
Function: Takes the cleaned extracted text and uses the connected OpenRouter LLM (OpenRouter Chat Model1 n8n node) to generate a short, concise summary.
Key Configuration: Uses an inline prompt instructing the AI to summarize the input text.
Append row in sheet1 (Google Sheets n8n node):
Function: Logs the structured output (date, filename, summary) into the designated Google Sheet.
Send Completion Notification via Gmail1 (Gmail n8n node):
* Function: Sends an email notification detailing the successful execution of the n8n workflow, including the filename and the AI-generated summary.
Automate task creation from Telegram messages to Notion using Gemini AI. This n8n workflow template uses approval steps for efficient, human-verified task management.

Automatically scrape and parse LinkedIn profiles using this n8n workflow. Extract structured JSON data (experience, skills, education) using the Airtop n8n node and AI parsing for lead enrichment.

Use this powerful n8n workflow to automate back-office invoice processing. Extract structured JSON data from JotForm PDF submissions using OpenAI GPT-4.1-mini and seamlessly save results to Google Sheets.

Use this comprehensive n8n workflow to create a Telegram bot that extracts text from uploaded images (PNG/JPG) and PDFs using Mistral OCR, returning the result as a Markdown file. Includes secure whitelisting.









































