Automation library · Scheduling

Voice to calendar booking with OpenAI and Google Calendar

Started by an incoming Telegram message, and works across Google Calendar and Telegram. It hands the judgement calls to OpenAI. 15 steps, 3 branches: a working afternoon to understand properly.

MediumCalls a model: OpenAI

15 stepsMedium: a working afternoon
3Branches: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 1Model 2Logic 7Service 5

The steps in the order they run, from what starts it.

  1. 1Telegram TriggerTelegram triggerStarts it
  2. 2Check for CommandsIfLogic
  3. 3Send HelpTelegramService
  4. 4Voice or Text?IfLogic
  5. 5Download VoiceTelegramService
  6. 6Format Text DataSetLogic
  7. 7Voice to TextOpen AiModel
  8. 8Merge Voice & TextMergeLogic
  9. 9Format Voice DataSetLogic
  10. 10Extract Meeting DetailsOpen AiModel
  11. 11Parse Meeting DataCodeLogic
  12. 12Success?IfLogic
  13. 13Create an eventGoogle CalendarService
  14. 14Send Error MessageTelegramService
  15. 15Send Success MessageTelegramService

How it's built

Starts on
An incoming Telegram message
Steps
15, with 3 branches
Size
Medium: a working afternoon
Connects to
Google Calendar, Telegram
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Google Calendar and Telegram accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an incoming Telegram message.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 15 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 15 steps before you point it at anything that matters.