Extract text from Google Drive files to Google Sheets using NVIDIA NIM
Workflow preview
$20/month : Unlimited workflows
2500 executions/month
THE #1 IN WEB SCRAPING
Scrape any website without limits
HOSTINGER
Early Deal
DISCOUNT 20% Try free
DISCOUNT 20%
Self-hosted n8n
Unlimited workflows - from $4.99/mo
#1 hub for scraping, AI & automation
6000+ actors - $5 credits/mo
Overview
This template monitors Google Drive folder for new files, extracts text from PDFs, images, text files, CSVs, and Google Docs., reads images with meta/llama-3.2-11b-vision-instruct, structures the result with nvidia/llama-3.3-nemotron-super-49b-v1.5, logs everything to Google Sheets, and sends a Telegram notification when processing finishes. β¨
What This Template Does
- Watches a specific Google Drive folder for new files with Google Drive Trigger. π
- Downloads each new file with Google Drive before processing. β¬οΈ
- Routes PDFs, images, text files, CSVs, and Google Docs through the correct extraction branch. π
- Extracts image text with meta/llama-3.2-11b-vision-instruct πΌοΈ
- Structures extracted content into JSON fields with nvidia/llama-3.3-nemotron-super-49b-v1.5 through NVIDIA NIM. π€
- Appends the final result to Google Sheets in Extract_Log. π
- Sends a Telegram notification when processing is complete. π¬
Key Benefits
- Turns a Drive folder into a reusable intake point for mixed file types. β±οΈ
- Creates a searchable audit trail in Google Sheets for every processed file. π
- Sends a lightweight Telegram notification without requiring Telegram as the input channel. β
- Keeps the extraction and structuring logic reusable for internal ops or client delivery workflows. π
- Makes it easier to test multimodal document processing with free-tier NVIDIA NIM models. π‘
Features
- Google Drive Trigger configured for new files in a specific folder. π₯
- Google Drive download step for binary file access before extraction. βοΈ
- File-type routing with Switch and normalization with Code nodes. π§
- Native n8n Extract from File nodes for PDF, TXT, and CSV parsing. π
- NVIDIA NIM HTTP Request nodes for image OCR and structured JSON generation. π€
- Google Sheets append logging with a fixed
Extract_Logtab schema. π - Plain-text Telegram completion notifications with a fixed destination chat ID. π¨
Requirements
- n8n instance with access to Google Drive Trigger, Google Drive, Google Docs, Google Sheets, HTTP Request, Telegram, and Extract from File nodes. π§°
- Google Drive OAuth2 credential with access to the watched folder. π
- Google Docs OAuth2 credential with access to any Google Docs files you want to process. π
- Google Sheets OAuth2 credential and a sheet with an
Extract_Logtab. π - Telegram bot credential plus a valid destination chat ID for notifications. π€
- NVIDIA NIM API key stored as an HTTP Header Auth credential. π
- A folder ID and Google Sheet ID added to the provided placeholders before activation. π οΈ
Target Audience
- Operations teams monitoring a shared Drive folder for inbound files. ποΈ
- Founders and solo operators who want document extraction. π€
- Agencies building reusable back-office workflows for receipts, notes, and uploaded files. π’
- Analysts who want structured text output logged into Google Sheets automatically. π
- Automation builders testing file-driven multimodal extraction with Drive as the source. π§ͺ
Step-by-Step Setup Instructions
- Import the workflow and read every sticky note on the canvas before editing any nodes. π
- Connect your Google Drive, Google Docs, Google Sheets, Telegram, and NVIDIA NIM credentials. π
- Replace
REPLACE_WITH_GOOGLE_DRIVE_FOLDER_ID,REPLACE_WITH_GOOGLE_SHEET_ID, andREPLACE_WITH_TELEGRAM_CHAT_IDin the marked nodes. π - Create the
Extract_Logtab with the required headers shown in the sticky notes. π - Test one file at a time in this order: PDF, TXT, CSV, image, then Google Docs file. π§ͺ
- Confirm that each test adds one clean row to Google Sheets and sends one Telegram notification. β
- Activate the workflow only after every supported path works end to end. π
Built by Cordexa Technologies