What This Workflow Does
This automation solves the tedious and time-consuming process of manually reviewing emails and their attachments. Many businesses receive important documents via email - invoices, contracts, applications, or reports - that need to be processed, analyzed, and stored. Traditional manual processing is slow, error-prone, and doesn't scale.
The workflow automatically extracts email attachments (PDFs, images), analyzes them using multiple AI models (DeepSeek, Gemini, OpenRouter), extracts key information, and saves the processed documents to Google Drive while sending notifications via Telegram. It transforms unstructured email content into organized, searchable business data.
How It Works
1. Email Trigger
The workflow starts when a new email arrives in your designated inbox. It checks for attachments and filters based on your criteria (sender, subject, etc.).
2. Attachment Processing
PDFs and images are extracted from the email. The system converts them to text when needed and prepares them for AI analysis while maintaining original file integrity.
3. AI Analysis
Multiple AI models analyze the content based on your requirements. This could include summarization, data extraction, sentiment analysis, or custom processing rules.
4. Results Storage
Processed documents and extracted data are saved to Google Drive in an organized folder structure. The original email and analysis results are linked for easy reference.
5. Telegram Notification
A summary of the processed email and key findings is sent to your Telegram channel or chat, allowing mobile access and team collaboration.
Who This Is For
This workflow is ideal for businesses that receive documents via email and need to process them systematically. Common use cases include:
- Accounting teams processing invoices and receipts
- HR departments handling job applications and resumes
- Legal firms managing contracts and agreements
- Customer support teams analyzing feedback and complaints
- Researchers collecting data submissions
What You'll Need
- An n8n instance (cloud or self-hosted)
- Email account access (IMAP or API)
- Google Drive account
- Telegram bot setup
- API keys for your chosen AI providers
Quick Setup Guide
- Download the JSON template file
- Import into your n8n instance
- Configure your email connection
- Set up Google Drive and Telegram credentials
- Connect your AI provider accounts
- Test with sample emails
- Activate the workflow
Key Benefits
Save 10+ hours per week by eliminating manual email and document processing. The AI handles the tedious work while you focus on decision-making.
Reduce errors by 80% compared to manual data entry. AI models consistently extract information without fatigue or oversight.
Instant access to processed data through Google Drive organization and Telegram notifications, keeping your team informed in real-time.
Scalable document processing that handles volume spikes without additional staff. The system processes 100 documents as easily as 10.
Customizable analysis to match your specific business needs. Configure different AI models and processing rules for different document types.