๐ฌ Summarize Google Docs & PDFs with GPT-4 and send to Slack or email
โก 580 views ยท ๐ฌ Document Extraction & Analysis
Description
๐ AI-Powered Document Summarizer & Notifier
This workflow monitors a Google Drive folder for new files (Google Docs or PDFs), extracts text, summarizes content with OpenAI, and sends results to Slack or Email.
๐ง How It Works
- Monitors a Google Drive folder for new files.
- Detects file type โ Google Doc vs PDF.
- Extracts text (via Google Docs API or PDF extractor).
- Summarizes & analyzes content using OpenAI.
- Sends results to Slack and/or Email.
๐ค Who Is This For?
- Business teams โ Quick digests of reports, proposals, contracts.
- Educators / researchers โ Summaries of long study materials.
- Founders / managers โ Daily summaries without opening every file.
- Operations teams โ Compliance and documentation tracking.
๐ก Use Case / Problem Solved
- Reading long documents is time-consuming.
- Sharing key points across teams requires manual effort.
- Important context (sentiment, action items) is often missed.
๐ This workflow solves it by auto-summarizing documents and notifying teams instantly.
โ๏ธ What This Workflow Does
- Monitors Google Drive for new Google Docs or PDFs.
- Extracts text automatically.
- Uses OpenAI to generate:
- Title
- Summary
- Key Points
- Suggested Action Items
- Language detection
- Sentiment (positive, neutral, negative)
- Pushes output to Slack channel and/or Email inbox.
๐ ๏ธ Setup Instructions
Prerequisites
- Google Drive (OAuth2)
- Google Docs (OAuth2)
- OpenAI API Key
- Slack (OAuth2) or Gmail (OAuth2)
Steps to Configure
-
Connect Google Drive
- Choose the folder you want to monitor.
-
Set up file type routing
- Use an
IFnode to split Docs vs PDFs.
- Use an
-
For Google Docs
- Use Google Docs Get โ extract text.
-
For PDFs
- Use Google Drive Download โ Extract PDF.
-
Send text to OpenAI
- Connect to your OpenAI model.
- Customize the system prompt to generate title, summary, sentiment, etc.
-
Notify
- Send output to Slack channel or Gmail.
-
Save & activate your workflow.
๐ Notes
- Adjust OpenAI prompt to suit your context.
- For large PDFs, consider splitting into smaller chunks.
๐ Nodes Used
Slack, Google Drive, Gmail, Google Docs, Google Drive Trigger, AI Agent
๐ฅ Import
Download workflow.json and import into n8n:
Workflow menu โ Import from File