Problem

Our original newsletter workflow was time-consuming and error-prone. It involved drafting and reviewing content manually in Notion, reformatting it for Loops, generating custom attribution links for all Clerk URLs, and finally uploading the content to dev.to as a secondary distribution channel.

Solution

To eliminate these inefficiencies, I partnered with the design and engineering teams to develop a reusable MJML email template that could be programmatically populated using an MDX file. I also launched a new section on our Next.js website to host each newsletter as a standalone page, improving long-term SEO value and content discoverability.

To automate the publishing pipeline, I built a custom GitHub Action that compiles the newsletter, integrates with the dub.sh API to generate and insert attribution links, and creates the final artifact ready for upload to Loops. As a final step, I brought newsletter reviews in line with our broader content workflow by enabling Vercel Preview Comments, allowing stakeholders to leave feedback directly on preview deployments.

This system significantly reduced the effort involved in publishing the newsletter, ensured consistency across platforms, and increased the visibility of our content through organic search.