Automated Book Summarization with DeepSeek AI, Qdrant Vector DB & Google Drive

πŸ“š AI Book Summarizer with Vector Search – n8n Automation

Overview

This n8n workflow automates the process of summarizing uploaded books from Google Drive using vector databases and LLMs. It uses Cohere for embeddings, Qdrant for storage and retrieval, and DeepSeek or your preferred LLM for summarization and Q&A. Designed for researchers, students, and productivity enthusiasts!

AI Book Sum Thum.png

Result Example


Problem πŸ› οΈ

⏳ Reading full books or papers to extract core ideas can take hours.
🧠 Manually summarizing or searching inside long documents is inefficient and overwhelming.


Solution βœ…

Use this workflow to:

  • Upload a book to Google Drive πŸ“₯
  • Auto-split and embed the content into Qdrant πŸ”
  • Summarize it using DeepSeek or another LLM πŸ€–
  • Store the final summary back to Google Drive πŸ“€
  • Clean up the vector store afterward 🧹

πŸ”₯ Result

⚑ Instant AI-generated book summary
πŸ’‘ Ability to perform semantic search and question-answering
πŸ“ Summary saved back to your cloud
🧠 Enhanced productivity for learning and research


Setup βš™οΈ (4–8 minutes)

1. Google Drive Setup

  • πŸ”— Connect Google Drive credentials
  • πŸ“ Create an input folder (e.g., book_uploads)
  • πŸ“ Create an output folder (e.g., book_summaries)
  • ⚑ Trigger: Use File Created node to monitor book_uploads
  • πŸ“₯ Summary will be saved in book_summaries

2. LLM & Embeddings Setup

  • πŸ”‘ Create and test API keys for:
    • DeepSeek/OpenAI for summarization
    • Cohere for embeddings
    • Qdrant for vector storage
  • πŸ§ͺ Ensure all credentials are added in n8n

How It Works 🌟

  1. πŸ“‚ A file is uploaded to Google Drive
  2. ⬇️ File is downloaded
  3. 🧱 It's processed, split into chunks, and sent to Qdrant using Cohere embeddings
  4. ❓ A Q&A chain with vector retriever performs information extraction
  5. 🧠 A DeepSeek AI Agent analyzes and summarizes the book
  6. πŸ“€ The summary is saved to your Drive
  7. 🧽 The Qdrant vector collection is deleted (clean-up)

What’s Included πŸ“¦

  • βœ… Google Drive integration (input/output)
  • βœ… File chunking and embedding using Cohere
  • βœ… Vector storage with Qdrant
  • βœ… Q&A with vector retrieval
  • βœ… Summarization via DeepSeek or other LLM
  • βœ… Clean-up for minimal storage overhead

Customization 🎨

You can tailor it to your use case:

  • πŸ§‘β€πŸ« Adjust summarization prompt for study notes or executive summaries
  • 🌍 Add translation node for multilingual support
  • πŸ” Enable long-term memory by skipping vector deletion
  • πŸ“¨ Send summaries to Notion, Slack, or Email
  • 🧩 Use other LLM providers (OpenAI, Claude, Gemini, etc.)

🌐 Explore more workflows

❀️ Buy more workflows at: adamcrafts
🦾 Custom workflows at: adamcrafts@cloudysoftwares.com
adamaicrafts@gmail.com

Build once, customize endlessly, and scale your video content like never before. πŸš€