/llms/{product-slug}.txt files for products and deploy to Vercel.
This is the third step in the product pipeline:
discover-products- Extract products from contentgenerate-product-prompts- Generate visibility prompts- generate-product-llms-txt (this endpoint) - Generate llms files
Use Cases
- Generate llms files for newly discovered products
- Regenerate product llms after content updates
- Manual trigger to refresh product llms content
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
business_id | string | Yes | Clerk org ID |
product_ids | array | No | Specific product IDs to generate for. If omitted, generates for ALL products. |
Response
How It Works
Shared Service
This endpoint uses the sharedgenerate_product_llms_txt service:
- Onboarding (GROUP 3b)
- Cron (
discover-products)
Product LLMs Architecture
| File | Location | Purpose |
|---|---|---|
| Root llms.txt | /llms.txt | Business overview, key details, FAQs |
| Product llms | /llms/{product-slug}.txt | Detailed product info, features, pricing |
- Root
llms.txtstays small (~3KB) - Each product gets its own file (~1-2KB)
- Product files are fetched on-demand for boosted page generation