Automation library · Content

Promote your YouTube video on X with OpenAI and Discord

Started by a clock, and works across Discord, Gmail, Google Sheets, Slack and two others. It hands the judgement calls to OpenAI. 20 steps, 2 branches: a working afternoon to understand properly.

MediumCalls a model: OpenAI

20 stepsMedium: a working afternoon
2Branches: places the flow splits
0Loops or waits
6Services it connects to

The flow

Starts it 2Model 6Logic 5Service 7

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

  1. 1CalculatorTool CalculatorModel
  2. 2WikipediaTool WikipediaModel
  3. 3Check Every 2 HoursSchedule triggerStarts it
  4. 4Calculator2Tool CalculatorModel
  5. 5When clicking "Test workflow"Manual triggerStarts it
  6. 6DiscordDiscordService
  7. 7Wikipedia1Tool WikipediaModel
  8. 8SlackSlackService
  9. 9GmailGmailService
  10. 10Generate X PostOpen AiModel
  11. 11Rewrite X Post to 220 CharactersOpen AiModel
  12. 12Fetch Latest VideosYou TubeService
  13. 13Verify character limit constraintsIfLogic
  14. 14Set FieldsSetLogic
  15. 15Set Final FieldsSetLogic
  16. 16Remove DuplicatesRemove DuplicatesLogic
  17. 17GS - Add TweetGoogle SheetsService
  18. 18If Array is empty?IfLogic
  19. 19Post to XTwitterService
  20. 20GS - Update TweetGoogle SheetsService

How it's built

Starts on
A clock
Steps
20, with 2 branches
Size
Medium: a working afternoon
Connects to
Discord, Gmail, Google Sheets, Slack, X, YouTube
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Discord, Gmail, Google Sheets, Slack, X 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 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. 20 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 20 steps before you point it at anything that matters.