Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / AI Agents & Assistants

AI Agents & Assistants

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

When something happens in a connected app, it runs an AI agent with OpenAI / ChatGPT using Google Calendar, Google Sheets, Telegram.

What it does

# Telegram voice notes into tasks and calendar events Send your bot a voice note on the way home and by the time you are back, the tasks are in your sheet and the meetings are in your calendar. Speak naturally, mention tomorrow or next Tuesday, and the dates are worked out for you. Typed messages work the same way. ### How it works 1. The bot receives any message and checks the sender against your allow list. Anyone else gets a polite refusal. 2. A voice note is downloaded and transcribed with Whisper. A typed message skips that step. 3. An agent that knows today's date and timezone splits the note into tasks and events, turning relative dates into real ones. Anything with a fixed time is an event. 4. Each task is appended to your sheet as its own row with due date, priority and whether it came from voice or text. 5. Each event is added to your calendar, with a default length applied when you did not say how long it runs. 6. Only once everything is written does the bot reply listing what was saved, so no reply means something went wrong. ### Setup 1. Message @BotFather on Telegram, send /newbot, and add the token to all three Telegram nodes. 2. Message @userinfobot to get your numeric Telegram ID. 3. Add your OpenAI API key and connect your Google Sheets and Google Calendar accounts. 4. Open Set config and fill in your Telegram ID, sheet ID, calendar ID and timezone. 5. Create a tab called Captured Tasks with headers Task, Due Date, Priority, Source, Captured At and Status. ### Customization Swap the sheet for Notion or Todoist, or change the default event length in Set config.

The steps

  1. Receive the message
  2. Set config
  3. Allowed sender?
  4. Reply not allowed
  5. Voice message?
  6. Download the voice note
  7. Transcribe the voice note
  8. Use the transcript
  9. Use the typed text
  10. Pull out tasks and events
  11. Chat model
  12. Output Parser - Capture
  13. Build the capture
  14. Any tasks?

22 steps in total.

Similar automations