# Repurpose YouTube videos across social media with Gemini: n8n workflow

> Started by another system calling it, and works across Discord and RSS. It hands the judgement calls to Gemini.

Source: https://millionrounds.com/workflow/repurpose-youtube-videos-across-social-media-with-gemini (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)

# Repurpose YouTube videos across social media with Gemini

Started by another system calling it, and works across Discord and RSS. It hands the judgement calls to Gemini. 30 steps, 2 branches: large, and worth reading before you trust it with anything live.

Large Calls a model: Gemini

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Frepurpose-youtube-videos-across-social-media-with-gemini)

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

**2** Branches: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 6 Model 1 Logic 11 Service 12

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

- 1 **When clicking ‘Execute workflow’** Manual trigger *Starts it*
- 2 **🎣 YouTube Webhook Listener** Webhook *Starts it*
- 3 **Trigger every 5 days** Schedule trigger *Starts it*
- 4 **Run every 10 minutes** Schedule trigger *Starts it*
- 5 **Error Trigger** Error trigger *Starts it*
- 6 **📡 Subscribe to YouTube Notifications** Http Request *Service*
- 7 **🔐 Validate Security Token** Code *Logic*
- 8 **Log Response** Code *Logic*
- 9 **Fetch Youtube Channel Videos** Rss Feed Read *Service*
- 10 **Error Message** Discord *Service*
- 11 **✅ Send Verification Response** Respond To Webhook *Starts it*
- 12 **Organize Items** Code *Logic*
- 13 **If new video** If *Logic*
- 14 **Generate Description** Google Gemini *Model*
- 15 **Stop** No Op *Logic*
- 16 **Organaize Output** Code *Logic*
- 17 **Content drips Create Image** Contentdrips *Service*
- 18 **SocialBu Access Token** Http Request *Service*
- 19 **Get Accounts** Http Request *Service*
- 20 **Get Upload URL** Http Request *Service*
- 21 **Merge** Merge *Logic*
- 22 **Download Image** Http Request *Service*
- 23 **Check if Image Uploaded** Code *Logic*
- 24 **Organize Object** Code *Logic*
- 25 **Upload PDF** Http Request *Service*
- 26 **Image Uploaded** If *Logic*
- 27 **Post to SocialBu Connected Accounts** Http Request *Service*
- 28 **Stop and Error** Stop And Error *Logic*
- 29 **Destroy Access Token** Http Request *Service*
- 30 **Success Message** Discord *Service*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 30, with 2 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Discord, RSS
- **Model:** Gemini

## Questions

What does it need to run?

An n8n account, plus your own Discord and RSS accounts, and a key for Gemini. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

Yes. It calls Gemini. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 30 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 30 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%2Frepurpose-youtube-videos-across-social-media-with-gemini)
- **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.

[Discord](https://millionrounds.com/workflows?service=Discord#library)[RSS](https://millionrounds.com/workflows?service=RSS#library)

## Workflows like it

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

- [**AI-powered blog post promoter for Instagram, Facebook & X** 30 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/ai-powered-blog-post-promoter-for-instagram-facebook-and-x)
- [**Draft and track incident postmortems with OpenAI** 30 steps · calls a model · Discord, Gmail](https://millionrounds.com/workflow/draft-and-track-incident-postmortems-with-openai-2)
- [**Multi-functional Discord bot: Llama AI, image generation** 30 steps · calls a model · Discord](https://millionrounds.com/workflow/multi-functional-discord-bot-llama-ai-image-generation)
- [**Pick a Topic & Auto-Publish Translated Content** 30 steps · calls a model · Discord, Google Drive](https://millionrounds.com/workflow/pick-a-topic-and-auto-publish-translated-content)
- [**Send AI-generated WordPress newsletters with OpenAI and SMTP** 30 steps · calls a model · Email, RSS](https://millionrounds.com/workflow/send-ai-generated-wordpress-newsletters-with-openai-and-smtp)
- [**Clip YouTube videos into shorts with OpenShorts and Telegram** 30 steps · RSS, Telegram](https://millionrounds.com/workflow/clip-youtube-videos-into-shorts-with-openshorts-and-telegram)
