Automated Morning Briefing Email with RAG Agent
detail.loadingPreview
This workflow automates the creation and delivery of a daily morning briefing email. It utilizes a Webhook Trigger, RAG Agent, and Supabase for context and logging.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This n8n workflow is designed to automate the generation of a personalized 'Morning Briefing Email'. It leverages a combination of Langchain nodes for advanced AI capabilities, including Retrieval Augmented Generation (RAG), and standard n8n nodes for data handling and notifications. The workflow starts with a Webhook Trigger, allowing it to be initiated by an external event. The incoming data is then processed by a RAG Agent, which intelligently retrieves relevant information using Supabase as a vector store. This context is combined with a chat model and memory to formulate a comprehensive briefing. The outcome is logged to a Google Sheet, and any errors are reported via Slack.
Key Features
- Webhook Trigger: Enables external systems to initiate the briefing email generation.
- RAG Agent: Utilizes Retrieval Augmented Generation for context-aware content creation.
- Langchain Integration: Leverages advanced AI capabilities for sophisticated text processing and generation.
- Supabase Vector Store: Stores and retrieves relevant information for context-aware responses.
- Google Sheets Logging: Automatically logs the status of the briefing process.
- Slack Alerts: Provides immediate notifications for any errors encountered.
How To Use
- Set up Credentials: Configure your Cohere, Supabase, Anthropic, and Google Sheets API credentials within n8n.
- Configure Webhook Trigger: Define the HTTP method and path for your webhook.
- Set up Supabase Vector Store: Configure your Supabase connection and specify the index name for storing embeddings.
- Configure RAG Agent: Define the system message and the prompt for processing data.
- Configure Google Sheets: Specify the Sheet ID and Log sheet name for appending status updates.
- Configure Slack Alerts: Set up your Slack credentials and the channel for error notifications.
Apps Used
Workflow JSON
{
"id": "3aa077bf-b8ee-4265-b98c-342389c97fcb",
"name": "Automated Morning Briefing Email with RAG Agent",
"nodes": 0,
"category": "Productivity 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: 3aa077bf-b8ee...
About the Author
N8N_Community_Pick
Curator
Hand-picked high quality workflows from the global community.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
Automate Todoist Task Prioritization with AI
Automatically set priorities for your Todoist tasks based on content using AI. This workflow uses the Schedule Trigger, Todoist, and OpenAI nodes to categorize and update tasks.