# Capture Telegram voice notes as tasks and events with OpenAI and Google

> Quick Overview This workflow listens for Telegram voice notes or text messages, uses OpenAI to transcribe and extract structured tasks and calendar events, appends tasks to Google Sheets, creates events in Google Calendar, and replies in Telegram with a summary of what was saved. How it works 1. Triggers when a new Telegram message is received and blocks unknown senders by checking the sender ID against an allow list. 2. If the message is a voice note, downloads it from Telegram and transcribes it with OpenAI. 3. Sends the transcribed or typed text to an OpenAI chat model that extracts a summary plus structured task and calendar event data using your timezone. 4. Normalizes the extracted data by filling missing task fields and applying a default duration to events that don’t include an end time. 5. Appends each extracted task as a new row in Google Sheets. 6. Creates each extracted event in Google Calendar with the parsed start/end times and optional location. 7. Replies in Telegram wi

- **Domain**: `n8n-workflow-19928.n8n.io`
- **Provider**: n8n.io (https://n8n.io)
- **Kind**: workflow
- **Live-responds (last probe)**: None
- **Signed card**: False
- **Streaming**: False
- **Quality score**: 40%

## URLs
- Agent card: https://n8n.io/workflows/19928
- Page (HTML): https://agenstry.com/agents/n8n-workflow-19928.n8n.io
- Documentation: https://n8n.io/workflows/19928
