Update Template Version
update_template_versionUpdate an email template version's content, subject, name, and activation status. Modify HTML or plain text, set test data, or auto-generate plain text to keep template versions current.
Instructions
Update the content and settings of a template version
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name for this version | |
| active | No | Set as active version (1 = active, 0 = inactive) | |
| subject | No | Email subject line (supports Handlebars) | |
| test_data | No | JSON string of test data for Handlebars variables | |
| version_id | Yes | ID of the version to update | |
| template_id | Yes | ID of the template | |
| html_content | No | HTML content of the email template | |
| plain_content | No | Plain text version | |
| generate_plain_content | No | Auto-generate plain text from HTML |