Skip to content

Instantly share code, notes, and snippets.

@ilkovich
Created August 21, 2015 14:46
Show Gist options
  • Select an option

  • Save ilkovich/fe0c2ee51053196ca3da to your computer and use it in GitHub Desktop.

Select an option

Save ilkovich/fe0c2ee51053196ca3da to your computer and use it in GitHub Desktop.
{
"data": {
"bookmarklet": {
"input": [
{
"url": "http://www.nytimes.com/"
},
{
"url": "http://www.nytimes.com/2015/08/22/us/politics/joe-bidens-role-in-90s-crime-\u2026k&pgtype=Homepage&module=photo-spot-region&region=top-news&WT.nav=top-news"
}
],
"output": [
{
"url": "http://www.nytimes.com/"
},
{
"url": "http://www.nytimes.com/2015/08/22/us/politics/joe-bidens-role-in-90s-crime-\u2026k&pgtype=Homepage&module=photo-spot-region&region=top-news&WT.nav=top-news"
}
]
},
"dextersms": {
"input": {
"phone_number": "2404189814"
},
"output": {}
},
"webhook": {
"input": {
"_": "_"
},
"output": {
"_": "_"
}
},
"wfdataFetch": {
"input": {
"class_name": "store"
},
"output": {}
},
"wfdataQueue": {
"input": [
{
"class_name": "store"
},
{
"class_name": "store"
}
],
"output": [
{},
{}
]
}
},
"environment": [],
"instance_id": "55d738b618d45",
"instance_state": {
"active_step": "dextersms",
"creator": "in-flow",
"last_orchestrator": "04f4f8d0-4813-11e5-a14f-89c74ce1028e",
"oncomplete": "dexter-orchestrator-v001"
},
"modules": {
"dexter-sms": {
"created_at": "2015-07-01 18:55:14",
"form_checkout": null,
"form_run": null,
"form_settings": null,
"git_url": null,
"is_global": "1",
"meta": {
"icon": "mobile",
"inputs": [
{
"id": "phone_number",
"title": "Phone Number",
"type": "string"
},
{
"id": "message",
"title": "Message",
"type": "string"
}
],
"outputs": [],
"title": "Dexter SMS"
},
"name": "dexter-sms",
"package": {
"author": "Someone Somewhere",
"dependencies": {
"lodash": "^3.9.3",
"restler": "^3.2.2"
},
"description": "",
"license": "ISC",
"main": "index.js",
"name": "dexter-sms",
"version": "0.0.1"
},
"title": "Dexter SMS",
"type": "global",
"updated_at": "2015-07-01 18:56:48",
"user_id": "1"
},
"trigger-bookmarklet": {
"created_at": "2015-06-29 14:02:39",
"form_checkout": null,
"form_run": null,
"form_settings": null,
"git_url": null,
"is_global": "1",
"meta": {
"icon": "bookmark",
"inputs": [],
"name": "trigger-bookmarklet",
"outputs": [
{
"id": "url",
"title": "URL",
"type": "string"
}
],
"title": "Bookmarklet",
"type": "trigger"
},
"name": "trigger-bookmarklet",
"package": {
"name": "trigger-bookmarklet",
"version": "0.0.1"
},
"title": "Bookmarklet",
"type": "trigger",
"updated_at": "2015-06-29 14:02:39",
"user_id": "1"
},
"trigger-webhook": {
"created_at": "2015-06-29 14:02:40",
"form_checkout": null,
"form_run": null,
"form_settings": null,
"git_url": null,
"is_global": "1",
"meta": {
"dynamicOutputs": true,
"icon": "play-circle",
"inputs": [],
"name": "trigger-webhook",
"outputs": [],
"title": "Webhook",
"type": "trigger"
},
"name": "trigger-webhook",
"package": {
"name": "trigger-webhook",
"version": "0.0.1"
},
"title": "Webhook",
"type": "trigger",
"updated_at": "2015-06-29 14:02:40",
"user_id": "1"
},
"wfdata_fetch": {
"created_at": "2015-08-14 12:45:03",
"form_checkout": null,
"form_run": null,
"form_settings": null,
"git_url": null,
"is_global": "1",
"meta": {
"dynamicInputs": true,
"icon": "database",
"inputs": [
{
"id": "class_name",
"title": "Class Name",
"type": "string"
}
],
"name": "wfdata_fetch",
"outputs": [],
"title": "Fetch",
"type": "core"
},
"name": "wfdata_fetch",
"package": {
"name": "wfdata_fetch",
"version": "0.0.1"
},
"title": "Fetch",
"type": "core",
"updated_at": "2015-08-14 12:45:03",
"user_id": "1"
},
"wfdata_queue": {
"created_at": "2015-08-14 12:44:55",
"form_checkout": null,
"form_run": null,
"form_settings": null,
"git_url": null,
"is_global": "1",
"meta": {
"dynamicInputs": true,
"icon": "database",
"inputs": [
{
"id": "class_name",
"title": "Class Name",
"type": "string"
}
],
"name": "wfdata_queue",
"outputs": [],
"title": "Queue",
"type": "core"
},
"name": "wfdata_queue",
"package": {
"name": "wfdata_queue",
"version": "0.0.1"
},
"title": "Queue",
"type": "core",
"updated_at": "2015-08-14 12:44:55",
"user_id": "1"
}
},
"simulation": false,
"steps": {
"bookmarklet": {
"id": "bookmarklet",
"next": [
{
"id": "wfdataQueue",
"input_map": {
"class_name": "\"store\""
}
}
],
"title": "Bookmarklet",
"type": "trigger",
"type_name": "trigger-bookmarklet",
"ui": {
"customInputs": [],
"height": 63,
"inputs": [],
"width": 150,
"x": 550,
"y": 105
}
},
"dextersms": {
"id": "dextersms",
"next": [
[]
],
"prev": "wfdataFetch",
"title": "Dexter SMS",
"type": "global",
"type_name": "dexter-sms",
"ui": {
"customInputs": [],
"height": 63,
"inputs": [
{
"expression": "",
"id": "phone_number",
"selector_type": "user",
"title": "Phone Number",
"type": "string"
},
{
"expression": "=dexter.step('bookmarklet').output('url')",
"id": "message",
"selector_type": "literal",
"title": "Message",
"type": "string"
}
],
"width": 150,
"x": 950,
"y": 500
}
},
"webhook": {
"id": "webhook",
"next": [
{
"id": "wfdataFetch",
"input_map": {
"class_name": "\"store\""
}
}
],
"title": "Webhook",
"type": "trigger",
"type_name": "trigger-webhook",
"ui": {
"customInputs": [],
"height": 63,
"inputs": [],
"width": 150,
"x": 900,
"y": 105
}
},
"wfdataFetch": {
"id": "wfdataFetch",
"next": [
{
"id": "dextersms",
"input_map": {
"message": "dexter.step('bookmarklet').output('url')",
"phone_number": "dexter.user('form.dextersms.phone_number')"
}
}
],
"prev": "webhook",
"title": "Fetch",
"type": "core",
"type_name": "wfdata_fetch",
"ui": {
"customInputs": [],
"height": 63,
"inputs": [
{
"expression": "store",
"id": "class_name",
"selector_type": "literal",
"title": "Class Name",
"type": "string"
}
],
"width": 100,
"x": 950,
"y": 300
}
},
"wfdataQueue": {
"id": "wfdataQueue",
"next": [
[]
],
"prev": "bookmarklet",
"title": "Queue",
"type": "core",
"type_name": "wfdata_queue",
"ui": {
"customInputs": [],
"height": 63,
"inputs": [
{
"expression": "store",
"id": "class_name",
"selector_type": "literal",
"title": "Class Name",
"type": "string"
}
],
"width": 100,
"x": 600,
"y": 350
}
}
},
"ui": {
"environmentOrder": [],
"isConfiguring": true,
"simulation": []
},
"urls": {
"home": "https://beta.rundexter.com/",
"logger": "https://beta.rundexter.com:3000/message"
},
"user": {
"form": {
"dextersms": {
"phone_number": "2404189814"
}
},
"profile": {
"api_key": "e3e96ced447e86ac609a572bbc1b08a5cf3eda29de95a74ec03d8f0e54f3fe0b",
"created_at": "2015-06-29 13:38:05",
"email": "[email protected]",
"first_name": "D",
"id": "1",
"image": "//www.gravatar.com/avatar/953c24efbb0588e134974462b8e18a7a/?d=https%3A%2F%2Fbeta.rundexter.com%2Fimages%2Favatars%2Favatar-06.png",
"last_name": "I",
"name": "Daniel Ilkovich",
"status": [
"registered",
"tutorial-completed"
],
"updated_at": "2015-08-19 18:32:26"
},
"providers": null
},
"workflow": {
"description": "Storage Test",
"id": "5cad0ee0-4811-11e5-9ca0-151e2f8b1bd3",
"title": "Storage Test"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment