Create Template Version
create_template_versionCreate a new version of an email template with custom HTML, subject, and settings. Specify template ID, name, and optional test data for Handlebars variables.
Instructions
Create a new version of a template with HTML content and settings
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for this version | |
| active | No | Set as active version (1 = active, 0 = inactive) | |
| subject | Yes | Email subject line (supports Handlebars) | |
| test_data | No | JSON string of test data for Handlebars variables | |
| template_id | Yes | ID of the template to add version to | |
| html_content | Yes | HTML content of the email template (supports Handlebars) | |
| plain_content | No | Plain text version (optional) | |
| generate_plain_content | No | Auto-generate plain text from HTML |