I built this pipeline to automate my own newsletter. When I merge a pull request adding a new blog post on this website, it reads the post, generates a newsletter using Claude, creates a draft in Mailchimp, and sends me a Telegram message to review and approve before anything goes out.
The approval flow is handled by a companion Cloudflare Worker that receives Telegram webhook callbacks and calls the Mailchimp API accordingly.
Fun fact: I coded it mostly in Shinkansen's trips during a month-long holiday in Japan.
Technology: TypeScript and GitHub Actions
Platforms: Claude, Mailchimp, Telegram and Cloudflare Workers
This project is open source and available on GitHub: blog-to-newsletter-action and blog-to-newsletter-worker