Bibliothek / Dateien & Cloud-Speicher
Dateien & Cloud-Speicher
Google-Drive-Dateien mit OpenAI kategorisieren und Ergebnisse in Google Sheets protokollieren
Läuft nach Zeitplan, klassifiziert Dateien in einem Drive-Quellordner mit OpenAI, verschiebt sie in Kategorieordner, protokolliert jedes Ergebnis in Sheets und meldet Läufe mit geringer Konfidenz oder Fehler.
Was sie bewirkt
## Auto-categorize Google Drive files into folders using AI with Google Sheets logging ### How it works This workflow periodically scans a configured Google Drive source folder, uses file metadata and extracted content to classify each file with an AI service, then moves the file into an appropriate category folder. It records every processing outcome in Google Sheets, handles low-confidence classifications with review notifications, and sends run-level or workflow-level alerts when errors occur. A separate scheduled path builds and sends a daily summary from the processing log. ### Setup steps - Configure Google Drive credentials with permission to list, download, create folders, and move files in the source and destination folders. - Configure Google Sheets credentials and create the processing log spreadsheet/sheet referenced by LOG_SPREADSHEET_ID and LOG_SHEET_NAME. - Set SOURCE_FOLDER_ID, DESTINATION_ROOT_FOLDER_ID, LOG_SPREADSHEET_ID, LOG_SHEET_NAME, and the AI endpoint/API details in the configuration node. - Configure Slack credentials/channels and email/SMTP settings for review, daily summary, run error, and workflow failure notifications. - Enable the schedules and ensure the workflow error trigger is registered as the error workflow for the main workflow if using n8n error handling. ### Customization Adjust the AI prompt/categories, confidence threshold, duplicate-name strategy, polling and daily-summary schedules, supported file extractors, and notification recipients to match the folder taxonomy and review process.
Die Schritte
- When Poll Triggered
- Daily Summary 11:50pm
- Set Configuration Variables
- Read Logs from Sheets
- If Daily Summary Triggered
- Fetch Google Drive Files
- Select Files for Processing
- Loop Over Drive Files
- Identify File Type
- If Content Extraction Required
- Download Google Drive File
- Route by Extraction Type
- PDF Text Extraction
- Spreadsheet Row Extraction
Insgesamt 59 Schritte.
Ähnliche Automatisierungen
KI-Agenten & AssistentenQualify and route inbound leads with GPT-4.1, HubSpot, Google Calendar and Slack38 SchritteDateien & Cloud-SpeicherBuild monthly mileage reimbursement reports from Google Calendar with OpenAI and Dropbox38 SchritteKI-Agenten & AssistentenFix broken YouTube description links and offers with Claude, Google Sheets and Slack30 SchritteBerichte, Analysen & DashboardsSEO-Optimierung mit Search Console, Analytics und OpenAI23 Schritte