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

Go to Workflow
472 views
Built by Abdellah Homrani Abdellah Homrani
Created on June 05, 2026

Description

πŸ“š 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!



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 🌟

πŸ“‚ A file is uploaded to Google Drive
⬇️ File is downloaded
🧱 It's processed, split into chunks, and sent to Qdrant using Cohere embeddings
❓ A Q\&A chain with vector retriever performs information extraction
🧠 A DeepSeek AI Agent analyzes and summarizes the book
πŸ“€ The summary is saved to your Drive
🧽 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: [email protected]
[email protected]

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

Nodes Used (13)

AI Agent
@n8n/n8n-nodes-langchain.agent
Code
n8n-nodes-base.code
DeepSeek Chat Model
@n8n/n8n-nodes-langchain.lmChatDeepSeek
Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader
Embeddings Cohere
@n8n/n8n-nodes-langchain.embeddingsCohere
Google Drive
n8n-nodes-base.googleDrive
HTTP Request
n8n-nodes-base.httpRequest
Information Extractor
@n8n/n8n-nodes-langchain.informationExtractor
Qdrant Vector Store
@n8n/n8n-nodes-langchain.vectorStoreQdrant
Question and Answer Chain
@n8n/n8n-nodes-langchain.chainRetrievalQa
Recursive Character Text Splitter
@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter
Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow
Vector Store Retriever
@n8n/n8n-nodes-langchain.retrieverVectorStore