# Use OpenAI to transcribe audio + summarize with Gmail: n8n workflow

> Started by an event in a connected app, and works across Gmail, Google Drive and Telegram. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/use-openai-to-transcribe-audio-summarize-with-gmail (Millionrounds; every figure on the page links to its filing or article)

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

# Use OpenAI to transcribe audio + summarize with Gmail

Started by an event in a connected app, and works across Gmail, Google Drive and Telegram. It hands the judgement calls to OpenAI. 25 steps: 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%2Fuse-openai-to-transcribe-audio-summarize-with-gmail)

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

**0** Branches: places the flow splits

**0** Loops or waits

**3** Services it connects to

## The flow

Starts it 2 Model 5 Logic 8 Service 10

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

- 1 **Start Workflow** Manual trigger *Starts it*
- 2 **On File Created Trigger** Google Drive trigger *Starts it*
- 3 **Search Google Drive** Google Drive *Service*
- 4 **Gmail User for Approval** Gmail *Service*
- 5 **Filter by.m4a extension** Filter *Logic*
- 6 **Limit to last file** Limit *Logic*
- 7 **Download audio file** Google Drive *Service*
- 8 **Transcribe with OpenAI** Open Ai *Model*
- 9 **Set Config** Set *Logic*
- 10 **Summarize to JSON** Open Ai *Model*
- 11 **Summarize to Structured JSON** Open Ai *Model*
- 12 **Save Raw Transcript to Google Drive** Google Drive *Service*
- 13 **Convert JSON to Markdown** Open Ai *Model*
- 14 **Get Filename for JSON** Set *Logic*
- 15 **Merge All Paths** Merge *Logic*
- 16 **Get Filename for Markdown** Set *Logic*
- 17 **Save JSON file to Google Drive** Google Drive *Service*
- 18 **Send Telegram Message** Telegram *Service*
- 19 **Email Content Formatter** Open Ai *Model*
- 20 **Save Markdown file to Google Drive** Google Drive *Service*
- 21 **Get JSON File Meta** Google Drive *Service*
- 22 **Send Gmail Message** Gmail *Service*
- 23 **Get Markdown File Meta** Google Drive *Service*
- 24 **Prepare Response JSON** Set *Logic*
- 25 **Prepare Response Markdown** Set *Logic*

## How it's built

- **Starts on:** An event in a connected app
- **Steps:** 25
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Gmail, Google Drive, Telegram
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Drive 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 event in a connected app.

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 25 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 25 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%2Fuse-openai-to-transcribe-audio-summarize-with-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 Drive](https://millionrounds.com/workflows?service=Google+Drive#library)[Telegram](https://millionrounds.com/workflows?service=Telegram#library)

## Workflows like it

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

- [**Automate RSS-to-social media with Claude and Gemini** 25 steps · calls a model · Google Sheets, RSS](https://millionrounds.com/workflow/automate-rss-to-social-media-with-claude-and-gemini)
- [**Automated WordPress Blogger with Claude and OpenAI** 25 steps · calls a model · Google Sheets, RSS](https://millionrounds.com/workflow/automated-wordpress-blogger-with-claude-and-openai)
- [**Create & publish affiliate product videos with Sora-2** 25 steps · calls a model · Google Sheets, Telegram](https://millionrounds.com/workflow/create-and-publish-affiliate-product-videos-with-sora-2)
- [**Daily Dermatology Watch: Automating Article Summaries** 25 steps · calls a model · MongoDB, RSS](https://millionrounds.com/workflow/daily-dermatology-watch-automating-article-summaries)
- [**Generate AI B-roll clips from videos with OpenAI** 25 steps · calls a model · Google Cloud Storage, Telegram](https://millionrounds.com/workflow/generate-ai-b-roll-clips-from-videos-with-openai)
- [**Generate AI News LinkedIn Posts with OpenAI and NewsAPI** 25 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/generate-ai-news-linkedin-posts-with-openai-and-newsapi)
