Library / Social Media Publishing
Social Media Publishing
Find reply-worthy Hacker News and Stack Overflow threads with GPT and Discord
On a schedule, it publishes to social media with OpenAI / ChatGPT using Data Table, Discord.
What it does
## Find the threads where your product is genuinely the answer Searching for your category is easy. Deciding which threads deserve a reply, and writing one that does not read like marketing, is the part that gets accounts banned when it goes wrong. ### How it works One request per keyword per source. Joining them with OR finds nothing at all: n8n returns 2,652 hits in a week, n8n OR workflow automation returns zero, because Algolia looks for the word *OR*. Stack Exchange allows 300 requests a day per IP without a key, so the keyword list is capped. Hacker News is searched across stories and comments - the comments are where somebody asks what to use, and numericFilters=created_at_i> is the only way to bound the window. Read The Threads drops what cannot be helped: closed, answered or downvoted questions, and anything older than max_age_days. An HN story is finished in a day. Then two model passes. The first decides whether replying would help, and is told to answer no by default. Only survivors reach the second, which writes the reply - or returns NOT_WORTH_POSTING when the only honest version reads like an advertisement. Everything lands in Discord with the link and the draft, cut to fit the 2,000 character limit the API enforces. Nothing is ever posted. You read it, you decide, you paste it yourself. ### Setup 1. In Settings: the keywords, your product name, and one sentence on what it does. That sentence is what fit is judged against, so make it concrete. 2. A Data Table called community_threads with columns thread_key, source, title, url, verdict and seen_on. 3. A Discord webhook credential - a URL copied out of channel settings, no bot to register - and an OpenAI-compatible key on the model node.
The steps
- Check Every Morning
- Or Look Right Now
- Settings
- Build The Searches
- Ask Hacker News
- Ask Stack Exchange
- Both Sources
- Read The Threads
- Read What You Have Seen
- Only The New Threads
- Anything Worth Reading?
- Would A Reply Help?
- Model
- Read The Judgement
22 steps in total.
Similar automations
Lead Generation & EnrichmentScrape Stack Overflow Developer Leads into Google Sheets11 stepsImage, Video & AudioTurn Hacker News stories into videos and publish to YouTube, X and LinkedIn39 stepsImage, Video & AudioTurn Hacker News Stories into Videos with OpenAI39 stepsImage, Video & AudioTurn Hacker News Stories into Videos and Social Posts39 steps