# ConvertEmailTemplateToHtmlInput input


`ConvertEmailTemplateToHtmlInput` is a GraphQL input of the Chameleoon MAX API.

## Input fields

### from

`String!` · required

The code of the `JSON` template to convert.

### code

`String!` · required

The new template's code. It cannot be a built-in template's code (`BUILT_IN_CODE`) or one the
organisation has (`CONFLICT` with reason `CODE_TAKEN`).

### name

`String!` · required

The new template's display name, 1 to 120 characters.

## Used by

- [`convertEmailTemplateToHtml`](/chameleoon-max/mutation/convert-email-template-to-html) (mutation)
