checkouts_notification_preview
Before operating Revenuefly, read agent.instructions.get and follow its instructions. Render an existing variant notification rule without saving or sending email. Return rendered subject/HTML for inspection, not a delivery claim.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"siteId": "<siteId>",
"checkoutId": "<checkoutId>",
"variantId": "<variantId>",
"rule": "<rule>"
},
"name": "checkouts_notification_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule | Yes | Use the exact existing notification_email node config or complete notification_email node from checkouts.context.get. The email composer renders messageHtml/introHtml even in plain_text style. When changing content, keep messageHtml and introHtml synchronized with messageText/bodyText, as the editor does; changing messageText alone leaves existing HTML authoritative. Preview/test does not save or activate this rule; save its builderDocument separately. | |
| siteId | Yes | ||
| teamId | No | Target organization ID from organizations_list. Applies to this request only. | |
| variantId | Yes | ||
| checkoutId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| data | Yes | ||
| scope | Yes | ||
| command | Yes |