Automation library · Content

Convert GitHub code commits to LinkedIn posts with Gemini

Started by an event in a connected app, and works across GitHub and LinkedIn. It hands the judgement calls to OpenRouter. 15 steps: a working afternoon to understand properly.

MediumCalls a model: OpenRouter

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

The flow

Starts it 1Model 3Logic 4Service 7

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

  1. 1Github Trigger1Github triggerStarts it
  2. 2Structured Output ParserOutput Parser StructuredModel
  3. 3OpenRouter Chat ModelLm Chat Open RouterModel
  4. 4Extract Modified FilesCodeLogic
  5. 5LinkedIn Content CreatorAgentModel
  6. 6GitHub File DownloadGithubService
  7. 7Edit FieldsSetLogic
  8. 8Extract from FileExtract From FileService
  9. 9Extract from File1Extract From FileService
  10. 10Create Code HTMLCodeLogic
  11. 11Upload to Image RepoGithubService
  12. 12Generate Code ImageHttp RequestService
  13. 13MergeMergeLogic
  14. 14GET the genarted ImageHttp RequestService
  15. 15Post to LinkedInLinked InService

How it's built

Starts on
An event in a connected app
Steps
15
Size
Medium: a working afternoon
Connects to
GitHub, LinkedIn
Model
OpenRouter

Questions

What does it need to run?

An n8n account, plus your own GitHub and LinkedIn accounts, and a key for OpenRouter. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an event in a connected app.

Does it use AI?

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

How long does it take to set up?

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