A blog bot that pitches its own posts: building a Slack-native publishing system on Cloudflare Workers and Durable Workflows
Blog post from WorkOS
Blog Bot, an AI-driven blog publishing tool, was initially hindered by low adoption due to its separate custom web UI that required users to switch contexts and learn a new interface. To address this, the system was integrated into Slack, significantly boosting usage by allowing users to interact with it within the familiar environment of their existing workflows. This Slack-based version retains all original features, such as multi-pass drafting, image generation, and quality checks, and introduces new capabilities like cross-channel triggers and an emoji-based API call to streamline the blog drafting process. Cloudflare Workers facilitate the underlying infrastructure, enabling durable workflows that manage complex AI operations and external API interactions seamlessly. The system also includes a proposal feature that suggests potential blog topics based on company activities, and it employs various AI models to manage tasks like input classification, drafting, and editing. The development cycle is streamlined through a conversational interface that allows for quick iterations and testing directly within Slack. Overall, the tool emphasizes minimizing context-switching and interface learning curves, allowing users to focus on content creation while automating the technical aspects of blog publishing.