惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
人人都是产品经理
人人都是产品经理
Cisco Talos Blog
Cisco Talos Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
V
V2EX
博客园 - 三生石上(FineUI控件)
Martin Fowler
Martin Fowler
WordPress大学
WordPress大学
D
Docker
S
SegmentFault 最新的问题
博客园 - 聂微东
美团技术团队
Apple Machine Learning Research
Apple Machine Learning Research
月光博客
月光博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Last Week in AI
Last Week in AI
M
MIT News - Artificial intelligence
F
Fortinet All Blogs
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
The GitHub Blog
The GitHub Blog
GbyAI
GbyAI
L
LangChain Blog
Vercel News
Vercel News
博客园 - 叶小钗
MongoDB | Blog
MongoDB | Blog
Stack Overflow Blog
Stack Overflow Blog
H
Help Net Security
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
The Cloudflare Blog
Engineering at Meta
Engineering at Meta
T
Threat Research - Cisco Blogs
T
Threatpost
Scott Helme
Scott Helme
T
Tailwind CSS Blog
Latest news
Latest news
Stack Overflow Blog
Stack Overflow Blog
Blog — PlanetScale
Blog — PlanetScale
The Register - Security
The Register - Security
罗磊的独立博客
P
Proofpoint News Feed
腾讯CDC
S
Schneier on Security
雷峰网
雷峰网
A
About on SuperTechFans
T
Tenable Blog
F
Full Disclosure
Cyberwarzone
Cyberwarzone
博客园_首页
有赞技术团队
有赞技术团队
K
Kaspersky official blog

文章列表

Compulsive curiosity, or, how I built an infinite idea machine Gift details on the subscriber portal Portal link in the archive nav The physicists who convinced Fermilab to send Brazil's emails First, add no friction: How micropayments lost and subscriptions won Filter subscribers and automations by source Automations, rebuilt What email will look like in the future Filter subscribers by bounce date and reason Email could have been X.400 times better Three features are moving behind the paywall Firewall changes and improvements Put your name and voice into your company newsletter Simplified email address settings Subscription wall Inboxes were overwhelming before we'd even named them The US government tried really hard to screw up email Public postmortem: database connection exhaustion Ask a nerd: what is the best way to unsubscribe from newsletters? Bookshop.org embeds Email was into agents before they were cool Passwordless login Rename metadata keys in bulk A spring cleaning for our legal docs Ask a nerd: what happens when you click the spam button? Passkey support for two-factor authentication How Buttondown's API versioning works Safer defaults for the email creation API How to send email to space How we enabled Content Security Policy for everyone Recovery codes for two-factor authentication Filter sent emails by engagement rate How we migrated to TypeIDs without breaking clients How we check every link in your email Use newsletter metadata in your emails Should we bring back email exploders? Sort and filter by open and click rates Custom click tracking domains More newsletter settings in the API Revamped replies Custom email templates for everyone Simplified cancellation Ask a Nerd: Does email length affect deliverability? The changelog, reborn Swedish localization Forwarding an email is not always straightforward Public descriptions for tags OpenAPI spec for archives How Rodrigo brings a humanistic view to consumer technology Subscribers can come from anywhere. Even another newsletter platform's form. Survey responses on the web How Brandon Lucas Green shares his music and supports artists Your newsletter's archives are more valuable than your list Better tag self-management Smarter automation filters Granular API keys Snippets New design settings pages Ask A Nerd: How does newsletter cadence affect deliverability? Starred views More ways to customize your archives Inbox filtering Mastodon follower analytics Ask a Nerd: What are good open, click, and response rates for an email newsletter? How we migrated our database to PlanetScale Two new archive themes Ask a Nerd: Does attaching files to your newsletter hurt deliverability? Custom buttons now work in Markdown mode Seline and Tinylytics support Unban subscribers Announcement bars for your archives Bang paths, source routing, and how email trips were planned Public postmortem: archive downtime 2025 disposables.app Russian localization Ask a Nerd: Can you improve email deliverability with a personal domain? More locale options How we interview customers at Buttondown Bluesky analytics Reply to conversations Minimum viable complexity How Jeffery Hicks goes behind-the-scenes in his newsletter Changes to our stack in 2025 2026: Emails What the hell is a UTM? TK reminders in the editor Randomize survey answer order Why we insourced analytics Scroll sync in the editor 2026: Archives How Jamie Thingelstad uses Buttondown to explore tech topics How Kelly Jensen uses Buttondown to discuss key library issues Keeping feature creep at bay Improved filters Content Security Policy in archives Open source Sniperl.ink Auto-activating RSS reader subscriptions What the hell is ActivityPub? How Igor Ranc built Berlin's largest expat tech newsletter
Building a Slack-powered newsletter with Buttondown
Matthew Guay · 2025-09-17 · via

