Duplicate campaign

Copy a sent or draft campaign into a new draft.

MCP tool mailjet_write → duplicate_campaign

write

Does what Duplicate in the cogwheel menu of the Campaigns page does. The copy is a draft with the same design, list and sender. The draft reaches no one and you can delete it from the Draft tab, so it does not wait for your OK.

Parameters

Parameters: duplicate_campaign
NameTypeDescription
campaign_id integer required integer Campaign ID from list_campaigns.
name string string Name of the new draft. Only you see it.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "mailjet_write",
    "arguments": {
      "operation": "duplicate_campaign",
      "arguments": {
        "campaign_id": 1
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "campaign_id": 7182934615,
    "name": "Autumn offer, last chance",
    "status": "draft",
    "copied_from": 7164820931
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.