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. | ||
| bccRecipients | array of EmailPreviewRecipientDto | Resolved BCC recipients with names and email addresses. |
Resolved BCC recipients with names and email addresses. | ||
| fromConfigCode | string | Suggested From connection (email config code): the client manager match if one applies, else the tenant default. |
Suggested From connection (email config code): the client manager match if one applies, else the tenant default. | ||
| attachments | array of WorkflowStepEmailPreviewAttachmentDto | Pre-specified practice document attachments from the step configuration. |
Pre-specified practice document attachments from the step configuration. | ||
JSON Example
{
"subject": "string",
"bodyHtml": "string",
"toRecipients": [
{
"name": "...",
"email": "..."
}
],
"ccRecipients": [
{
"name": "...",
"email": "..."
}
],
"bccRecipients": [
{
"name": "...",
"email": "..."
}
]
}