Create and reuse prompt templates across multiple attributes and collections
Custom templates allow you to save prompt configurations and reuse them across multiple attributes, collections, or even sites. Instead of recreating the same prompt structure repeatedly, build it once as a template and apply it wherever needed.
Create templates for different product categories:Template: “Description - Luxury Fashion”
Copy
Data Sources: {{title}}, {{material}}, {{brand}}, {{collection}}Instructions:Write an elegant 180-220 word description emphasizing craftsmanship,exclusivity, and timeless style. Use sophisticated language. Highlightthe {{material}} quality and {{brand}} heritage.Constraints:- Min Words: 180- Max Words: 220- Tone: Elegant, sophisticated
Template: “Description - Budget Electronics”
Copy
Data Sources: {{title}}, {{features}}, {{price}}Instructions:Write a straightforward 120-150 word description emphasizing value,practicality, and key features. Keep language simple and accessible.Focus on what the product does and why it's a good deal at {{price}}.Constraints:- Min Words: 120- Max Words: 150- Tone: Friendly, practical
Apply the appropriate template based on the product’s collection.
Templates support dynamic placeholders that adapt to product context:
Copy
Instructions:Write a {{word_count}} word description for this {{collection}} product.Emphasize the {{primary_attribute}} as the key selling point.Dynamic Variables:- word_count: Varies by collection (luxury = 200, budget = 120)- primary_attribute: Automatically selected based on product type
Instructions:If {{price}} > $500, emphasize premium quality and craftsmanship.If {{price}} < $50, emphasize value and affordability.Otherwise, focus on features and everyday use.
Advanced dynamic features may require custom configuration. Contact support if you need help implementing complex template logic.
Issue: Same template generates widely varying quality across products.Solution: The template likely relies on data sources that aren’t consistently available. Check which products lack key attributes (e.g., material, brand) and either enrich those first or adjust the template to handle missing data gracefully.
Template Can't Be Applied to Attribute
Issue: Template doesn’t appear when trying to configure a specific attribute.Solution: Templates are attribute-type specific. A “Description” (HTML) template can’t be used for “Color” (Single Select). Ensure you’re using the right template type.
Template Works in Test, Fails in Production
Issue: Test mode generates perfect content, but production enrichment fails.Solution: Test products may have complete data while production products are missing required fields. Run a data quality check on your catalog before bulk enrichment.