Internal Service β This is not an HTTP endpoint. Itβs called by the create-ai-article orchestrator.
Purpose
Retrieves the AI site deployment URL and existing AI articles from the database.Function Signature
Returns
What It Does
- Query ai_sites - Find the AI site for this business/product
- Get deployment URL - The Vercel deployment URL
- Get existing posts - From ai_articles table (for deduplication)
- Return entity_id - For later database updates