๐Ÿ”ฌ 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

  1. Monitors a Google Drive folder for new files.
  2. Detects file type โ†’ Google Doc vs PDF.
  3. Extracts text (via Google Docs API or PDF extractor).
  4. Summarizes & analyzes content using OpenAI.
  5. Sends results to Slack and/or Email.

๐Ÿ‘ค Who Is This For?


๐Ÿ’ก Use Case / Problem Solved

๐Ÿ‘‰ This workflow solves it by auto-summarizing documents and notifying teams instantly.


โš™๏ธ What This Workflow Does


๐Ÿ› ๏ธ Setup Instructions

Prerequisites

Steps to Configure

  1. Connect Google Drive

    • Choose the folder you want to monitor.
  2. Set up file type routing

    • Use an IF node to split Docs vs PDFs.
  3. For Google Docs

    • Use Google Docs Get โ†’ extract text.
  4. For PDFs

    • Use Google Drive Download โ†’ Extract PDF.
  5. Send text to OpenAI

    • Connect to your OpenAI model.
    • Customize the system prompt to generate title, summary, sentiment, etc.
  6. Notify

    • Send output to Slack channel or Gmail.
  7. Save & activate your workflow.


๐Ÿ“Œ Notes

๐Ÿ”— 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

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup