WorkflowStepEmailPreviewDto
Preview of a workflow step email with rendered content and resolved recipients.
Returned before sending so the user can review what will be sent.
Properties
| Name | Type | Description |
|---|---|---|
| subject | string | Rendered subject line with Liquid tokens resolved. |
Rendered subject line with Liquid tokens resolved. | ||
| bodyHtml | string | Rendered body HTML with header/footer/theme applied and Liquid tokens resolved. |
Rendered body HTML with header/footer/theme applied and Liquid tokens resolved. | ||
| toRecipients | array of EmailPreviewRecipientDto | Resolved To recipients with names and email addresses. |
Resolved To recipients with names and email addresses. | ||
| ccRecipients | array of EmailPreviewRecipientDto | Resolved CC recipients with names and email addresses. |
Resolved CC recipients with names and email addresses. | ||
JSON Example
{
"subject": "string",
"bodyHtml": "string",
"toRecipients": [
{
"name": "...",
"email": "..."
}
],
"ccRecipients": [
{
"name": "...",
"email": "..."
}
]
}