Create Complete HTML Template
create_html_templateCreate an HTML email template with subject, version, test data, and optional plain text in one step. Supports Handlebars variables for personalized email campaigns via SendGrid.
Instructions
Create a new template with HTML content in one step - perfect for AI-generated designs
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subject | Yes | Email subject line (supports Handlebars like {{firstName}}) | |
| test_data | No | JSON string with test data for preview (e.g., '{"firstName":"John","company":"Acme"}') | |
| html_content | Yes | Complete HTML email template (supports Handlebars) | |
| version_name | Yes | Name for the initial version | |
| plain_content | No | Plain text version (will auto-generate if not provided) | |
| template_name | Yes | Name of the template |