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

Библиотека / Документы, PDF и OCR

Документы, PDF и OCR

Разбор документов из Gmail с LlamaParse и OpenAI

При вызове webhook или поступлении письма Gmail LlamaParse извлекает текст документа, OpenAI составляет сводку, а результаты сохраняются в Sheets и Drive.

Что делает

# Description This workflow automates document processing using LlamaParse to extract and analyze text from various file formats. It intelligently processes documents, extracts structured data, and delivers actionable insights through multiple channels. ## How It Works ### Document Ingestion & Processing 📄 - Monitors Gmail for incoming attachments or accepts documents via webhook - Validates file formats against supported LlamaParse extensions - Uploads documents to LlamaParse for advanced text extraction - Stores original documents in Google Drive for reference ### Intelligent Document Analysis 🧠 - Automatically classifies document types (invoices, reports, etc.) - Extracts structured data using customized AI prompts - Generates comprehensive document summaries with key insights - Converts unstructured text into organized JSON data ### Invoice Processing Automation 💼 - Extracts critical invoice details (dates, amounts, line items) - Organizes financial data into structured formats - Calculates tax breakdowns, subtotals, and payment information - Maintains detailed records for accounting purposes ### Multi-Channel Delivery 📱 - Saves extracted data to Google Sheets for tracking and analysis - Sends concise summaries via Telegram for immediate review - Creates searchable document archives in Google Drive - Updates spreadsheets with structured financial information ## Setup Steps ### Configure API Credentials 🔑 - Set up LlamaParse API connection - Configure Gmail OAuth for email monitoring - Set up Google Drive and Sheets integrations - Add Telegram bot credentials for notifications ### Customize AI Processing ⚙️ - Adjust document classification parameters - Modify extraction templates for specific document types - Fine-tune summary generation prompts - Customize invoice data extraction schema ### Test and Deploy 🚀 - Test with sample documents of various formats - Verify data extraction accuracy - Confirm notification delivery - Monitor processing pipeline performance

Шаги

  1. Webhook
  2. Gmail
  3. Gmail Trigger
  4. Limit
  5. Get Message
  6. Parse Document with LlamaParse
  7. Summarize Email
  8. gpt-4o-mini
  9. Save LlamaParse ID and Summary to Google Sheets
  10. Save Document to Google Drive
  11. Extract Invoice Details as JSON
  12. gpt-4o-mini1
  13. gpt-4o-mini2
  14. Update Google Sheet by LlamaParse ID

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

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