# Generate a daily AI briefing: n8n workflow template

> Started by a clock. It calls services over plain HTTP rather than through connectors. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/generate-a-daily-ai-briefing (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)

# Generate a daily AI briefing

Started by a clock. It calls services over plain HTTP rather than through connectors. It hands the judgement calls to OpenAI. 17 steps, 1 branch, 2 loops or waits: a working afternoon to understand properly.

Medium Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-a-daily-ai-briefing)

**17 steps** Medium: a working afternoon

**1** Branch: places the flow splits

**2** Loops or waits

**0** Services by connector: it calls them over plain HTTP

## The flow

Starts it 1 Model 2 Logic 6 Service 8

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

- 1 **Schedule Trigger - 7AM Daily** Schedule trigger *Starts it*
- 2 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 3 **Set User Preferences** Set *Logic*
- 4 **AI - Generate Daily Briefing** Agent *Model*
- 5 **Fetch Todoist Tasks** Http Request *Service*
- 6 **Fetch Calendar Events** Http Request *Service*
- 7 **Fetch Unread Emails** Http Request *Service*
- 8 **Fetch Weather Forecast** Http Request *Service*
- 9 **Fetch Top News** Http Request *Service*
- 10 **JS - Format Briefing Output** Code *Logic*
- 11 **JS - Aggregate All Data** Code *Logic*
- 12 **Wait For Data** Wait *Logic*
- 13 **Route - WhatsApp or Email?** If *Logic*
- 14 **Send via WhatsApp (Twilio)** Http Request *Service*
- 15 **Send via Email (SendGrid)** Http Request *Service*
- 16 **Wait For Sometime** Wait *Logic*
- 17 **Log to Google Sheets** Http Request *Service*

## How it's built

- **Starts on:** A clock
- **Steps:** 17, with 1 branch, 2 loops or waits
- **Size:** Medium: a working afternoon
- **Connects to:** Nothing by connector; it calls services over plain HTTP
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, 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?

Plan an afternoon. 17 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 17 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%2Fgenerate-a-daily-ai-briefing)
- **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.

## Workflows like it

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

- [**Automate HVAC service scheduling with Google Calendar** 17 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/automate-hvac-service-scheduling-with-google-calendar)
- [**Build a personal AI assistant with Telegram and OpenAI** 17 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/build-a-personal-ai-assistant-with-telegram-and-openai)
- [**Create meeting minutes from Telegram messages with OpenAI** 17 steps · calls a model · Airtable, Gmail](https://millionrounds.com/workflow/create-meeting-minutes-from-telegram-messages-with-openai)
- [**Handle Gmail reply-based scheduling with Google Calendar** 17 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/handle-gmail-reply-based-scheduling-with-google-calendar)
- [**Predict disaster damage and coordinate property response** 17 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/predict-disaster-damage-and-coordinate-property-response)
- [**Route meeting action items to Slack with Gmail and OpenAI** 17 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/route-meeting-action-items-to-slack-with-gmail-and-openai)
