This n8n workflow automates the process of handling blood test results via email alerts, leveraging AI and cloud services for efficient data processing and notification. It starts with a webhook trigger that receives incoming data related to blood tests. The data is then split into manageable text chunks using a Text Splitter node, allowing for detailed analysis. These chunks are embedded into vector representations through OpenAI’s embedding model, stored in a Supabase vector database, and later queried for relevant information.
The workflow features a LangChain-based Retrieval-Augmented Generation (RAG) agent that processes the AI-processed data using a system prompt designed for blood test alerts. The RAG agent interacts with an AI language model (from Anthropic) to analyze the data and determine the status of blood tests.
Based on the AI’s assessment, the workflow logs the status to a Google Sheet for record-keeping. If any error occurs during processing, a Slack notification is sent to alert responsible personnel. The entire system ensures real-time, automated analysis and alerting of blood test results, which is especially useful in healthcare settings to promptly identify critical or abnormal results and notify healthcare providers or patients.
Reviews
There are no reviews yet.