discover-products- Extract products from content- generate-product-prompts (this endpoint) - Generate visibility prompts
generate-product-llms-txt- Generate llms files for products
How It Works
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
business_id | string | Yes | Clerk org ID |
products | array | Yes | Products from discover-products output |
products Array
| Field | Type | Description |
|---|---|---|
name | string | Product name |
entity_id | string | Product entity UUID |
url | string | Product URL |
Response
Prompt Generation
For each product, Gemini generates 10 search queries that users might use to find this product:Configuration
| Constant | Value | Description |
|---|---|---|
PROMPTS_PER_PRODUCT | 10 | Prompts generated per product |
Database Updates
| Table | Action |
|---|---|
entity_prompts_tracker | Insert 10 prompts per product |