Automate Disaster API SMS Notifications with RAG and Supabase
detail.loadingPreview
This n8n workflow automates sending SMS alerts for disaster events using a Webhook trigger, Langchain RAG, Supabase for vector storage, and Cohere embeddings. It logs the processed SMS status to Google Sheets and alerts Slack on errors.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This n8n workflow is designed to automate the process of receiving and handling disaster-related data via an API, ultimately sending out SMS notifications. It leverages the power of Langchain for Retrieval Augmented Generation (RAG) to process incoming data, enhance it with context, and generate appropriate responses. The workflow starts with a Webhook Trigger to receive external data. This data is then processed using Text Splitter, Embeddings (Cohere), and stored/retrieved from a vector database using Supabase nodes. The RAG Agent orchestrates the generation of the SMS content, informed by the retrieved context and a Chat Model. Finally, the processed status is logged to a Google Sheet using Append Sheet, and critical errors are sent as alerts to Slack via the Slack Alert node.
Key Features
- Trigger SMS notifications via a Webhook.
- Utilize Langchain's RAG capabilities for intelligent data processing.
- Store and retrieve contextual data using Supabase vector store.
- Employ Cohere embeddings for semantic understanding.
- Log processed SMS status to Google Sheets.
- Configure error alerts via Slack.
How To Use
- Set up the
Webhook Triggerwith the pathdisaster-api-sms. - Configure your
CohereandSupabaseAPI credentials. - Ensure your Supabase instance has a table suitable for storing vector embeddings.
- Set up your Google Sheets credentials and specify the
SHEET_IDandLogsheet name for logging. - Configure the
Slack Alertnode with your Slack API credentials and channel. - Test the workflow by sending data to the webhook URL.
Apps Used
Workflow JSON
{
"id": "b88c2e35-459a-4556-b6e1-67d2d376ce67",
"name": "Automate Disaster API SMS Notifications with RAG and Supabase",
"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: b88c2e35-459a...
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
Visa Requirement Checker
A workflow to check visa requirements based on user input, leveraging Langchain, Cohere embeddings, Weaviate vector store, and Anthropic LLM.
NeurochainAI Basic API Integration for Telegram
Integrates NeurochainAI's text and image generation APIs with a Telegram bot.
OpenAI Text-to-Speech Workflow
Generate audio from text using OpenAI's TTS API.