Outpost Community Demo

TIL you can use webhooks to build a live activity feed on your website

By nix_witch ·

Okay this might be obvious to some of you but I just realized you can use Outpost webhooks to build a real-time activity feed on your marketing site. No polling, no cron jobs.

Set up:

  1. Create a webhook in Outpost for topic.created and post.created events
  2. Point it at a Cloudflare Worker
  3. Worker stores last 10 events in KV
  4. Your marketing site fetches from the KV endpoint

Now our landing page has a "Live community activity" section that updates within seconds of someone posting. Social proof that the community is active without embedding the whole thing.

Total cost: $0 (Cloudflare free tier). Setup time: ~30 minutes.

4 replies

priya.sh ·

This is really clever. We have a similar setup but using webhooks → Supabase Realtime → our Next.js app. The live activity feed on our docs site has noticeably increased community signups because people can see it's active.

mango_dev ·

saving this. we've been manually updating a "recent discussions" section on our site. this would automate the whole thing. the cloudflare worker approach is perfect since we already use CF for our CDN.

jmpk ·

You could take this further and show different activities based on the page context. Like on your /pricing page, show discussions about pricing/value. On /docs, show recent help topics. The webhook data includes category and tags so you can filter.

nix_witch ·

Ooh contextual feeds is a great idea. I'm going to try filtering by tag — show api-tagged topics on our API docs page and feature-request topics on the roadmap page. Should be like 5 extra lines in the Worker.