Back to Templates
Summary:
This workflow listens for new Gmail messages, extracts and cleans email content, generates embeddings via OpenAI, stores them in a Qdrant vector database, and then enables a Retrieval‑Augmented‑Generation (RAG) agent to answer user queries against those stored emails. It’s designed for teams or bots that need conversational access to past emails.
emails_history collection.emails_historyqdrantCollection.value in all Qdrant nodes if you prefer a different collection.everyMinute to everyFiveMinutes or a webhook‑style trigger.metadataValues to tag by folder, label, or sender domain.batchSize to suit your inbox volume.systemMessage in the RAG Agent node to set the assistant’s tone, instruct on date handling, or add additional tools.