Automation library · Content

Refined post generator with Gmail

Started by someone submitting a form, and works across Gmail and Google Sheets. It hands the judgement calls to OpenAI and OpenRouter. 22 steps, 1 branch: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI, OpenRouter

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

The flow

Starts it 1Model 6Logic 8Service 7

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

  1. 1On form submissionForm triggerStarts it
  2. 2OpenRouter Chat ModelLm Chat Open RouterModel
  3. 3OpenRouter Chat Model1Lm Chat Open RouterModel
  4. 4HTTP Request1Http Request ToolService
  5. 5Start MetaSetLogic
  6. 6AI AgentAgentModel
  7. 7AI Agent1AgentModel
  8. 8AI Judge (Helpfulness)AgentModel
  9. 9Classify text for violationsOpen AiModel
  10. 10Generate ImageHttp RequestService
  11. 11Edit FieldsSetLogic
  12. 12Metrics BundleSetLogic
  13. 13SwitchSwitchLogic
  14. 14Convert to FileConvert To FileService
  15. 15MarkdownMarkdownLogic
  16. 16Derive MetricsSetLogic
  17. 17Send a message1GmailService
  18. 18MergeMergeLogic
  19. 19EvaluationEvaluationService
  20. 20Email HTMLCodeLogic
  21. 21Append row in sheetGoogle SheetsService
  22. 22Send a messageGmailService

How it's built

Starts on
Someone submitting a form
Steps
22, with 1 branch
Size
Large: read it before trusting it with anything live
Connects to
Gmail, Google Sheets
Model
OpenAI, OpenRouter

Questions

What does it need to run?

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

What starts it?

It starts on someone submitting a form.

Does it use AI?

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

How long does it take to set up?

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