{"action":"created","issue":{"url":"https://api.github.com/repos/Kademi/kademi-dev/issues/1627","repository_url":"https://api.github.com/repos/Kademi/kademi-dev","labels_url":"https://api.github.com/repos/Kademi/kademi-dev/issues/1627/labels{/name}","comments_url":"https://api.github.com/repos/Kademi/kademi-dev/issues/1627/comments","events_url":"https://api.github.com/repos/Kademi/kademi-dev/issues/1627/events","html_url":"https://github.com/Kademi/kademi-dev/issues/1627","id":147192984,"number":1627,"title":"Customer journey builder","user":{"login":"bradmac","id":826458,"avatar_url":"https://avatars.githubusercontent.com/u/826458?v=3","gravatar_id":"","url":"https://api.github.com/users/bradmac","html_url":"https://github.com/bradmac","followers_url":"https://api.github.com/users/bradmac/followers","following_url":"https://api.github.com/users/bradmac/following{/other_user}","gists_url":"https://api.github.com/users/bradmac/gists{/gist_id}","starred_url":"https://api.github.com/users/bradmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradmac/subscriptions","organizations_url":"https://api.github.com/users/bradmac/orgs","repos_url":"https://api.github.com/users/bradmac/repos","events_url":"https://api.github.com/users/bradmac/events{/privacy}","received_events_url":"https://api.github.com/users/bradmac/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Kademi/kademi-dev/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"bradmac","id":826458,"avatar_url":"https://avatars.githubusercontent.com/u/826458?v=3","gravatar_id":"","url":"https://api.github.com/users/bradmac","html_url":"https://github.com/bradmac","followers_url":"https://api.github.com/users/bradmac/followers","following_url":"https://api.github.com/users/bradmac/following{/other_user}","gists_url":"https://api.github.com/users/bradmac/gists{/gist_id}","starred_url":"https://api.github.com/users/bradmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradmac/subscriptions","organizations_url":"https://api.github.com/users/bradmac/orgs","repos_url":"https://api.github.com/users/bradmac/repos","events_url":"https://api.github.com/users/bradmac/events{/privacy}","received_events_url":"https://api.github.com/users/bradmac/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Kademi/kademi-dev/milestones/195","html_url":"https://github.com/Kademi/kademi-dev/milestones/TottenhamHotspurFC.2","labels_url":"https://api.github.com/repos/Kademi/kademi-dev/milestones/195/labels","id":1780679,"number":195,"title":"TottenhamHotspurFC.2","description":"New Column:\r\n- PointsDebit - reasonCode","creator":{"login":"bradmac","id":826458,"avatar_url":"https://avatars.githubusercontent.com/u/826458?v=3","gravatar_id":"","url":"https://api.github.com/users/bradmac","html_url":"https://github.com/bradmac","followers_url":"https://api.github.com/users/bradmac/followers","following_url":"https://api.github.com/users/bradmac/following{/other_user}","gists_url":"https://api.github.com/users/bradmac/gists{/gist_id}","starred_url":"https://api.github.com/users/bradmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradmac/subscriptions","organizations_url":"https://api.github.com/users/bradmac/orgs","repos_url":"https://api.github.com/users/bradmac/repos","events_url":"https://api.github.com/users/bradmac/events{/privacy}","received_events_url":"https://api.github.com/users/bradmac/received_events","type":"User","site_admin":false},"open_issues":48,"closed_issues":38,"state":"open","created_at":"2016-05-21T21:37:28Z","updated_at":"2016-05-27T03:13:21Z","due_on":"2016-05-26T12:00:00Z","closed_at":null},"comments":6,"created_at":"2016-04-10T04:43:56Z","updated_at":"2016-05-27T03:23:26Z","closed_at":null,"body":"To give administrators the ability to graphically design customer journeys across multiple touch points. This is basially a new generation alternative to automations.\r\n\r\nThe journey will be edited as a directed graph, probably using this tool - http://www.jointjs.com/demos/fsa\r\n\r\nThe graph collectively represents the design of a customer journey. It will be called a Journey Definition. The graph consists of nodes representing actions, events and wait states\r\n- action: an extensible list of action types, including EDM (SMS and/or email), add to group, award points, etc. Same as for automations. An action has a single next node to proceed to. Each action has an ID which is unique within the journey definition\r\n\r\n- wait state: similar to a goal, this represents something that we're waiting for, such as \"purchase product\" or \"Register\". A wait state can have a list of events, which will trigger a change to a new node. It can also have a timer, which will cause a transition to a single next node after some period of time.\r\n\r\n- event: these are part of a wait state. They will cause a transition from one wait state to another. Includes all trigger events used by automations. An event has a single next node to proceed to.\r\n\r\n- decision: a node which links to one or more next states based on rule evaluation. Eg \"if age > 65, go to retiring soon\"\r\n\r\nThe journey will be stored as json or XML in its own repository. Associated content, such as for EDM's, will be stored in the same repository.\r\n\r\nA journey can be linked to websites. The link is stored at the website branch level, and identifies the version (ie branch) of the journey definition.\r\n\r\nAny new journeys will be created based on the specified version of the journey. \r\n\r\nAll functions available with automations need to be duplicated for journeys. \r\n\r\nNote that currently email items are linked to an email job. To reproduce similar functionality email items needs to be linked to the journey definition and to the action by name."},"comment":{"url":"https://api.github.com/repos/Kademi/kademi-dev/issues/comments/222051468","html_url":"https://github.com/Kademi/kademi-dev/issues/1627#issuecomment-222051468","issue_url":"https://api.github.com/repos/Kademi/kademi-dev/issues/1627","id":222051468,"user":{"login":"bradmac","id":826458,"avatar_url":"https://avatars.githubusercontent.com/u/826458?v=3","gravatar_id":"","url":"https://api.github.com/users/bradmac","html_url":"https://github.com/bradmac","followers_url":"https://api.github.com/users/bradmac/followers","following_url":"https://api.github.com/users/bradmac/following{/other_user}","gists_url":"https://api.github.com/users/bradmac/gists{/gist_id}","starred_url":"https://api.github.com/users/bradmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradmac/subscriptions","organizations_url":"https://api.github.com/users/bradmac/orgs","repos_url":"https://api.github.com/users/bradmac/repos","events_url":"https://api.github.com/users/bradmac/events{/privacy}","received_events_url":"https://api.github.com/users/bradmac/received_events","type":"User","site_admin":false},"created_at":"2016-05-27T03:23:26Z","updated_at":"2016-05-27T03:23:26Z","body":"Here's a simple funnel.json. You can generate this from running FunnelCacheTest\r\n```\r\n{\r\n  \"name\" : \"Car sales\",\r\n  \"title\" : \"Cusstomer requests test drive\",\r\n  \"leadsGroup\" : \"carEnquries\",\r\n  \"defaultInitialGoal\" : \"Direct Entry\",\r\n  \"sources\" : [ \"facebook\", \"google search\", \"google ad\", \"website\" ],\r\n  \"stages\" : [ {\r\n    \"name\" : \"cold\",\r\n    \"desc\" : \"Cold - First contact\"\r\n  }, {\r\n    \"name\" : \"warm\",\r\n    \"desc\" : \"Warn - engaged\"\r\n  }, {\r\n    \"name\" : \"host\",\r\n    \"desc\" : \"Hot - proposal\"\r\n  } ],\r\n  \"nodes\" : [ {\r\n    \"begin\" : {\r\n      \"nodeId\" : \"submitForm\",\r\n      \"transition\" : {\r\n        \"nextNodeId\" : \"recordNewLead\",\r\n        \"trigger\" : {\r\n          \"contactFormTrigger\" : {\r\n            \"contactFormPath\" : \"/contactus\",\r\n            \"websiteName\" : \"infiniti-landingpage\",\r\n            \"description\" : \"Contact form: /contactus\"\r\n          }\r\n        }\r\n      },\r\n      \"onePerProfile\" : false,\r\n      \"stageName\" : \"cold\",\r\n      \"source\" : \"'testDrivePage'\",\r\n      \"x\" : 0,\r\n      \"y\" : 0\r\n    }\r\n  }, {\r\n    \"createDataSeriesAction\" : {\r\n      \"nextNodeId\" : \"setModel\",\r\n      \"x\" : 200,\r\n      \"y\" : 100,\r\n      \"dataSeriesName\" : \"newLeads\",\r\n      \"amountMvel\" : \"1\",\r\n      \"recordDateMvel\" : \"createDate\",\r\n      \"nodeId\" : \"recordNewLead\"\r\n    }\r\n  }, {\r\n    \"setField\" : {\r\n      \"nextNodeId\" : \"arrange-time\",\r\n      \"x\" : 350,\r\n      \"y\" : 300,\r\n      \"fieldName\" : \"model\",\r\n      \"fieldValueMvel\" : \"requests.params.model\",\r\n      \"nodeId\" : \"setModel\"\r\n    }\r\n  }, {\r\n    \"createTaskAction\" : {\r\n      \"nextNodeId\" : \"testDriveBooked\",\r\n      \"x\" : 400,\r\n      \"y\" : 50,\r\n      \"taskName\" : null,\r\n      \"frequency\" : \"days\",\r\n      \"periodMultiples\" : 3,\r\n      \"runHour\" : null,\r\n      \"assignToOrgRule\" : \"'hk'\",\r\n      \"assignToGroupRule\" : \"'retail'\",\r\n      \"titleMvel\" : null,\r\n      \"descriptionMvel\" : \"Contact the customer to arrange a time\",\r\n      \"nodeId\" : \"arrange-time\"\r\n    }\r\n  }, {\r\n    \"goal\" : {\r\n      \"nodeId\" : \"testDriveBooked\",\r\n      \"x\" : 500,\r\n      \"y\" : 50,\r\n      \"timeoutMins\" : null,\r\n      \"timeoutNode\" : null,\r\n      \"stageName\" : \"hot\",\r\n      \"cost\" : null,\r\n      \"probability\" : null,\r\n      \"source\" : null,\r\n      \"transitions\" : [ {\r\n        \"nextNodeId\" : \"closeTheDeal\",\r\n        \"trigger\" : {\r\n          \"taskCompleteTrigger\" : {\r\n            \"taskName\" : \"arrange-time\",\r\n            \"description\" : \"Task complete: arrange-time\"\r\n          }\r\n        }\r\n      } ],\r\n      \"timoutTime\" : null,\r\n      \"name\" : \"testDriveBooked\"\r\n    }\r\n  }, {\r\n    \"goal\" : {\r\n      \"nodeId\" : \"closeTheDeal\",\r\n      \"x\" : 600,\r\n      \"y\" : 50,\r\n      \"timeoutMins\" : null,\r\n      \"timeoutNode\" : null,\r\n      \"stageName\" : \"hot\",\r\n      \"cost\" : null,\r\n      \"probability\" : null,\r\n      \"source\" : null,\r\n      \"transitions\" : null,\r\n      \"timoutTime\" : null,\r\n      \"name\" : \"closeTheDeal\"\r\n    }\r\n  } ],\r\n  \"extraFields\" : [ {\r\n    \"name\" : \"model\",\r\n    \"title\" : \"Vehicle model\",\r\n    \"required\" : true,\r\n    \"aggregate\" : true,\r\n    \"value\" : null\r\n  } ],\r\n  \"lostReasons\" : [ \"Customer not proceeding\", \"Price\", \"Competitor product\" ],\r\n  \"customerActivities\" : [ {\r\n    \"inbound\" : true,\r\n    \"id\" : \"callFrom\",\r\n    \"text\" : \"Call from customer\"\r\n  }, {\r\n    \"inbound\" : false,\r\n    \"id\" : \"callTo\",\r\n    \"text\" : \"Call from customer\"\r\n  }, {\r\n    \"inbound\" : true,\r\n    \"id\" : \"emailFrom\",\r\n    \"text\" : \"Email from customer\"\r\n  }, {\r\n    \"inbound\" : false,\r\n    \"id\" : \"emailTo\",\r\n    \"text\" : \"Email to customer\"\r\n  } ],\r\n  \"closedActions\" : null,\r\n  \"cancelledActions\" : null,\r\n  \"funnelTesters\" : null\r\n}\r\n```"}}
{"actor":{"display_login":"bradmac"}}