Workflow overview
Why this workflow matters
Potentially useful as a reusable automation building block.
##π Description This workflow acts as a real-time emergency alert system designed for personal safety scenarios. It receives distress signals via webhook, enriches the data with a live Google Maps link and timestamp, generates a clear AI-formatted alert message, instantly notifies a Telegram group, and logs the incident in Google Sheets for tracking and audit. βοΈ Step-by-Step Flow 1) Emergency Webhook (Trigger) 2) Receives a POST request containing: Name Phone number Latitude & Longitude Acts as the entry point for emergency alerts. 3) Generate Maps Link (Function Node) Converts latitude & longitude into a Google Maps URL Ensures responders can access live location instantly 4) Create Emergency Message (Function Node) Adds timestamp (IST) Structures raw alert data Prepares base emergency message context 5) AI Agent (OpenAI GPT-4o-mini) Formats the alert into a clean, urgent, human-readable message Ensures clarity, visibility, and consistency Adds emojis and structured layout for quick comprehension 6) Telegram Group Alert (Telegram Node) Sends real-time emergency notification to a predefined group Ensures immediate visibility for responders 7) Log to Google Sheets (Google Sheets Node) Stores alert data for records Fields logged: name, phone, maps link, message, timestamp Creates audit trail for safety tracking π§© Prerequisites β’ Telegram Bot credentials + chat ID β’ OpenAI API (GPT-4o-mini) β’ Google Sheets OAuth connection β’ Webhook endpoint exposed publicly π‘ Key Benefits β Instant emergency alert delivery β Live location sharing via Google Maps β AI-enhanced message clarity (no ambiguity) β Real-time group notification for faster response β Persistent logging for audit and follow-up π₯ Perfect For Women safety applications SOS mobile apps or panic button systems Security teams and emergency response workflows Community safety networks and alert systems
Best fit
Categories
Services
Use cases
Need another direction?