Automation library · Content

Analyze Reddit posts with OpenAI and Gmail

Started by an event in a connected app, and works across Gmail, Google Sheets and Reddit. It hands the judgement calls to OpenAI. 18 steps, 2 branches: a working afternoon to understand properly.

MediumCalls a model: OpenAI

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

The flow

Starts it 1Model 7Logic 5Service 5

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

  1. 1When clicking ‘Test workflow’Manual triggerStarts it
  2. 2OpenAI Chat ModelLm Chat Open AiModel
  3. 3OpenAI Chat Model1Lm Chat Open AiModel
  4. 4OpenAI Chat Model2Lm Chat Open AiModel
  5. 5Get PostsRedditService
  6. 6Analysis Content By AIAgentModel
  7. 7Post SummarizationChain SummarizationModel
  8. 8Post Sentiment AnalysisSentiment AnalysisModel
  9. 9Filter Posts By FeaturesIfLogic
  10. 10Merge InputMergeLogic
  11. 11Merge 3 InputsMergeLogic
  12. 12Positive Posts DraftGmailService
  13. 13Neutral Posts DraftGmailService
  14. 14Negative Posts DraftGmailService
  15. 15Select Key FieldsSetLogic
  16. 16Filter Posts By ContentIfLogic
  17. 17Output The ResultsGoogle SheetsService
  18. 18Find Proper SolutionsOpen AiModel

How it's built

Starts on
An event in a connected app
Steps
18, with 2 branches
Size
Medium: a working afternoon
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 event in a connected app.

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?

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