Adam Crafts

Adam Crafts

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 summary 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 afterwards ๐Ÿงน

๐Ÿ”ฅ 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 (eg, book_uploads )
  • ๐Ÿ“ Create an output folder (eg, 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 summary
    • 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 summary 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. ๐Ÿš€

Do you want to automate your business?

Let's talk about your project