Send Test Campaign
mailchimp.test_campaign
ActionEmailconnection required
Calls the Mailchimp API with the connection's credentials.
Send a test of a campaign to named addresses. The test goes to real inboxes and does not touch the audience or the campaign's status.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Mailchimp
- Secret shape
- the Mailchimp API key (…-<dc>)
- Config it needs
- dc
- Resolved by
- config.connection_id, else node.connection_id
Configuration
3 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
campaign_id The campaign id returned by Mailchimp: Create Campaign or List Campaigns. | string | Yes | — | — | — |
test_emails Addresses to send the test to, as a JSON array of strings. | array | Yes | — | ≥ 1 characters; array of string | — |
send_type Which version of the campaign to send as the test. | string | No | html | one of "html", "plaintext" | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"send_type": "html"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
ok True once Mailchimp accepted the test (it answers 204). | boolean | — |
campaign_id The campaign the test was sent for. | string | — |
test_emails The addresses the test was sent to. | array | — |
{
"campaign_id": "",
"ok": false,
"test_emails": []
}See Send Test Campaign run in a workflow.
In a technical demo we add the Mailchimp connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.