Customize how AI generates content for each product attribute
Attribute prompts are the instructions that tell Cernel’s AI how to generate content for each product attribute. By customizing prompts, you control the tone, style, data sources, and constraints for AI-generated content—making it match your brand voice perfectly.
A prompt is a set of instructions sent to the AI model that defines:
What information to include (data sources)
How to write it (tone, style, format)
Constraints to follow (length limits, required elements)
Example Prompt for “Product Description”:
Copy
Using the product title, existing description, and primary collection,write a compelling 150-200 word product description that highlightsfeatures, benefits, and use cases. Use a professional yet approachabletone. Focus on what makes this product unique and valuable to customers.
Every attribute type has a default prompt that works well for most use cases. Customization is optional but powerful for brand-specific needs.
Attributes: Other enriched attributes (color, material, size)
Price: Product price
Images: Product photos (for visual analysis)
Variants: Color/size variations
Example:
Copy
Data Sources: Product Title, Primary Collection, Color, MaterialGenerated Description:"This classic blue cotton t-shirt combines comfort and style..."↑ References: Title ("t-shirt"), Color ("blue"), Material ("cotton")
Include only relevant data sources. Adding too many can confuse the AI or make prompts overly complex.
Formal Tone (Luxury Brand):"Write in an elegant, sophisticated tone emphasizing craftsmanship,exclusivity, and timeless style. Avoid casual language."Casual Tone (Budget Brand):"Write in a friendly, approachable tone emphasizing value, practicality,and everyday use. Keep it simple and relatable."
Constraints are hard limits that content must meet.Common Constraints:
Character Limit: Max/min length (e.g., “Max 160 characters”)
Word Count: Specific word count range (e.g., “150-200 words”)
Required Keywords: Must include certain terms
Format: HTML, plain text, markdown
Validation Rules: Must not contain certain phrases, must include specific elements
Example:
Copy
Constraint: Meta Description max 160 charactersGenerated (Valid): "Shop our classic blue cotton t-shirt. Soft, comfortable, and perfect for everyday wear. Available in sizes S-XXL. Free shipping over $50." (154 chars) ✅Generated (Invalid): "Shop our incredibly comfortable, soft, and stylish classic blue cotton t-shirt perfect for all occasions whether casual or semi-formal available in all sizes..." (175 chars) ❌
If generated content violates constraints, enrichment fails for that product. Set realistic constraints that give the AI room to work.
Select which product fields the AI can use:Use the autocomplete to add data sources:
{{title}} - Product title
{{description}} - Existing description
{{collection}} - Primary collection name
{{brand}} - Brand attribute
{{color}} - Color attribute
{{material}} - Material attribute
{{price}} - Product price
Example:
Copy
Using {{title}}, {{color}}, and {{material}}, generate...
Write how the AI should generate content:Be specific but concise:
Copy
Good:"Write a 150-word product description emphasizing comfort,durability, and style. Use a friendly, approachable tone."Too Vague:"Make it sound good."Too Complex:"Write a description that is between 145-155 words usingexactly 3 sentences with the first sentence focusing on..."
Tips:
Start with verb actions: “Write,” “Generate,” “Create”
Example 1: Product Description (E-commerce Fashion)
Copy
Data Sources: {{title}}, {{collection}}, {{color}}, {{material}}, {{brand}}Instructions:Write a compelling 150-200 word product description for this {{collection}}item. Highlight the {{color}} and {{material}}, emphasizing how they contributeto style and comfort. Include styling suggestions and occasions where thisitem would be perfect. Use an approachable, friendly tone that speaks directlyto the customer. Focus on benefits (how it makes them feel/look) rather thanjust features.Constraints:- Min Words: 150- Max Words: 200- Format: Plain Text
Data Sources: {{title}}, {{brand}}, {{collection}}, {{price}}Instructions:Create a compelling meta description for search engine results. Include theproduct name, key feature or benefit, and a call to action. Make it enticingenough to earn clicks from search results. Naturally incorporate relevantkeywords that customers would search for.Constraints:- Max Characters: 160- Format: Plain Text- Must include: Product name, one key benefit, CTA
Data Sources: {{material}}, {{collection}}Instructions:Generate clear, practical care instructions for this {{material}} product.Include washing, drying, and storage guidelines. Use simple, direct language.Format as a bulleted list for easy readability.Constraints:- Min Words: 30- Max Words: 80- Format: HTML (bulleted list)
Data Sources: {{title}}, {{description}}, {{images}}Instructions:Identify the primary color of this product. If multiple colors are present,choose the most dominant one. Use standard color names from the predefined list.Constraints:- Force Classification: Enabled- Allowed Values: Red, Blue, Green, Yellow, Black, White, Navy, Gray, etc.
Use prompt inheritance to customize by collection while maintaining a base template:
1
Set Base Prompt
Configure a default prompt at the organization level
2
Override for Collections
For specific collections (e.g., “Luxury Items”), create custom prompts that inherit from the base but override key elements
3
Automatic Selection
When enriching, Cernel automatically uses the most specific prompt:
If product is in “Luxury Items” → use luxury-specific prompt
If product is in “Electronics” → use electronics-specific prompt
Otherwise → use base organization prompt
Example Hierarchy:
Copy
Organization Level (Base):"Write a product description emphasizing features and benefits."Collection: Luxury Handbags (Override):"Write an elegant description emphasizing craftsmanship, heritage,and exclusivity. Use sophisticated language."Collection: Budget Electronics (Override):"Write a straightforward description emphasizing value and practicality.Keep language simple."
Too Vague:
“Make it good.” → AI doesn’t know what “good” means for your brand.Too Restrictive:
“Exactly 147 words, must include ‘premium’ three times, start with the letter A…” → AI struggles with overly specific constraints.Contradictory:
“Be concise but include all product features in detail.” → Pick one: concise OR detailed.Missing Data Sources:
Instructions reference but color isn’t added as a data source → AI can’t use what it can’t access.