Automation library · Alerts and monitoring

Automate Reddit replies with F5Bot and OpenAI

Started by an arriving email, and works across Gmail, Google Sheets and Reddit. It hands the judgement calls to OpenAI. 23 steps, 1 loop or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

23 stepsLarge: read it before trusting it with anything live
0Branches: places the flow splits
1Loop or waits
3Services it connects to

The flow

Starts it 2Model 3Logic 9Service 9

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

  1. 1Gmail TriggerGmail triggerStarts it
  2. 2OpenAI Chat ModelLm Chat Open AiModel
  3. 3Structured Output ParserOutput Parser StructuredModel
  4. 4When fetching a dataset rowEvaluation triggerStarts it
  5. 5Get Google SheetGoogle Sheets ToolService
  6. 6Delay 5mWaitLogic
  7. 7AI AgentAgentModel
  8. 8Edit FieldsSetLogic
  9. 9Create a comment in a postRedditService
  10. 10Filter Subreddit URLsCodeLogic
  11. 11Evaluate text formatEvaluationService
  12. 12Evaluate link in textEvaluationService
  13. 13Evaluation ghseet toolEvaluationService
  14. 14Code in JavaScript1CodeLogic
  15. 15Merge EvaluationsMergeLogic
  16. 16Subreddit aboutRedditService
  17. 17Get a postRedditService
  18. 18Set Evaluation OutputEvaluationService
  19. 19Subreddit rulesRedditService
  20. 20Filter Own PostsFilterLogic
  21. 21Edit Fields1SetLogic
  22. 22Input for AISetLogic
  23. 23MergeMergeLogic

How it's built

Starts on
An arriving email
Steps
23, 1 loop or waits
Size
Large: read it before trusting it with anything live
Connects to
Gmail, Google Sheets, Reddit
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Sheets and Reddit accounts, and a key for OpenAI. 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 OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

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