Templates / Retrieve and answer Gmail email queries with Llama 3.2, mxbai-embed, and Qdrant

Retrieve and answer Gmail email queries with Llama 3.2, mxbai-embed, and Qdrant

Unknown

by Neloy Barman ✓ · 444 views · created 2026-03-23 · Ticket Management, AI RAG

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 21 nodes and runs on Google Drive events (specific file) (plus 1 other trigger). Along the way it connects Google Drive, Gmail, OpenAI and Qdrant (community). It also calls 192.168.56.1:1234 over HTTP.

How it runs

Trigger: On Google Drive events (specific file) (plus 1 other trigger).

  1. Download file (Google Drive): download
  2. Fetch Collection Name (Code): runs custom JavaScript code
  3. Fields Preparation (Edit Fields (Set)): sets 7 fields: from, name, to…
  4. Extract from File: extracts data from a file (from json)
  5. Check If Collection Exists (Qdrant): collection exists
  6. Query Embedding (HTTP Request): calls 192.168.56.1:1234 (POST)
  7. Collection Name Fetch (Code): runs custom JavaScript code
  8. Data Fetch (Edit Fields (Set)): sets 1 field: data
  9. If: checks a condition and branches into true / false
  10. Merge: merges the data from its input branches

…plus 9 more steps. See the full node list below.

Services it uses

Google DriveGmailOpenAIQdrant (community)

HTTP calls to: 192.168.56.1:1234

Before you upgrade to n8n 3.0

We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

  • Check that n8n-nodes-qdrant is verified or supports 3.0 (used in Create Collection, Check If Collection Exists, Delete Collection).
  • Also check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll).

Nodes used (12)

From the author

Self-Hosted This workflow provides a complete end-to-end system for automatically managing your inbox by reading incoming questions, matching them to approved guidelines, and sending consistent, 24/7 replies. By combining local AI processing with an automated…

Excerpt from Neloy Barman's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.