Publish SEO focused WordPress articles on a set schedule. The system balances topics by choosing the least used category and writes a complete post with a cover image. It suits marketing teams and agencies that need steady output without heavy manual work.
On each run a schedule trigger starts the flow. It reads WordPress categories, filters any you exclude, then queries PostgreSQL to see which categories were used recently. The flow picks the least used category, pulls around ten recent titles for context, and asks OpenAI to propose a fresh title and SEO headings. A second OpenAI step writes the full article with clear sections and a suggested image. The image is downloaded, uploaded to WordPress Media, and all content is merged. A JSON payload is built and published to the WordPress posts endpoint, and the database is updated to track usage.
Setup needs WordPress REST access with rights to create posts and media, an OpenAI key, and a PostgreSQL database with the provided used categories table. You also set a DOMAIN variable for all API calls. Expect hours saved each week, consistent posting, and even coverage across categories. It fits niche blogs, multi author sites, and agencies running content calendars for several clients.