Zum Inhalt springen
NEUMarktplatz und dein Team: Verkaufe, was du baust, und bekomm Pläne und Änderungen, die getestet sind, bevor du sie siehst. Neuigkeiten ansehen

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

  1. When Poll Triggered
  2. Daily Summary 11:50pm
  3. Set Configuration Variables
  4. Read Logs from Sheets
  5. If Daily Summary Triggered
  6. Fetch Google Drive Files
  7. Select Files for Processing
  8. Loop Over Drive Files
  9. Identify File Type
  10. If Content Extraction Required
  11. Download Google Drive File
  12. Route by Extraction Type
  13. PDF Text Extraction
  14. Spreadsheet Row Extraction

Insgesamt 59 Schritte.

Ähnliche Automatisierungen