DeepSeek-R1-GGUF
unsloth · Kit
GGUF copies of the 671B DeepSeek-R1 reasoning model, with 1.58-bit and 2-bit dynamic quants, for running it in llama.cpp on a local machine with enough memory.
An n8n workflow that answers company questions sent by email. It summarizes each message, searches your documents in a Qdrant knowledge base, writes a reply with AI and sends it by SMTP.
Email replies drawn from a Qdrant knowledge base is an n8n workflow in the Business category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page or copy its JSON, then import it into an n8n canvas. Nothing runs until you activate it in n8n.
New email in your mailbox
It starts when a new unread email arrives. A first part, which you start by hand, fills the knowledge base beforehand. The email brings:
Each company question gets an HTML reply drawn from your documents, and other emails are left alone
What you need before you start.
Knowledge base
Stores your documents as searchable pieces, and lets the agent look up the ones that match a question.
NeedsA Qdrant address and API key, and a collection
Language models and embeddings
Runs the classifier and the reply writer, and turns documents and questions into vectors for the search.
NeedsOpenAI API key
DeepSeek models
Runs deepseek-r1-0528 for the email summary and for the review of the reply, through an OpenAI credential with OpenRouter’s address.
NeedsAn OpenRouter API key
Documents
Lists the files in your folder and downloads each one as plain text.
NeedsA Google Drive OAuth2 credential, and a folder
Mailbox
Reads each new email and sends the reply.
NeedsIMAP and SMTP details for one mailbox
Checked by Mindket on 13 Nov 2026
This n8n workflow answers company questions that arrive by email, using your own documents. It has two parts. The first reads the files in a Google Drive folder, cuts them into pieces and stores them in a Qdrant collection. The second watches a mailbox over IMAP. Each new email becomes Markdown and a summary of up to 100 words. A classifier keeps only the emails that ask about the company, and the rest stop there. For those, an AI agent searches the Qdrant collection and writes a short reply. A second model formats it as HTML, and the workflow sends it by SMTP from the address that got the question. The file holds 26 nodes, three of them sticky notes.
Small teams and shops that get the same questions about hours, prices, delivery or policies, and keep the answers in Google Docs. Skip it if every reply needs a person’s approval, or if your customers write mostly about orders and accounts. As imported, the reply leaves your mailbox as soon as it is written.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Retail | Shop owners | Answer questions about opening hours, delivery and returns | A bike shop gets a question about its return window, and the reply quotes its returns document. |
| Hospitality | Hotel front desks | Answer the standard questions about check-in and facilities | A small hotel answers a question about parking from its guest guide. |
| Education | School offices | Reply to questions about fees and term dates | A tutoring centre answers a question about its term dates from its handbook. |
| Professional services | Office managers | Answer first questions about services and prices | An accounting firm replies with the services listed in its price sheet. |
You need to know n8n and Qdrant: two OpenAI credentials, a Qdrant key, a collection to fill, a Google Drive folder and a mailbox that allows IMAP and SMTP.
Any n8n that can reach your mailbox, Qdrant, OpenAI, OpenRouter and Google Drive will run it. Qdrant can be Qdrant Cloud or a server of your own.
Download saves a zip with workflow.json and Mindket’s setup notes in your downloads folder. Have your Qdrant details and a Google Drive folder ready first.
| Need | Detail |
|---|---|
| n8n | On n8n Cloud or on a server of your own |
| Qdrant | An address, an API key and a collection name of your choice |
| OpenAI | An API key for the reply writer, the classifier and the embeddings |
| OpenRouter | An API key, entered in a second OpenAI credential with the base URL https://openrouter.ai/api/v1, for the two DeepSeek nodes |
| A Google Drive OAuth2 credential, and a folder of Google Docs | |
| IMAP and SMTP details for one mailbox |
workflow.json.Create collection and Refresh collection, replace QDRANTURL with your Qdrant host and COLLECTION with a collection name of your choice. Add a Header Auth credential with the name api-key and your Qdrant key as the value, and select it in both nodes.Qdrant Vector Store and Qdrant Vector Store1. In both, replace COLLECTION with the same name.OpenAI, OpenAI 4-o-mini, Embeddings OpenAI and Embeddings OpenAI1.https://openrouter.ai/api/v1 and your OpenRouter key, and select it in DeepSeek R1 and DeepSeek. Or pick an OpenAI model in both and use the first credential.Get folder and Download Files. In Get folder, choose your folder.When clicking ‘Test workflow’. It creates the collection, clears it, then reads the folder, splits each document and stores the pieces.Email Trigger (IMAP). Add an SMTP credential and select it in Send Email.Nothing to open once it is published. Each new unread email in the INBOX starts a run. Run the first part again whenever your documents change.
| To change | Where |
|---|---|
| Which emails get an answer | The categories in Email Classifier |
| How the reply reads | The system message of Write email |
| The look and length of the reply | The prompt in Review email |
| Which documents it reads | The folder in Get folder |
| How documents are cut up | Token Splitter, now 300 tokens with an overlap of 30 |
| The models | The four chat model nodes |
A customer writes to a bike shop and asks how many days she has to return a helmet. The mailbox trigger picks the email up.
The workflow turns it into Markdown and writes a summary of about 100 words. The classifier files it under Company info request. The agent searches the knowledge base, finds the returns document and writes a short reply with the number of days. The review step formats it as HTML, and SMTP sends it back to the customer.
If you are new. n8n draws a workflow as boxes joined by lines, and each box, a node, does one job. This file holds two separate flows. The first fills the knowledge base once, and you start it by hand. The second runs by itself for every new email. A knowledge base here is your documents cut into pieces and stored, so the agent can find the pieces that match a question. Test with your own address first.
For experts. The agent reads only the summary, and the first flow depends on the order of two branches.
| Node | What it does | What to know |
|---|---|---|
Email Summarization Chain | Summarizes the Markdown in up to 100 words | The prompts carry the email text through {{ $json.data }}, so keep that expression if you edit them |
Email Classifier | Passes emails that ask about the company and sends the rest to Do nothing | It has one category, with other as the fallback |
Write email | An agent that searches Qdrant through Qdrant Vector Store and writes the reply | It gets the summary, not the original email, so details the summary drops are lost |
Create collection | Makes the collection with 1536 dimensions and the Cosine distance | Mindket matched the size to the default embedding model, text-embedding-3-small |
Refresh collection | Sends a delete-points request with an empty filter before each fill | It is meant to clear the collection, so try it on a throwaway one |
The reply goes out with no review, and two of its models are on OpenAI’s shutdown list.
OpenAI and OpenAI 4-o-mini call gpt-4o-mini. OpenAI’s deprecations page, read on 12 November 2026, lists it for shutdown on 14 January 2027, with gpt-6-luna as the replacementdeepseek/deepseek-r1:free, which OpenRouter’s model list (read the same day) no longer shows. Mindket set deepseek/deepseek-r1-0528, which is a paid modelCreate collection sent a POST with an empty filter, which does not create a collection. It now sends a PUT with the vector size and distance, and it continues on error, so a rerun still reaches Refresh collectionGet folder returns up to 50 files, and Download Files converts Google Docs to plain textAn n8n workflow that answers company questions sent by email, from your own documents. One part, which you start by hand,
reads a Google Drive folder and stores the documents in a Qdrant collection. The other part watches a mailbox over IMAP,
summarizes each new email, writes a reply with an AI agent that searches the collection, and sends it by SMTP.
workflow.json: the workflow as n8n exports it, 26 nodes. Three are sticky notes that label the steps. It holds noREADME.md: these notes.deepseek/deepseek-r1:free, which OpenRouter no longer lists. They now namedeepseek/deepseek-r1-0528.Create collection sent a POST with an empty filter, which does not create a collection. It now sends a PUT with a vectorGet folder was a test folder of the author's. It is cleared, so choose yours.QDRANTURL and COLLECTION placeholders are as the original had them.workflow.json.Create collection and Refresh collection, replace QDRANTURL with your Qdrant host (with its port, if it needs one)COLLECTION with a collection name of your choice. Add a Header Auth credential with the name api-key and your QdrantQdrant Vector Store and Qdrant Vector Store1. In both, replaceCOLLECTION with the same collection name.OpenAI, OpenAI 4-o-mini, Embeddings OpenAI and Embeddings OpenAI1.https://openrouter.ai/api/v1, with your OpenRouter key, and select it inDeepSeek R1 and DeepSeek. Or pick an OpenAI model in both and use the first credential.Get folder and Download Files. In Get folder, choose yourWhen clicking ‘Test workflow’. It creates the collection, clears it, then reads the folder,Email Trigger (IMAP). Add an SMTP credential and select it in Send Email.The first part, started by hand:
When clicking ‘Test workflow’ starts Create collection and then Refresh collection, which sends a delete-pointsGet folder lists the files in your folder, and Download Files downloads each one as plain text.Default Data Loader and Token Splitter cut each file into pieces of 300 tokens with an overlap of 30.Embeddings OpenAI1 turns the pieces into vectors, and Qdrant Vector Store1 stores them.The second part, for each new email:
Email Trigger (IMAP) picks up an unread email from the INBOX and marks it read.Markdown converts the email's HTML, and Email Summarization Chain writes a summary of up to 100 words.Email Classifier keeps summaries of emails that ask about the company. The rest go to Do nothing.Write email is an agent. It searches the collection through Qdrant Vector Store and writes a reply from the summary.Review email formats the reply as HTML.Send Email sends it to the sender, from the address that received the email, with the subject Re: and the originalEmail Classifier.Write email.Review email.Get folder.Token Splitter.OpenAI, OpenAI 4-o-mini, DeepSeek R1 and DeepSeek. Change the embedding model in both embedding nodesCreate collection together.OpenAI and OpenAI 4-o-mini call gpt-4o-mini. OpenAI's deprecations page, read on 12 November 2026, lists it forgpt-6-luna as its replacement.deepseek/deepseek-r1-0528 is a paid model on OpenRouter (its model list, read the same day), unlike the free one the filetext-embedding-3-small, which has 1536 dimensions, the size Create collection now asks for.Create collection is set to continue on error, so a collection that exists already does not stop a rerun. A wrong addressRefresh collection instead.Refresh collection is meant to clear the collection before each fill. Try it on a throwaway collection first.Write email reads the summary, not the email, so details the summary drops do not reach the reply.Markdown converts the email's HTML part. Test with the kinds of email you receive, plain text as well.Get folder returns up to 50 files, and Download Files converts Google Docs to plain text.NOTICE.md 657 B README.md 6 KB workflow.json 17 KB
unsloth · Kit
GGUF copies of the 671B DeepSeek-R1 reasoning model, with 1.58-bit and 2-bit dynamic quants, for running it in llama.cpp on a local machine with enough memory.
prithivMLmods · Kit
Provides GGUF files of Axion-1.0-35B, a 35B mixture-of-experts model with about 3B active parameters aimed at scientific reasoning, information seeking and too…
Phips · Kit
Upscales low-resolution images with a super-resolution network that trains on one consumer GPU and exports to ONNX. For people who train or run image upscalers.
perplexity-ai · Kit
Picks the best option for a decision from text and images, such as which team should handle a request, with a probability for each choice, for developers who b…
numind · Kit
Reads documents as text or images and fills a JSON template with the fields you ask for, or converts the pages to Markdown. A 4B model for teams that process s…
nace-ai · Kit
Scores yes or no, multiple choice and rating questions about a document in one pass, with a probability for every option. An 8B decision model from Nace.AI tha…