Automation library · Content

LinkedIn content machine: Email-approved posts with Gemini

Started by an arriving email, and works across Gmail, Google Sheets and LinkedIn. It hands the judgement calls to Gemini. 21 steps, 1 branch: large, and worth reading before you trust it with anything live.

LargeCalls a model: Gemini

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

The flow

Starts it 2Model 4Logic 7Service 8

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

  1. 1When clicking ‘Execute workflow’Manual triggerStarts it
  2. 2Google Gemini Chat ModelLm Chat Google GeminiModel
  3. 3Gmail TriggerGmail triggerStarts it
  4. 4Google Gemini Chat Model1Lm Chat Google GeminiModel
  5. 5Edit FieldsSetLogic
  6. 6AI AgentAgentModel
  7. 7Code1CodeLogic
  8. 8AI Agent1AgentModel
  9. 9CodeCodeLogic
  10. 10Get row(s) in sheetGoogle SheetsService
  11. 11Code3CodeLogic
  12. 12Append row in sheetGoogle SheetsService
  13. 13SwitchSwitchLogic
  14. 14Update row in sheetGoogle SheetsService
  15. 15Send a messageGmailService
  16. 16Code2CodeLogic
  17. 17Code4CodeLogic
  18. 18Send a message1GmailService
  19. 19Create a postLinked InService
  20. 20Update row in sheet1Google SheetsService
  21. 21Send a message2GmailService

How it's built

Starts on
An arriving email
Steps
21, with 1 branch
Size
Large: read it before trusting it with anything live
Connects to
Gmail, Google Sheets, LinkedIn
Model
Gemini

Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Sheets and LinkedIn accounts, and a key for Gemini. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an arriving email.

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 21 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 21 steps before you point it at anything that matters.