π΅ POST - Create AI Article
Create AI Article
Generate AI article content and files (no deployment)
POST
Internal endpoint for the Cron service to generate an AI articleβs content and files.
AI articles are generated from the AI site content (llms.txt, data.json,
HTML), not the original business website.
Products use the businessβs AI site - Products donβt have their own AI websites.
All AI articles (business and product) are deployed to the same business AI site.
Request Body
Business identifier (org_slug)
Optional product/item ID
Optional ISO date string to backdate created_at (e.g. β2025-12-21β)
Response
βsuccessβ or βerrorβ
Array of files to deploy. Each file has
path and content.Path to the AI article (e.g. β/top-10-crm-tools-2025/β)
AI article title (always a question for AI search optimization)
Publication date (ISO format)
Vercel project name for deployment
AI site URL (e.g. βhttps://nike.searchcompany.devβ)
List of existing AI articles (for index generation and deduplication)
FAQ category for homepage integration:
"business_article" or "product_article"Topic Generation
AI articles use a sophisticated topic generation system designed to stay fresh even at 1000+ posts:Template System
49 SEO-optimized question templates with variable placeholders:{industry}- Inferred by Gemini from business content{problem}- Main problem the business solves{city}- 38 major cities worldwide{audience}- 17 target audiences (startups, enterprises, etc.){year}- Current or next year{list_size}- 3, 5, 7, 10, 15, or 20
Deduplication
The system:- Receives existing AI article titles from the database
- Generates all possible template variations
- Filters out any that match existing titles
- Picks a random unused combination
Example Titles
- βWhat are the top 10 CRM software solutions in 2025?β
- βWhat is the best project management platform in Singapore in 2025?β
- βHow do startups solve team collaboration challenges?β
- βWhat do experts recommend for sales pipeline management in 2025?β