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.

FieldTypeRequiredDefaultConstraintsExample
campaign_id
The campaign id returned by Mailchimp: Create Campaign or List Campaigns.
stringYes———
test_emails
Addresses to send the test to, as a JSON array of strings.
arrayYes—≥ 1 characters; array of string—
send_type
Which version of the campaign to send as the test.
stringNohtmlone 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

FieldTypeExample
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.