nevent_send_test_template
Send a test email of the template to one or more email addresses via SES. Use after nevent_preview_template validates rendering. Test emails carry test indicators in headers and are sent via AWS SES. This call may take up to 60 seconds due to SES delivery. Returns success status, list of recipients the email was sent to, and any error details. Pass campaign_id to send the test as that campaign will go out (its sender, sender name and reply-to); without it the test uses the organization's default sender.
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": {
"template_id": "<template_id>",
"emails": "<emails>"
},
"name": "nevent_send_test_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emails | Yes | List of email addresses to send the test email to. Each entry must be a valid email address. Minimum 1, maximum 10 recipients. Example: ["qa@example.com", "dev@company.com"]. | |
| subject | No | Optional subject line for the test email. Omit to use the default subject from the template. | |
| parameters | No | Optional custom parameters for merge-tag substitution in the test email. Key-value pairs where keys match merge tag names. Example: {name: "Juan", city: "Madrid"}. When provided, overrides sample user profile data for the corresponding tags. | |
| campaign_id | No | Optional campaign ID: send the test as that campaign will be sent (its sender, its own sender name and reply-to address). Omit to send it with the organization's default sender. | |
| template_id | Yes | The ID of the email template to send as a test. Use nevent_list_templates to discover valid template IDs. | |
| sample_user_id | No | Optional user ID for merge-tag personalization in the test email. When provided, {{name}}, {{email}} and custom fields are resolved from this user's profile. Takes priority over sample_user_email. | |
| sample_user_email | No | Optional user email within the active tenant for merge-tag personalization. Ignored when sample_user_id is also provided. |