Copy newsletter to a new draft
create_campaign_from_campaignCreates a new newsletter draft from the currently saved state of a draft or completed campaign in the authenticated inviomail tenant. It copies content, preview text, audience targeting, and an active sender identity. A source with conditional blocks can only be copied when dynamic content is enabled for the tenant. It never copies scheduling, recipients, delivery history, or statistics, and it does not send anything.
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": {
"sourceCampaignId": "<sourceCampaignId>",
"name": "<name>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "create_campaign_from_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Internal name of the new newsletter draft | |
| subject | No | Optional new subject; omit to copy the source subject | |
| idempotencyKey | Yes | Stable unique key for this copy attempt; reuse it only when retrying the same request | |
| sourceCampaignId | Yes | ID of a draft or completed source campaign |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| copied | Yes | ||
| source | Yes | ||
| campaign | Yes | ||
| requestId | Yes | ||
| idempotentReplay | Yes |