“I don’t have a plan,” says Jason Kottke of his eponymous blog. He had, instead, a love for the then-young internet and for the World Book Encyclopedia. So he built his own collection of curiosities on the web. One post at a time, weekly, for one score and seven years.

Kottke’s trick isn’t to write about everything. Nor is it to go in-depth on a single topic. Instead, he’s a curator, a tastemaker. He finds the stuff that strikes his fancy and shares it with the world. It’s an eclectic collection, with recent posts about the phrase “experts said...” and a new Commodore 64 and a Mayan tomb in Belize, curated from Kottke’s wide-ranging exploration of the web.

Curation is one of the few ways to keep from burning out while publishing a newsletter for years on end. It’s also one of the only ways to cut through the noise in social media and communities, where nobody has the time to read every post.

You could do it manually, Kottke-style, researching and sharing your favorites yourself. Or you could crowdsource and curate as a community. Share your favorite things in Slack, Discord, or another community tool or social network, then build a weekly newsletter featuring the things that struck others’ fancy (and the things others in the community shared, too). The same trick could quickly build manageable summary emails of your team’s Slack conversations, or of any other bit of data where the onslaught is too much but the curated best-of bits are valuable.

Best of all, you could automate it all, with a bit of code and Buttondown.

How to automate community curation

The recipe’s fairly simple: Use your community’s discussions as a metric for what’s interesting, then automatically turn that into an email for a quick weekly digest.

Say your community is in Slack. You could use the Slack API to check for threads with the most replies and sort them by popularity. You could tweak the basic formula for your community. Maybe your community’s in Discord chats instead, or in a Discourse forum, or on a WordPress blog with comments. Swap those apps’ APIs for Slack’s for similar results. Or maybe in your Slack group, people react with emojis more than they comment in threads; swap reactions for replies to filter for what your community likes.

Then, you’d use the Buttondown’s API to merge those top discussions into a template email. That’ll create a curated community newsletter, automatically, every time you run it.

You could do this in an automation tool like Make or Zapier; they’ll handle authentication and parse data automatically, making things a bit easier. Or you could hand-code it—and learn a bit more along the way.

Here’s how to build it, with Slack.

Build a basic Slack app to access Slack’s API

Create a Slack app to get access to Slack's API

Start out by setting up authentication. In Slack, that requires creating a new app (not a full app, but an app placeholder in Slack, with permissions to access your account’s data). Go to api.slack.com/apps, click “Create New App”, choose “From Scratch”, then name your app and select your Slack workspace.

Select Slack API scopes to allow access to Slack data

That’ll create a basic Slack app. Now you need to tell Slack which data to share with your app. In the app’s settings page, click the “OAuth & Permissions” tab, scroll to “Scopes”, and add permission for the data you need (we added channels:historychannels:readgroups:historyusers:read, and users.profile:read for our app).

Invite your app to your Slack group to finalize API access

Finally, it’s time to install your Slack app. Scroll back up in the settings, and under “OAuth Tokens” install the Slack app to your workspace. Copy the Bot User OAuth Token; you’ll need that later to fetch data from your Slack app. Then switch over to Slack (the actual Slack app where you chat with folks), open the channel with your community conversations, and type /invite @yourAppName with your app’s name swapped in.

Copy your Slack Channel ID to use with Slack's API

