marketo op trigger campaign

Trigger Marketo Campaign

Version: 17.07

Supported Since: 17.07

Trigger Marketo Campaign connector operation can be used to pass a set of leads to a trigger campaign to run through the campaign’s flow. The designated campaign must have a Campaign is Requested: Web Service API trigger, and must be active. My tokens local to the campaign’s parent program can be overridden for the run to customize content.

This operation requires Execute Campaign permission from Marketo API.

Parameters

* marked fields are mandatory

Campaign ID *

Basic

The ID of the batch campaign to trigger. This should be an integer and can be specified as a constant value or as a combination of placeholder expressions.

Request

This operation expects the request message to contain the campaign trigger request as a JSON payload of the following format.

{
  "input": {
    "leads": [
      {
        "id": 0
      }
    ],
    "tokens": [
      {
        "name": "string",
        "value": "string"
      }
    ]
  }
}

Response

If this operation was invoked successfully, it will provide a response message with a JSON payload of the following format.

{
  "errors": [
    {
      "code": 0,
      "message": "string"
    }
  ],
  "moreResult": false,
  "nextPageToken": "string",
  "requestId": "string",
  "result": [
    {
      "active": false,
      "createdAt": "string",
      "description": "string",
      "id": 0,
      "name": "string",
      "programId": 0,
      "programName": "string",
      "type": "batch",
      "updatedAt": "string",
      "workspaceName": "string"
    }
  ],
  "success": false,
  "warnings": [
    {
      "code": 0,
      "message": "string"
    }
  ]
}
In this topic
In this topic
Contact Us