nevent_create_template
Create and persist a new email template with MJML or raw HTML content. Prefer MJML for responsive email (set format="MJML"). The template is saved and available for reuse across campaigns. After creation, call nevent_create_campaign with the returned template id to send it to a segment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable name for the template, e.g. "Event Reminder — Spring 2026" | |
| tags | No | List of string tags to categorise the template (e.g. ["promotional", "event", "reminder"]). Omit to create with no tags. | |
| format | Yes | Template format: "html" for raw HTML, "mjml" for MJML source code | |
| html_body | No | Raw HTML content for the template. Provide this field when format is "html". | |
| mjml_body | No | MJML source code for the template. Provide this field when format is "mjml". |