Automated Blood Test Email Alert with RAG Agent
detail.loadingPreview
This workflow automates blood test result alerts by leveraging a RAG Agent. It triggers via a webhook, processes data using Text Splitter and Embeddings, stores it in Supabase, and generates alerts.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This n8n workflow automates the process of sending alerts based on blood test results. It utilizes a webhook to receive incoming data, which is then processed by a Text Splitter and Embeddings node. The processed data is stored in a Supabase vector database for efficient retrieval. A RAG Agent (Retrieval-Augmented Generation) is employed to intelligently process the incoming data, considering context from Window Memory and Vector Tool. Finally, the results are logged to a Google Sheet via the Append Sheet node, and a Slack Alert is configured for error handling.
Key Features
- Webhook Trigger: Initiates the workflow when new blood test data is received.
- Data Processing: Utilizes
Text SplitterandEmbeddingsfor preparing data for AI processing. - Vector Database Integration: Stores and retrieves data using Supabase for context-aware AI.
- RAG Agent: Employs Retrieval-Augmented Generation for intelligent data analysis and response generation.
- Google Sheets Logging: Records workflow execution and results in a Google Sheet.
- Slack Alerts: Provides immediate notifications for any errors encountered during the workflow execution.
How To Use
- Configure Webhook Trigger: Set up the
Webhook Triggernode with your desired path (blood-test-email-alert) to receive incoming blood test data. - Set up AI Nodes: Configure the
Text Splitter,Embeddings(OpenAI),Chat Model(Anthropic),Window Memory, andVector Toolnodes with your specific parameters and credentials. - Integrate Supabase: Connect your Supabase account and set up the
Supabase InsertandSupabase Querynodes with yourindexName(blood_test_email_alert). Ensure your Supabase database is configured for vector storage. - Configure RAG Agent: Customize the
RAG Agentnode's prompt and system message to define how it should process the blood test data. - Set up Google Sheets Logging: Configure the
Append Sheetnode with your Google Sheet ID and sheet name (Log) to record the workflow's output. - Configure Slack Alerts: Set up the
Slack Alertnode with your Slack credentials to receive error notifications.
Apps Used
Workflow JSON
{
"id": "761d6bf1-2d99-4c55-819c-156ef362a318",
"name": "Automated Blood Test Email Alert with RAG Agent",
"nodes": 0,
"category": "AI & Machine Learning",
"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: 761d6bf1-2d99...
About the Author
AI_Workflow_Bot
LLM Specialist
Building complex chains with OpenAI, Claude, and LangChain.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
Visa Requirement Checker
A workflow to check visa requirements based on user input, leveraging Langchain, Cohere embeddings, Weaviate vector store, and Anthropic LLM.
AI Assistant for Structured Metadata Generation
Automates the generation of structured metadata in English and Chinese using AI, leveraging communication platforms and various data sources.
NeurochainAI Basic API Integration for Telegram
Integrates NeurochainAI's text and image generation APIs with a Telegram bot.