And while you’re there, grab your channel’s ID. Click the channel name in the top toolbar, scroll to the bottom of the popover, then click the copy button beside the Channel ID and save it somewhere to reference easily.

Now you’re ready to fetch the most popular Slack discussions via Slack’s API.

Fetch the most popular discussions from your community

Your most popular Slack threads, summarized in Terminal

Slack’s API is pretty straightforward, with a URL to fetch data, a token to authenticate, and parameters to set what data you want in response.

Start out simple with a cURL command in Terminal. The script in this Gist, for example, will give you the most recent discussion in a Slack group; check Slack’s API docs for more details.

Then, tweak the code to your purposes. A few tweaks and a few Claude prompts, and you can build that prompt into a Slack Top Conversations script that can grab your top three most popular Slack threads from the past week, pulls their top three replies, and turn them all into easy-to-use variables (copy from this gist, add in your variables, then run in Terminal).

Want different data in your community email? Tweak away!

Build a template email with Buttondown’s API

Then you need to do something with your newly parsed Slack data. That’s where Buttondown’s email API comes in. You can draft emails from Terminal, complete with any text you want—including your community’s most popular Slack discussions.

Authentication comes first, again. Open your Buttondown settings, and click the API Key button (or just go directly to buttondown.com/keys). Copy and save your API key.

Then start simple again. Buttondown’s API Recipe to draft an email includes the cURL code you need to draft email in your newsletter (emphasis on draft; if you send a Buttondown emails POST command without including "status": "draft", it’ll get sent immediately to your entire audience, and that wouldn’t be great).

A draft Buttondown email, created by cURL

A second later, and your Buttondown Emails tab will have the draft ready to edit and send (or, in this case, to delete so you don’t accidentally send a test message to your subscribers).

Once again, you can tweak things from there.

Say you write your emails in Markdown, with the subject as a heading on the first line, then the email body underneath, and some variables included like $this. That approach would let you turn a text file into an email, automatically updated with up-to-date text—that you added manually, or that you fetched from an API like Slack’s. Check Buttondown’s Creating template emails via the API recipe for example templates and the code you need to turn a template into a Buttondown draft.

Now, tweak that template into your community newsletter, run the two scripts back-to-back, and you’re in business.

Merge API data with Buttondown’s API

Template + code = automated community email

Or you could do it all in a single step.

Start with your email template. You’ll want to add variables for your top three threads, the links to the threads, and their top replies, along with some text reminding people to join in the conversations. Save that as a text file.

Then you’ll need to combine the CURL scripts to run one after another, fetching data from your API, merging it with your template, and sending it along to Buttondown.

For a Slack email, for example, this Slack Top Discussions to Buttondown email script pulls the data from Slack, merges it with your template, and pushes it as an email draft to Buttondown (copy from this Gist and run in Terminal). 9 seconds later, you’ll have a Slack-powered community email ready to send out.

Once your draft is compiled, jump over to your Buttondown dashboard to add your commentary to this week’s top discussions, before emailing them to your followers. Or if you’re brave enough, you could drop the draft flag and send your template email straight from Terminal.

Anything you can run in Terminal, your computer could automatically run on a schedule (every Friday afternoon, say) with a cron job. Or, if you have a server (perhaps DigitalOcean server for your blog, or an EC2 instance for an app), you could run the cron job there. You could rebuild the API calls in a Postman Flow, or go back to a simpler, UI-driven approach and automate your email in Make or Zapier.

Either way, you’ll never have to manually curate your community content again.

Keep your email newsletter going with automation

Nor is that the only way to put Buttondown’s email creation API to use. One of the original personalized email alerts was stock price emails that’d get sent whenever a stock hit a specified price. You could build a Buttondown stock tracker, emailing your list every time NVDA hits a new record high, or a weather bot that cancels park run meetups when the forecast gets too dicey. And for an even simpler, similarly curated email, you could use Buttondown’s built-in RSS to email feature to create a community email from any blog’s feed.

And, with a bit of automation and a bit of perseverance, you have a chance at curating your newsletter to at least one score and a few years, Kottke-style.