Automation library · Content

Automate blog-to-social media with OpenAI and Reddit

Started by another system calling it, and works across LinkedIn, Postgres, RSS, Reddit and one other. It hands the judgement calls to OpenAI. 24 steps, 1 branch, 3 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

24 stepsLarge: read it before trusting it with anything live
1Branch: places the flow splits
3Loops or waits
5Services it connects to

The flow

Starts it 4Model 3Logic 8Service 9

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

  1. 1When clicking ‘Execute workflow’Manual triggerStarts it
  2. 2Schedule TriggerSchedule triggerStarts it
  3. 3Pass URLWebhookStarts it
  4. 4Edit FieldsSetLogic
  5. 5RSS ReadRss Feed ReadService
  6. 6Set LinkSetLogic
  7. 7Post Social ManualHttp RequestService
  8. 8Execute a SQL queryPostgresService
  9. 9HTTP RequestHttp RequestService
  10. 10IfIfLogic
  11. 11HTMLHtmlLogic
  12. 12Loop Over ItemsSplit In BatchesLogic
  13. 13Message a modelOpen AiModel
  14. 14Call Post SocialHttp RequestService
  15. 15WaitWaitLogic
  16. 16Wait 5sWaitLogic
  17. 17Post RedditRedditService
  18. 18Generate Image for XOpen AiModel
  19. 19Generate an image for LinkedInOpen AiModel
  20. 20Merge Results For ResponseMergeLogic
  21. 21Twitter Post MediaHttp RequestService
  22. 22Create a postLinked InService
  23. 23Respond to WebhookRespond To WebhookStarts it
  24. 24Create TweetTwitterService

How it's built

Starts on
Another system calling it
Steps
24, with 1 branch, 3 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
LinkedIn, Postgres, RSS, Reddit, X
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own LinkedIn, Postgres, RSS, Reddit and X 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?

Take your time. At 24 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 24 steps before you point it at anything that matters.