Automation library · Content

Repurpose YouTube videos into social posts and thumbnails

Started by another system calling it, and works across Apify, Google Drive, Notion and YouTube. It hands the judgement calls to OpenAI. 16 steps: a working afternoon to understand properly.

MediumCalls a model: OpenAI

16 stepsMedium: a working afternoon
0Branches: places the flow splits
0Loops or waits
4Services it connects to

The flow

Starts it 1Model 3Logic 7Service 5

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

  1. 1Receive YouTube URLWebhookStarts it
  2. 2Extract Video IDCodeLogic
  3. 3Fetch YouTube Video DetailsYou TubeService
  4. 4Fetch Video TranscriptApifyService
  5. 5Clean Transcript TextCodeLogic
  6. 6Generate Social Media ContentOpen AiModel
  7. 7Extract AI ResponseCodeLogic
  8. 8Create Thumbnail PromptOpen AiModel
  9. 9Convert AI Response to JSONCodeLogic
  10. 10Extract Thumbnail PromptCodeLogic
  11. 11Prepare Final Content DataCodeLogic
  12. 12Generate AI ThumbnailOpen AiModel
  13. 13Save Content to NotionNotionService
  14. 14Upload ThumbnailGoogle DriveService
  15. 15Make Thumbnail PublicGoogle DriveService
  16. 16Prepare Thumbnail URLSetLogic

How it's built

Starts on
Another system calling it
Steps
16
Size
Medium: a working afternoon
Connects to
Apify, Google Drive, Notion, YouTube
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Apify, Google Drive, Notion and YouTube accounts, and a key for OpenAI. 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 OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 16 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 16 steps before you point it at anything that matters.