Send women’s safety emergency alerts with GPT-4o-mini, Telegram and Google Sheets
Needs changesWhat this workflow does
This AI workflow has 7 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI Chat Model, Telegram and Google Sheets.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Generate Maps Link (Function): runs custom JavaScript (legacy Function node)
- Build Timestamped Message (Function): runs custom JavaScript (legacy Function node)
- AI Agent: runs an AI agent, with model: OpenAI Chat Model
- Send Alert to Telegram Group (Telegram): uses Telegram
- Log Incident to Google Sheets (Google Sheets): append
Services it uses
Other OpenAI + Google Sheets templates (2,011) · Other Telegram + OpenAI templates (807) · Other Telegram + Google Sheets templates (674)
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- Function (legacy) in Generate Maps Link, Build Timestamped Message: replace with Code node, mode 'Run Once for All Items'.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2026 — 6% of 2026 templates need changes for 3.0. See how template age affects 3.0 readiness →
| Removed in 3.0 | Replace with |
|---|---|
| Function (legacy) Generate Maps Link, Build Timestamped Message | Code node, mode 'Run Once for All Items' |
Nodes used (6)
- Webhook
n8n-nodes-base.webhook - Function
n8n-nodes-base.function - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Telegram
n8n-nodes-base.telegram - Google Sheets
n8n-nodes-base.googleSheets
From the author
📘 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…