Skip to content
NEWMarketplace and your team: sell what you build, and get plans and changes that are tested before you see them. See what is new

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

  1. When clicking "Execute Workflow"
  2. Reddit
  3. Set
  4. If Node
  5. IF1
  6. Merge
  7. Merge1
  8. SetFinal
  9. OpenAI Summary
  10. OpenAI Classify
  11. OpenAI Summary Backup
  12. Error Handler

Similar automations