Install a template
A Cycle is an instance of a template that’s been installed into an account.
Install a template with the Cyclr API
Request:
CODE
POST /v1.0/templates/{Template ID}/install
Authorization: Bearer ****************************************************************
X-Cyclr-Account: 00000000-0000-0000-0000-000000000000
Response:
CODE
{
"Id": "cf636e9c-13dd-47ea-b0e8-88a5bf7f7b00",
"CreatedOnUtc": "2017-12-06T16:21:46.0499829Z",
"TasksUsed": 0,
"ErrorCount": 0,
"WarningCount": 0,
"Connectors": [
{
"Id": 2550,
"AccountConnectorId": 51,
"Name": "Pipedrive",
"Version": "1.0",
"Authenticated": true,
"StepCount": 1,
"Icon": null
},
{
"Id": 2582,
"AccountConnectorId": 52,
"Name": "MailChimp",
"Version": "v3",
"Authenticated": true,
"StepCount": 1,
"Icon": null
}
],
"Status": "Paused",
"LastSuccessfulRunDate": "0001-01-01T00:00:00",
"InProgressTransactionCount": 0,
"Name": "Pipedrive > MailChimp",
"Description": null,
"Shareable": false,
"ContinueOnStepError": true,
"LogStepDataRequests": true,
"StepDataSuccessRetentionHours": null,
"StepDataErroredRetentionHours": null,
"TemplateId": "7ad2265e-2ff0-477b-b913-cae1dfde2ea8"
}
Note: If you install a template, Cyclr also installs all of the connectors the cycle needs to run.