# Autonomous blog publishing from YouTube videos with Sheets: n8n workflow

> Started by a clock, and works across Gmail, Google Sheets and WordPress. It puts OpenAI behind a retrieval step, so answers are drawn from documents you...

Source: https://millionrounds.com/workflow/autonomous-blog-publishing-from-youtube-videos-with-sheets (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)

# Autonomous blog publishing from YouTube videos with Sheets

Started by a clock, and works across Gmail, Google Sheets and WordPress. It puts OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 65 steps, 4 branches, 1 loop or waits: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI Retrieval

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fautonomous-blog-publishing-from-youtube-videos-with-sheets)

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

**4** Branches: places the flow splits

**1** Loop or waits

**3** Services it connects to

## The flow

Starts it 2 Model 14 Logic 23 Service 21

The steps in the order they run, from what starts it. The first 60 of 65.

- 1 **Manual** Manual trigger *Starts it*
- 2 **Schedule Trigger** Schedule trigger *Starts it*
- 3 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 4 **Simple Memory** Memory Buffer Window *Model*
- 5 **Append Sheet keys** Google Sheets Tool *Service*
- 6 **Structured Output Parser** Output Parser Structured *Model*
- 7 **db insert key** Google Sheets Tool *Service*
- 8 **db consultig** Google Sheets Tool *Service*
- 9 **Structured Output Parser1** Output Parser Structured *Model*
- 10 **OpenAI** Lm Chat Open Ai *Model*
- 11 **Describe your idea** Set *Logic*
- 12 **New keyword gen** Agent *Model*
- 13 **Generate keys** Open Ai *Model*
- 14 **Message a model1** Open Ai *Model*
- 15 **AI Agent** Agent *Model*
- 16 **empty file check** Google Sheets *Service*
- 17 **count intent** If *Logic*
- 18 **APIS Configs** Set *Logic*
- 19 **Get False Key1** Google Sheets *Service*
- 20 **Merge URLs** Code *Logic*
- 21 **Message a model** Open Ai *Model*
- 22 **check empty file** Code *Logic*
- 23 **Get False Key** Google Sheets *Service*
- 24 **Agent 3** Http Request *Service*
- 25 **Email send** Set *Logic*
- 26 **select key** Code *Logic*
- 27 **GET Video Used** Google Sheets *Service*
- 28 **If empty file** If *Logic*
- 29 **select key alt** Code *Logic*
- 30 **limit random** Code *Logic*
- 31 **Error why1** Stop And Error *Logic*
- 32 **Keywords** Set *Logic*
- 33 **Update row in sheet** Google Sheets *Service*
- 34 **Check duplicate** Code *Logic*
- 35 **Update row in sheet1** Google Sheets *Service*
- 36 **BLOG OPTIONS** Set *Logic*
- 37 **Agent 1** Http Request *Service*
- 38 **if duplicate** If *Logic*
- 39 **Today date** Code *Logic*
- 40 **custom filter** Code *Logic*
- 41 **Add video in db** Google Sheets *Service*
- 42 **Count False Key** Google Sheets *Service*
- 43 **custom split** Code *Logic*
- 44 **Summarize** Summarize *Service*
- 45 **Loop Over Items** Split In Batches *Logic*
- 46 **If** If *Logic*
- 47 **Rename Keys** Rename Keys *Service*
- 48 **Agent** Http Request *Service*
- 49 **Merge Video** Code *Logic*
- 50 **AI Translate** Open Ai *Model*
- 51 **AI Generator Post** Open Ai *Model*
- 52 **Markdown to html** Markdown *Logic*
- 53 **Create a post** Wordpress *Service*
- 54 **Pexels search image** Http Request *Service*
- 55 **Merge urls** Code *Logic*
- 56 **Select image** Open Ai *Model*
- 57 **Download Pexels Image1** Http Request *Service*
- 58 **Upload Image wp** Http Request *Service*
- 59 **Set Featured Image wp** Http Request *Service*
- 60 **meta descr and title gen** Open Ai *Model*

## How it's built

- **Starts on:** A clock
- **Steps:** 65, with 4 branches, 1 loop or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Gmail, Google Sheets, WordPress
- **Model:** OpenAI
- **Retrieval:** Answers are drawn from documents you supply, not from the model alone

## Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Sheets and WordPress 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. Its answers draw on documents you give it, not on the model alone. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 65 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 65 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%2Fautonomous-blog-publishing-from-youtube-videos-with-sheets)
- **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 Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)[WordPress](https://millionrounds.com/workflows?service=WordPress#library)

## Workflows like it

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

- [**Automated music video creation & YouTube publishing** 65 steps · calls a model · Discord, Google Drive](https://millionrounds.com/workflow/automated-music-video-creation-and-youtube-publishing)
- [**Content generator for WordPress v3 with Claude and OpenAI** 65 steps · calls a model · Airtable, Slack](https://millionrounds.com/workflow/content-generator-for-wordpress-v3-with-claude-and-openai)
- [**WordPress auto-blogging pro with OpenAI and Google Docs** 62 steps · calls a model · Google Docs, Google Drive](https://millionrounds.com/workflow/wordpress-auto-blogging-pro-with-openai-and-google-docs)
- [**Generate videos with Creatomate** 71 steps · calls a model · Airtable, Gmail](https://millionrounds.com/workflow/generate-videos-with-creatomate)
- [**Automate viral content creation with OpenAI** 73 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/automate-viral-content-creation-with-openai)
- [**Generate AI songs + music videos with Gemini and OpenAI** 57 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/generate-ai-songs-music-videos-with-gemini-and-openai)
