Daily Email Digest Generator with Metadata Storage
detail.loadingPreview
Automatically process incoming email digest content, generate embeddings, and store structured metadata in Supabase, with an option for multilingual support.
🚀Ready to Deploy This Workflow?
About This Workflow
This workflow is designed to receive daily email digests, process their content for retrieval and analysis, and store the generated metadata in a structured format within Supabase. It leverages Langchain nodes for advanced AI capabilities, including text splitting, embedding generation, and retrieval-augmented generation (RAG) for intelligent querying.
Key Features
- Webhook Trigger: Initiates the workflow with incoming data.
- Text Splitting: Breaks down large text into manageable chunks for AI processing.
- OpenAI Embeddings: Generates vector representations of text content.
- Supabase Vector Store: Efficiently stores and retrieves vector embeddings and associated metadata.
- Anthropic Chat Model: Powers conversational AI capabilities.
- RAG Agent: Utilizes retrieval-augmented generation for context-aware responses.
- Google Sheets Logging: Records workflow execution status.
- Slack Alerting: Notifies administrators of errors.
How To Use
- Webhook Trigger: Configure the
Webhook Triggernode with your desired HTTP method (POST) and path. This will be the endpoint for sending your daily email digest data. - Text Processing: The
Text Splitternode will automatically chunk the incoming content. AdjustchunkSizeandchunkOverlapas needed. - Embedding Generation: The
Embeddingsnode uses OpenAI'stext-embedding-3-smallmodel to create vector embeddings. Ensure your OpenAI API credentials are set up. - Supabase Integration: The
Supabase Insertnode stores the embeddings and metadata in a Supabase vector store nameddaily_email_digest. Configure your Supabase API credentials. - Retrieval and Generation: The
Supabase Querynode retrieves relevant data, which is then used by theVector ToolandWindow Memoryto provide context to theRAG Agent. - AI Agent: The
RAG Agent(powered by Anthropic's chat model) processes the input and context to perform its task. ThesystemMessagein theRAG Agentcan be customized to define its role. - Logging: The
Append Sheetnode logs the status of the process to a Google Sheet. Ensure your Google Sheets credentials and sheet ID/name are correctly configured. - Error Handling: The
Slack Alertnode will send notifications to a specified Slack channel in case of any errors during the RAG Agent execution. Configure your Slack API credentials.
Apps Used
Workflow JSON
{
"id": "87a647c6-7b51-4155-8479-dc270988f734",
"name": "Daily Email Digest Generator with Metadata Storage",
"nodes": 0,
"category": "AI & Automation",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 87a647c6-7b51...
About the Author
N8N_Community_Pick
Curator
Hand-picked high quality workflows from the global community.
Statistics
Related Workflows
Discover more workflows you might like
Discord Agent for Structured Metadata Generation
An n8n workflow that uses an AI agent to generate structured metadata in both English and Chinese for Discord.
AI Agent for Top n8n Creators Leaderboard Reporting
This workflow automates the generation of a comprehensive report on top n8n creators and their popular workflows, leveraging AI for analysis and LLMs for content creation.
AI Supervisor Ava for Multi-Language Workflow Orchestration
An AI supervisor workflow that orchestrates various tools and generates structured metadata in multiple languages.