Extract text from Google Drive images with OCR.space, OpenRouter AI summary to sheets & Gmail
Ready for 3.0What this workflow does
This AI workflow has 9 nodes and runs on Google Drive events (file created). Along the way it connects OpenRouter Chat Model, Google Sheets, Google Drive and Gmail. It also calls api.ocr.space over HTTP.
How it runs
Trigger: On Google Drive events (file created).
- Download Image File (Google Drive): download
- Extract Text with OCR.space (HTTP Request): calls api.ocr.space (POST)
- Format OCR Result & Check for Empty (Code): runs custom JavaScript code
- Generate Summary with OpenRouter AI (AI Agent): runs an AI agent, with model: OpenRouter Chat Model
- Append row in sheet (Google Sheets): append
- Send Completion Notification via Gmail (Gmail): uses Gmail
Services it uses
HTTP calls to: api.ocr.space
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 (9)
- OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Google Sheets
n8n-nodes-base.googleSheets - Google Drive Trigger
n8n-nodes-base.googleDriveTrigger - Google Drive
n8n-nodes-base.googleDrive - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - Gmail
n8n-nodes-base.gmail - No Operation, do nothing
n8n-nodes-base.noOp
From the author
How it works This workflow automatically detects new image files uploaded to a Google Drive folder, extracts Japanese text using OCR, summarizes it with AI, and records the result in Google Sheets. Finally, it sends a completion email notification with the…