I’m in a couple of car club WhatsApp groups. They’re great, but they’re busy. Hundreds of messages a week, most of it general car chat, with the occasional meet, a change of venue, or someone selling exactly the part I’ve been looking for.

So I muted them. And then I missed things.

What I wanted was a weekly email that read the groups for me and told me what actually mattered: what’s coming up, what’s changed, what I need to reply to, and what’s for sale.

The problem with WhatsApp

WhatsApp doesn’t have an API for reading group chats. The Business API is for businesses messaging customers, not for reading a group you’re a member of.

What it does have is Export chat, which gives you a text file of the whole conversation. And it has WhatsApp Web.

So the plan was to run WhatsApp Web in a browser somewhere, export each group once a week, and process the exports.

The tricky part is that “somewhere”. WhatsApp Web needs a real browser with a persistent login, and I didn’t want a server running all week just to be used for a few minutes on a Sunday morning.

How it works

It all runs on Cloudflare.

  1. Export the chats. On Sunday morning a scheduled Worker wakes a Durable Object, which starts a Cloudflare Container running Chromium and Puppeteer. The container is restored from a snapshot of the browser profile, so WhatsApp Web is still logged in. It opens each group, exports the chat, and saves the file to R2.
  2. Take a new snapshot. WhatsApp’s device state moves on every session, so before the container stops, it snapshots the profile again. The container only runs for three or four minutes a week.
  3. Process the messages. The Worker parses the export, removes anything it’s already seen, and replaces phone numbers with a pseudonym, so contacts I haven’t saved are just “Member 3fa9c2”.
  4. Pick out what matters. Workers AI (gpt-oss-120b) reads the new messages and extracts events, changes, cancellations, and things members are asked to reply to. A second call looks for cars and parts for sale, price drops, and “sold” updates.
  5. Send the digest. The results are stored in D1, and a Worker sends the email through Cloudflare’s Email Service.

There’s also a small admin page behind Cloudflare Access, which is where I scan the QR code to link WhatsApp in the first place.

Not trusting the AI

The thing I was most wary of was the AI making things up. A digest that confidently tells you a meet is at 10am, when nobody said 10am, is worse than no digest at all.

So the model never has the final say. Every event and listing has to cite the messages it came from, and the code checks every detail against them. If the date, time, venue or price isn’t actually in the cited messages, it’s removed. A cancellation is rejected unless a message actually says it’s cancelled. A listing needs real sale wording, so someone saying “saw one on Marketplace for £9.5k” doesn’t become a car for sale.

Matching is deterministic too. If two messages describe the same meet, or the same seller drops their price, the code decides whether they’re the same thing, not the model. Only the person selling something can mark it as sold.

And if it can’t check a group, the email says so. “Nothing happening this week” only appears when every group was actually read.

Things that were harder than expected

Keeping the container alive. The first time I tried to link WhatsApp, the container was stopped halfway through. Cloudflare shuts down a container it thinks is idle, and a browser waiting for a QR code scan looks very idle. Twice.

Clicking through WhatsApp Web. WhatsApp doesn’t make it easy to automate, and its UI changes. The steps to open a group and export it are stored as data rather than code, so when a selector breaks, I can fix it without rebuilding the container.

Dates. The container exports chats in US date format and UTC, so “11/8/26” is the 8th of November. The parser works out the date order from the data itself rather than trusting any one setting.

Things people actually say. My first version of the sales section missed half the sales. People don’t write “For sale” in a car club group. They write “anyone want this before it goes on Marketplace?”, “surplus to requirements”, or “I might part with these”. Each miss became a new test case.

The AI running out of room. One week of messages included someone clearing out their garage, which meant ten listings in one go. The model’s answer got cut off mid-way, so nothing from that part of the chat made it into the digest. It now gets more room, and retries if the response isn’t valid.

Privacy

These are other people’s messages, so I tried to keep as little as possible.

Phone numbers are replaced with pseudonyms before anything is stored or sent to the AI. The raw exports are deleted from R2 after 30 days and the digests after 90. Workers AI doesn’t keep inputs or outputs, and the email never includes full transcripts or photos.

Should you use it?

Probably not as it is.

Automating WhatsApp Web isn’t something WhatsApp allows, so there’s a risk the account gets banned. It’s also built for one person reading a couple of groups, and it only reads text, so a sale posted as just a photo won’t appear.

But if you’re in busy groups and you’re comfortable with that risk, it works. It costs me next to nothing on top of Workers Paid, and I now get one email on a Sunday morning instead of hundreds of notifications.

I built it with Claude Code over a couple of days, which is a big part of why it exists at all. It’s the kind of project I’d have thought about and never got round to.

The source code and setup instructions are on GitHubgithub.com favicon.

View repo