How AI Writes Articles — the Pipeline
📅 June 4, 2026⏱ 2 min read
Table of Contents
Overview
Every standard article goes through a sequential 19-step pipeline. Each step is logged with its duration and token count. The full process takes 3–5 minutes.
[SCREENSHOT: Article generation logs tab showing all 19 steps with green checkmarks, durations in seconds, and token counts]The 19 Steps
- Load config — site settings, API keys, voice profile, and article type
- High-level plan — AI generates a topic outline
- Web research — AI researches the topic with live web access to gather current facts
- Detailed plan — AI creates a full H2/H3 + FAQ structure
- Write article — AI writes the complete Markdown article using the voice profile
- Internal links — links to previously published articles are inserted from the link index
- Generate meta — slug, title, and meta description are created
- Convert to HTML — Markdown is converted to clean HTML
- Process images — SerpAPI finds relevant images; for WordPress they are downloaded and uploaded to the media library
- Process videos — YouTube Data API finds relevant videos; iframes are embedded
- Generate cover — cover image is generated by AI
- Upload cover — cover is uploaded to your CMS media library
- Generate SEO variants — 3 title variants, 3 meta description variants, and an H1
- Resolve category — auto-assign or create a category in the CMS (WordPress only; skipped for other platforms)
- Check agency approval — if approval mode is enabled on the site, the article is paused for manager review
- Publish to CMS — article is sent to WordPress, Bitrix, InSales, or Joomla as draft or published
- Update SEO meta — Yoast SEO or RankMath meta fields are updated on the published post
- Update link index — the published article is added to the internal linking index for future articles
- Announce social — announcement is posted to connected social channels (Telegram, VK, OK, Pinterest)
Publish-Only Mode
When republishing an existing article, only 4 steps run: Load config → Publish to CMS → Update SEO meta → Update link index. Full regeneration is not triggered.
Retry Logic
If the AI service returns a 5xx error or timeout, the system automatically retries up to 2 times with a 30-second delay between attempts before marking the article as failed.
All Requests via ProxyAPI
All AI calls go through api.proxyapi.ru — a Russian proxy that ensures availability from Russian servers without VPN.
In this section
Was this article helpful?