π¬ Automated book summarization with DeepSeek AI, Qdrant Vector DB & Google Drive
β‘ 1,329 views Β· π¬ Document Extraction & Analysis
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!
AI Book Sum Thum.png
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 Creatednode to monitorbook_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: adamcrafts@cloudysoftwares.com adamaicrafts@gmail.com
> Build once, customize endlessly, and scale your video content like never before. π
π Nodes Used
HTTP Request, Google Drive, Google Drive Trigger, AI Agent, Question and Answer Chain, Embeddings Cohere
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File