Create Complete HTML Template
create_html_templateCreate a SendGrid email template with HTML content in one step. Supports Handlebars placeholders, plain text fallback, and test data for preview.
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 |