Retrieve and answer Gmail email queries with Llama 3.2, mxbai-embed, and Qdrant
UnknownWhat 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).
- Download file (Google Drive): download
- Fetch Collection Name (Code): runs custom JavaScript code
- Fields Preparation (Edit Fields (Set)): sets 7 fields: from, name, to…
- Extract from File: extracts data from a file (from json)
- Check If Collection Exists (Qdrant): collection exists
- Query Embedding (HTTP Request): calls 192.168.56.1:1234 (POST)
- Collection Name Fetch (Code): runs custom JavaScript code
- Data Fetch (Edit Fields (Set)): sets 1 field: data
- If: checks a condition and branches into true / false
- Merge: merges the data from its input branches
…plus 9 more steps. See the full node list below.
Services it uses
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)
- Google Drive Trigger
n8n-nodes-base.googleDriveTrigger - Google Drive
n8n-nodes-base.googleDrive - Extract from File
n8n-nodes-base.extractFromFile - Qdrant
n8n-nodes-qdrant.qdrant - If
n8n-nodes-base.if - Gmail Trigger
n8n-nodes-base.gmailTrigger - Merge
n8n-nodes-base.merge - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - Gmail
n8n-nodes-base.gmail - OpenAI
@n8n/n8n-nodes-langchain.openAi
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…