Skip to main content

Summarize Google Docs & PDFs with GPT-4 and send to Slack or email

Workflow preview

Workflow preview
100%
Summarize Google Docs & PDFs with GPT-4 and send to Slack or email preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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

Best for

  • Document Extraction automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.googledrivetrigger, n8n-nodes-base.googledocs, n8n-nodes-base.if, n8n-nodes-base.set, n8n-nodes-base.extractfromfile, n8n-nodes-base.googledrive, n8n-nodes-base.slack

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Krishna Sharma.

Original n8n.io source

1.1 Workflow description

Title
Summarize Google Docs & PDFs with GPT-4 and send to Slack or email
Workflow name
Summarize Google Docs & PDFs with GPT-4 and send to Slack or email

πŸ“„ 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?

  • 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

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

  • Adjust OpenAI prompt to suit your context.
  • For large PDFs, consider splitting into smaller chunks.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 2 - File Created

Type / Role
n8n-nodes-base.googleDriveTrigger - googleDriveTrigger
Config choices
Version 1

Block 3 - Get a document

Type / Role
n8n-nodes-base.googleDocs - googleDocs
Config choices
Version 2

Block 4 - Check Document Type

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 5 - Set Field

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 6 - Convert to Text

Type / Role
n8n-nodes-base.extractFromFile - extractFromFile
Config choices
Version 1

Block 7 - Download PDF

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 1

Block 8 - Send message to Slack Channel

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.3

Block 9 - Email the Summary

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 10 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Doc Summarizer

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.2

3. Summary Table

Workflow Summarize Google Docs & PDFs with GPT-4 and send to Slack or email
Complexity advanced
Nodes 16
Categories Document Extraction, AI Summarization
Author Krishna Sharma
Published 16 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8645/8645.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Summarize Google Docs & PDFs with GPT-4 and send to Slack or email do?

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

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Document Extraction, AI Summarization use case.