Перейти к содержанию
НОВОЕМаркетплейс и ваша команда: продавайте то, что создали, и получайте планы и изменения, проверенные до того, как вы их увидите. Что нового

Библиотека / Файлы и облачное хранилище

Файлы и облачное хранилище

Категоризация файлов Google Drive с OpenAI и журналирование результатов в Google Sheets

Запускается по расписанию, классифицирует файлы в исходной папке Drive с помощью OpenAI, перемещает их в папки категорий, записывает результат каждой операции в Sheets и отправляет оповещения о результатах с низкой уверенностью или об ошибках.

Что делает

## 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.

Шаги

  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

Всего шагов: 59.

Похожие автоматизации