create_layout
Create a reusable email template layout by providing an HTML wrapper that embeds {{{ content }}} as the body placeholder. Supports optional URL-safe permalink and plain-text wrapper.
Instructions
Create a template layout. html_wrapper has to embed the body with {{{ content }}}; anything else is refused with ValidationError.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name | |
| permalink | No | URL-safe identifier | |
| html_wrapper | Yes | HTML wrapper embedding {{{ content }}} | |
| text_wrapper | No | Plain-text wrapper |