Automated Disaster Alert System with SMS Notifications
detail.loadingPreview
This workflow automates the processing of disaster API data to send timely SMS alerts. It leverages Langchain and Supabase for intelligent information retrieval and storage, ensuring critical information reaches the right people when it matters most.
About This Workflow
The 'Disaster API SMS' workflow is designed to create a robust and automated system for disseminating critical disaster-related information via SMS. Upon receiving data through a webhook trigger, the workflow meticulously processes this information. It first splits the incoming text data into manageable chunks and then generates embeddings using Cohere's advanced AI models. These embeddings are stored and indexed in Supabase for efficient retrieval. When a query is made, the workflow utilizes a Langchain RAG (Retrieval Augmented Generation) agent, powered by Anthropic's chat models and memory capabilities, to intelligently search the Supabase vector store. The processed outcome is then logged to a Google Sheet, and importantly, any errors are immediately flagged via Slack alerts, ensuring operational awareness and rapid response.
Key Features
- Real-time Data Ingestion: Triggered by a webhook, this workflow can process incoming disaster data as it becomes available.
- Intelligent Information Processing: Utilizes Langchain's RAG capabilities with advanced AI models (Cohere embeddings, Anthropic chat) for sophisticated data analysis and contextual understanding.
- Vectorized Data Storage: Leverages Supabase as a vector store for efficient and scalable storage and retrieval of disaster-related information.
- Automated Logging & Alerting: Seamlessly logs processed information to a Google Sheet and provides immediate error notifications via Slack for enhanced operational oversight.
How To Use
- Configure Webhook Trigger: Set up your disaster data source to send POST requests to the 'disaster-api-sms' webhook endpoint.
- Set Up AI Credentials: Ensure your Cohere API and Anthropic API credentials are configured within n8n.
- Configure Supabase: Connect your Supabase account and specify the
disaster_api_smsindex name for vector storage and retrieval. - Google Sheets Integration: Authorize your Google Sheets account and ensure a spreadsheet with a 'Log' sheet and a unique
SHEET_IDexists for logging processed information. - Slack Integration: Connect your Slack account to receive alerts in the '#alerts' channel.
- Adjust Text Splitter Settings: Fine-tune
chunkSizeandchunkOverlapin the 'Text Splitter' node based on the expected volume and structure of your disaster data. - Review RAG Agent Prompt: Customize the prompt in the 'RAG Agent' node to refine how the AI processes and interprets the disaster data.
Apps Used
Workflow JSON
{
"id": "dc5b914a-a699-49b6-9380-1d1a746c608b",
"name": "Automated Disaster Alert System with SMS Notifications",
"nodes": 14,
"category": "Operations",
"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: dc5b914a-a699...
About the Author
Crypto_Watcher
Web3 Developer
Automated trading bots and blockchain monitoring workflows.
Statistics
Related Workflows
Discover more workflows you might like
Dynamic Bible Scripture Retrieval Workflow
This n8n workflow provides a robust solution for dynamically querying and retrieving Bible scriptures from the getBible.net API. It takes structured JSON input for references, translation, and version, returning the corresponding passages in a standardized API response format.
Universal CSV to JSON API Converter
Effortlessly transform CSV data into structured JSON with this versatile n8n workflow. Integrate it into any application as a custom API endpoint, supporting various input methods including file uploads and raw text.
Google Sheets to Icypeas: Automated Bulk Domain Scanning
This workflow streamlines the process of performing bulk domain scans by integrating your Google Sheets data directly with the Icypeas platform. Automate the submission of company names from your spreadsheet to Icypeas for comprehensive domain information, saving valuable time and effort.