Why placeholders?
Hand-editing 30 product names is boring and error-prone. Placeholders let you define a template once and inject data from a spreadsheet.
Placeholder rules in PromptMix
- Double braces:
{{variable}} - Lowercase snake or camel case:
product_nameorproductName - Must match a CSV header exactly.
Quick tutorial
| Step | Do this |
|---|---|
| 1 | Canvas Prompt: Describe {{product}} in three bullets focusing on {{benefit}}. |
| 2 | CSV: product,benefit rows |
| 3 | Batch → upload → export |
Advanced tips
- Multiple occurrences – same variable can appear twice.
- Fallback text (coming soon):
{{benefit||main advantage}}← on roadmap. - You can mix static and dynamic text inside one block.
Debug checklist
- No replacement? Check for trailing spaces:
{{ product }}≠{{product}}. - Wrong number of outputs? Empty rows in your CSV will be skipped.
Placeholders turn PromptMix into a prompt CMS. Master them once, scale forever.