In automated growth pipelines, the AI's output is rarely the final step. It must be parsed by a script, inserted into a database, or rendered in a UI. This lesson teaches you how to force the model to output valid JSON, HTML, or Markdown with 100% reliability.
### TASK
Audit the provided landing page for 3 conversion leaks.
### OUTPUT FORMAT
Provide a valid JSON object with the following schema:
{
"audit_id": "string",
"leaks": [
{ "location": "string", "issue": "string", "fix": "string", "impact": "int (1-10)" }
]
}
### CONSTRAINT
Output ONLY the JSON object. Zero markdown formatting or code blocks.
While JSON is for machines, Markdown is for human readability. Use technical delimiters like --- or # to ensure your AI-generated reports are "Ready-to-Post" on LinkedIn or your blog.
Write a prompt that generates an HTML email template for a "DHA-based Restaurant." The HTML must use inline CSS and include placeholders like {{customer_name}} and {{discount_code}}.