Library / Content Writing & Generation
Content Writing & Generation
Summarize and Classify Reddit Posts with OpenAI
When you run it, the workflow pulls posts from Reddit, filters them, and uses OpenAI to summarize and classify each one into a digest.
What it does
## What we learned - 🪶 Writing prompts: small changes in the type of prompt result in very different results. e.g. for Summarising OpenAI would use multiple sentences even if we asked it to use only 1. We got better results by following OpenAI's documentation. - We could make OpenAI node easier to work with for new users by the node inputs being oriented not to sending parameters to api but by following their suggestions - e.g. have a field for expected output format rather than just for prompt. - ↕️ Changing the max_tokens parameter drastically changes results - sometimes making it smaller even improves results (e.g. when you want a yes/no response in the OpenAI Classify node). In their docs they recommend using max_tokens>256 but n8n by default uses max_tokens=16. We should probably update this.
The steps
- When clicking "Execute Workflow"
- Set
- IF
- IF1
- Merge
- Merge1
- SetFinal
- OpenAI Summary
- OpenAI Classify
- OpenAI Summary Backup
Similar automations
Content Writing & GenerationClassify and Summarize WeChat Articles into Sheets and Notion21 stepsContent Writing & GenerationFind LinkedIn Post Ideas from Reddit Posts with OpenAI17 stepsContent Writing & GenerationFind Business Opportunities in Reddit Posts with OpenAI24 stepsContent Writing & GenerationSummarize and Classify Reddit Posts with OpenAI15 steps