Skip to content

Instantly share code, notes, and snippets.

Created November 16, 2016 20:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/5e399d43496c0998f149a76ceaead4b9 to your computer and use it in GitHub Desktop.
Save anonymous/5e399d43496c0998f149a76ceaead4b9 to your computer and use it in GitHub Desktop.
{
"workflowApiVersion": "1.1",
"useJwt": false,
"useSso": false,
"metaData": {
"icon": "../../images/send-logo.png",
"iconSmall": "../../images/send-logo-small.png",
"category": "message"
},
"type": "REST",
"lang": {
"en-US": {
"name": "Targeting",
"description": "Targeting"
}
},
"arguments": {
"execute": {
"inArguments": [],
"outArguments": [{"targetingID": ""}],
"url": "/send/execute",
"verb": "POST",
"headers": "",
"body": "",
"format": "json",
"useJwt": false,
"timeout": 10000
}
},
"configurationArguments": {
"applicationExtensionKey": "send",
"save": {
"url": "/send/save"
},
"publish": {
"url": "/send/publish"
},
"validate": {
"url": "/send/validate"
}
},
"wizardSteps": [
{ "label": "Step 1", "key": "step1" }
],
"userInterfaces": {
"configModal": {
"height": 200,
"width": 300,
"fullscreen": true
}
}
}
{
"id": "d4be6e0b-3aa9-450a-bad7-8vr45ecdf081",
"key": "5bd51cea-27df-4eae-6378-f6d4982r9538",
"name": "TestJourneyOne",
"lastPublishedDate": "0001-01-01T00:00:00",
"description": "",
"version": 1,
"workflowApiVersion": 1,
"createdDate": "2016-11-16T14:35:50.563",
"modifiedDate": "2016-11-16T14:49:54.793",
"activities": [
{
"id": "4f4d017b-5231-4a94-93ef-7cmq920dcda3",
"key": "WAIT-1",
"name": "",
"description": "",
"type": "WAIT",
"outcomes": [
{
"key": "98ad4a7d-2088-452f-981e-0u7q79c718f6",
"next": "REST-1",
"arguments": {},
"metaData": {}
}
],
"arguments": {},
"configurationArguments": {
"waitDuration": 1,
"waitUnit": "MINUTES"
},
"metaData": {
"waitType": "duration"
},
"schema": {
"arguments": {
"endDate": {
"dataType": "Date",
"isNullable": false,
"direction": "Out",
"readOnly": false,
"access": "Hidden"
},
"waitDefinitionId": {
"dataType": "Text",
"isNullable": false,
"direction": "In",
"readOnly": false,
"access": "Hidden"
},
"waitForEventId": {
"dataType": "Text",
"isNullable": true,
"direction": "In",
"readOnly": false,
"access": "Hidden"
},
"executionMode": {
"dataType": "Text",
"isNullable": false,
"direction": "In",
"readOnly": false,
"access": "Hidden"
},
"startActivityKey": {
"dataType": "Text",
"isNullable": true,
"direction": "In",
"readOnly": false,
"access": "Hidden"
},
"waitQueueId": {
"dataType": "LongNumber",
"isNullable": true,
"direction": "In",
"readOnly": false,
"access": "Hidden"
}
}
}
},
{
"id": "a344341b-bc35-47f2-b786-1ca2c5ab5585",
"key": "WAIT-2",
"name": "",
"description": "",
"type": "WAIT",
"outcomes": [
{
"key": "53d6214a-9eb8-4c0d-ab54-35c2dcdq87f9",
"next": "REST-3",
"arguments": {},
"metaData": {}
}
],
"arguments": {},
"configurationArguments": {
"waitDuration": 2,
"waitUnit": "MINUTES"
},
"metaData": {
"waitType": "duration"
},
"schema": {
"arguments": {
"endDate": {
"dataType": "Date",
"isNullable": false,
"direction": "Out",
"readOnly": false,
"access": "Hidden"
},
"waitDefinitionId": {
"dataType": "Text",
"isNullable": false,
"direction": "In",
"readOnly": false,
"access": "Hidden"
},
"waitForEventId": {
"dataType": "Text",
"isNullable": true,
"direction": "In",
"readOnly": false,
"access": "Hidden"
},
"executionMode": {
"dataType": "Text",
"isNullable": false,
"direction": "In",
"readOnly": false,
"access": "Hidden"
},
"startActivityKey": {
"dataType": "Text",
"isNullable": true,
"direction": "In",
"readOnly": false,
"access": "Hidden"
},
"waitQueueId": {
"dataType": "LongNumber",
"isNullable": true,
"direction": "In",
"readOnly": false,
"access": "Hidden"
}
}
}
},
{
"id": "ef24e556-1223-475e-ad3a-2261590byp71",
"key": "REST-3",
"name": "UntargetMessageOne",
"description": "",
"type": "REST",
"outcomes": [
{
"key": "bde86a67-a4c8-4630-854e-97b235817784",
"next": "WAIT-6",
"arguments": {},
"metaData": {}
}
],
"arguments": {
"execute": {
"inArguments": [
{
"messageName": "Message1"
},
{
"untargetDE": "SmallScaleMessageHistory"
},
{
"targetingID": "{{Interaction.REST-1.targetingID}}"
}
],
"url": "/remove/execute",
"verb": "POST",
"headers": "",
"body": "",
"format": "json",
"useJwt": false,
"timeout": 10000
}
},
"configurationArguments": {
"applicationExtensionKey": "remove",
"save": {
"url": "/remove/save"
},
"publish": {
"url": "/remove/publish"
},
"validate": {
"url": "/remove/validate"
}
},
"metaData": {
"icon": "../../images/remove-logo.png",
"iconSmall": "../../images/remove-logo-small.png",
"category": "message",
"isConfigured": true
}
},
{
"id": "c2dc67c3-aa46-45b4-860c-9d4a7020d134",
"key": "REST-1",
"name": "SendMessageOne",
"description": "",
"type": "REST",
"outcomes": [
{
"key": "d6203009-31d1-4f8a-9e29-37514b0bb66f",
"next": "WAIT-2",
"arguments": {},
"metaData": {}
}
],
"arguments": {
"execute": {
"inArguments": [
{
"activity-name": "SendMessageOne"
},
{
"message-selector": "http://pub.s1.exacttarget.com/gcmwkn1d3jf"
},
{
"placement": "TOP"
},
{
"platform-filter": "ALL"
},
{
"build-filter": "NONE"
},
{
"COLORS": "{{Contact.Attribute.AllUsers.Color}}"
},
{
"MessageHistory": "SmallScaleMessageHistory"
},
{
"MessageName": "Message1"
}
],
"outArguments": [
{
"targetingID": ""
}
],
"url": "/send/execute",
"verb": "POST",
"headers": "",
"body": "",
"format": "json",
"useJwt": false,
"timeout": 10000
}
},
"configurationArguments": {
"save": {
"url": "/send/save"
},
"publish": {
"url": "/send/publish"
},
"validate": {
"url": "/send/validate"
},
"applicationExtensionKey": "send"
},
"metaData": {
"icon": "../../images/send-logo.png",
"iconSmall": "../../images/send-logo-small.png",
"category": "message",
"isConfigured": true
}
},
{
"id": "77127781-433e-49f6-8778-e5dff3d27a97",
"key": "WAIT-6",
"name": "",
"description": "",
"type": "WAIT",
"outcomes": [
{
"key": "b18ba98b-8e2d-4676-b950-93ac3370b7e7",
"arguments": {},
"metaData": {}
}
],
"arguments": {},
"configurationArguments": {
"waitDuration": 1,
"waitUnit": "DAYS"
},
"metaData": {
"waitType": "duration"
},
"schema": {
"arguments": {
"endDate": {
"dataType": "Date",
"isNullable": false,
"direction": "Out",
"readOnly": false,
"access": "Hidden"
},
"waitDefinitionId": {
"dataType": "Text",
"isNullable": false,
"direction": "In",
"readOnly": false,
"access": "Hidden"
},
"waitForEventId": {
"dataType": "Text",
"isNullable": true,
"direction": "In",
"readOnly": false,
"access": "Hidden"
},
"executionMode": {
"dataType": "Text",
"isNullable": false,
"direction": "In",
"readOnly": false,
"access": "Hidden"
},
"startActivityKey": {
"dataType": "Text",
"isNullable": true,
"direction": "In",
"readOnly": false,
"access": "Hidden"
},
"waitQueueId": {
"dataType": "LongNumber",
"isNullable": true,
"direction": "In",
"readOnly": false,
"access": "Hidden"
}
}
}
}
],
"triggers": [],
"goals": [],
"stats": {
"currentPopulation": 0,
"cumulativePopulation": 0,
"metGoal": 0,
"goalPerformance": 0
},
"entryMode": "MultipleEntries",
"defaults": {
"email": [
"{{Contact.Default.Email}}"
]
}
}
{
"workflowApiVersion": "1.1",
"useJwt": false,
"useSso": false,
"metaData": {
"icon": "../../images/remove-logo.png",
"iconSmall": "../../images/remove-logo-small.png",
"category": "message"
},
"type": "REST",
"lang": {
"en-US": {
"name": "Untarget",
"description": "Untarget"
}
},
"arguments": {
"execute": {
"inArguments": [{"targetingID": ""}],
"url": "/remove/execute",
"verb": "POST",
"headers": "",
"body": "",
"format": "json",
"useJwt": false,
"timeout": 10000
}
},
"configurationArguments": {
"applicationExtensionKey": "remove",
"save": {
"url": "/remove/save"
},
"publish": {
"url": "/remove/publish"
},
"validate": {
"url": "/remove/validate"
}
},
"wizardSteps": [
{ "label": "Step 1", "key": "step1" }
],
"userInterfaces": {
"configModal": {
"height": 200,
"width": 300,
"fullscreen": true
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment