# AI daily brief with OpenAI and Gmail: n8n workflow template

> Started by a clock, and works across Gmail, Google Calendar and Telegram. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/ai-daily-brief-with-openai-and-gmail (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Scheduling](https://millionrounds.com/workflows?category=Scheduling#library)

# 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.

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fai-daily-brief-with-openai-and-gmail)

**38 steps** Large: read it before trusting it with anything live

**2** Branches: places the flow splits

**0** Loops or waits

**3** Services it connects to

## The flow

Starts it 1 Model 6 Logic 20 Service 11

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

- 1 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 2 **5AM Trigger** Schedule trigger *Starts it*
- 3 **Structured Output Parser1** Output Parser Structured *Model*
- 4 **OpenAI Chat Model1** Lm Chat Open Ai *Model*
- 5 **Structured Output Parser** Output Parser Structured *Model*
- 6 **AI Agent** Agent *Model*
- 7 **Telegram6** Telegram *Service*
- 8 **AI Agent1** Agent *Model*
- 9 **Split Out** Split Out *Logic*
- 10 **Google Calendar** Google Calendar *Service*
- 11 **you@example.com** Gmail *Service*
- 12 **Gmail** Gmail *Service*
- 13 **Edit Fields** Set *Logic*
- 14 **Set Cal Fields** Set *Logic*
- 15 **Filter** Filter *Logic*
- 16 **Edit Fields5** Set *Logic*
- 17 **Switch** Switch *Logic*
- 18 **Aggregate3** Aggregate *Logic*
- 19 **Mark As Read1** Gmail *Service*
- 20 **Aggregate1** Aggregate *Logic*
- 21 **Edit Fields4** Set *Logic*
- 22 **Edit Fields3** Set *Logic*
- 23 **If** If *Logic*
- 24 **Set Fields1** Set *Logic*
- 25 **Code1** Code *Logic*
- 26 **Aggregate** Aggregate *Logic*
- 27 **Telegram4** Telegram *Service*
- 28 **Code3** Code *Logic*
- 29 **Edit Fields2** Set *Logic*
- 30 **Code** Code *Logic*
- 31 **Edit Fields7** Set *Logic*
- 32 **Telegram2** Telegram *Service*
- 33 **Edit Fields1** Set *Logic*
- 34 **Telegram3** Telegram *Service*
- 35 **Telegram1** Telegram *Service*
- 36 **Telegram5** Telegram *Service*
- 37 **Code2** Code *Logic*
- 38 **Telegram** Telegram *Service*

## 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.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fai-daily-brief-with-openai-and-gmail)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Gmail](https://millionrounds.com/workflows?service=Gmail#library)[Google Calendar](https://millionrounds.com/workflows?service=Google+Calendar#library)[Telegram](https://millionrounds.com/workflows?service=Telegram#library)

## Workflows like it

Also scheduling, with the same services where possible, closest in size first.

- [**AI-Powered WhatsApp Chatbot: Complete Booking Assistant** 37 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/ai-powered-whatsapp-chatbot-complete-booking-assistant)
- [**Automated marketing campaign email system with HubSpot** 39 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/automated-marketing-campaign-email-system-with-hubspot)
- [**Integrate Google Workspace with OpenAI** 39 steps · Gmail, Google Calendar](https://millionrounds.com/workflow/integrate-google-workspace-with-openai)
- [**Manage HR offboarding and archival with Odoo** 39 steps · Gmail, Google Calendar](https://millionrounds.com/workflow/manage-hr-offboarding-and-archival-with-odoo)
- [**Post-surgery patient triage & follow-up system with Gemini** 36 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/post-surgery-patient-triage-and-follow-up-system-with-gemini)
- [**Priya AI Virtual Assisstant Version 2 with Gemini and OpenAI** 40 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/priya-ai-virtual-assisstant-version-2-with-gemini-and-openai)
