Automation library · Scheduling

AI daily brief with OpenAI and Gmail

Started by a clock, and works across Gmail, Google Calendar and Telegram. It hands the judgement calls to OpenAI. 38 steps, 2 branches: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

38 stepsLarge: read it before trusting it with anything live
2Branches: places the flow splits
0Loops or waits
3Services it connects to

The flow

Starts it 1Model 6Logic 20Service 11

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

  1. 1OpenAI Chat ModelLm Chat Open AiModel
  2. 25AM TriggerSchedule triggerStarts it
  3. 3Structured Output Parser1Output Parser StructuredModel
  4. 4OpenAI Chat Model1Lm Chat Open AiModel
  5. 5Structured Output ParserOutput Parser StructuredModel
  6. 6AI AgentAgentModel
  7. 7Telegram6TelegramService
  8. 8AI Agent1AgentModel
  9. 9Split OutSplit OutLogic
  10. 10Google CalendarGoogle CalendarService
  11. 11you@example.comGmailService
  12. 12GmailGmailService
  13. 13Edit FieldsSetLogic
  14. 14Set Cal FieldsSetLogic
  15. 15FilterFilterLogic
  16. 16Edit Fields5SetLogic
  17. 17SwitchSwitchLogic
  18. 18Aggregate3AggregateLogic
  19. 19Mark As Read1GmailService
  20. 20Aggregate1AggregateLogic
  21. 21Edit Fields4SetLogic
  22. 22Edit Fields3SetLogic
  23. 23IfIfLogic
  24. 24Set Fields1SetLogic
  25. 25Code1CodeLogic
  26. 26AggregateAggregateLogic
  27. 27Telegram4TelegramService
  28. 28Code3CodeLogic
  29. 29Edit Fields2SetLogic
  30. 30CodeCodeLogic
  31. 31Edit Fields7SetLogic
  32. 32Telegram2TelegramService
  33. 33Edit Fields1SetLogic
  34. 34Telegram3TelegramService
  35. 35Telegram1TelegramService
  36. 36Telegram5TelegramService
  37. 37Code2CodeLogic
  38. 38TelegramTelegramService

How it's built

Starts on
A clock
Steps
38, with 2 branches
Size
Large: read it before trusting it with anything live
Connects to
Gmail, Google Calendar, Telegram
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Gmail, 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 a clock.

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?

Take your time. At 38 steps it is large: read it before trusting it with anything live.

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 38 steps before you point it at anything that matters.