Library / AI Agents & Assistants
AI Agents & Assistants
Summarize Reddit posts with OpenAI on manual run
Manually triggered workflow that sends Reddit content to OpenAI for summarizing, with notes on prompt wording and max_tokens defaults.
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. In their [docs]({{ $env.WEBHOOK_URL }} they recommend using max_tokens>256 but [n8n by default]({{ $env.WEBHOOK_URL }} uses max_tokens=16. We should probably update this.
The steps
- When clicking "Execute Workflow"
- Set
- If Node
- IF1
- Merge
- Merge1
- SetFinal
- OpenAI Summary
- OpenAI Classify
- OpenAI Summary Backup
- Error Handler
Similar automations
Lead Generation & EnrichmentFind Sales Leads in Reddit Posts with OpenAI16 stepsLead Generation & EnrichmentAnalyze Reddit Posts for Leads and Draft Replies18 stepsContent Writing & GenerationFind Business Opportunities in Reddit Posts with OpenAI24 stepsContent Writing & GenerationSummarize and Classify Reddit Posts with OpenAI11 steps