commsharbor_template_preview
Compile and render a safe template preview. warnings tells you what was stripped and what would not render — read it before publishing rather than after sending.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Template name | |
| blocks | Yes | Canonical content blocks. This is the stored form — HTML is converted into it, never kept raw. | |
| values | No | Values to substitute into the declared variables for this preview. | |
| subject | Yes | Subject with declared {{variables}} | |
| variables | Yes | Typed variables the template declares: `name`, `type` and whether it is `required`. | |
| message_type | No | What the template may be used for. A marketing campaign will not accept a transactional template. | |
| organization_id | Yes | Active organization ID |