marketing automation with dotcms

19
@dotcms

Upload: jason-smith

Post on 09-Jul-2015

190 views

Category:

Software


1 download

DESCRIPTION

Marketing Automation with dotCMS Presentation from BootCamp 2014 DotCMS + Content + REST + Workflows + OSGI + Actionlets = Very flexible marketing automation tool. Will Ezell shares how to use the out of the box features in dotCMS to deliver customized marketing experiences, enable ecommerce and Salesforce integration. This session will give you insight into how dotCMS can be leveraged as one very powerful and ultra-flexible marketing automation machine.

TRANSCRIPT

Page 1: Marketing Automation with dotCMS

@dotcms

Page 2: Marketing Automation with dotCMS

Marketing AutomationdotCMS as a Marketing Funnel

Page 3: Marketing Automation with dotCMS

Marketing Automation

How we use this now• Landing Page Calls to Action

• Trial License Requests / Fulfillment

• Cloud Purchases - Generate a payment/subscription

link using Amazon’s payment service

Page 4: Marketing Automation with dotCMS

Marketing Automation

Ingredients• Content (any kind will do)

• HTML Forms (with some js sugar)

• RESTful Web Services

• Workflows

• OSGi

• Actionlets

Page 5: Marketing Automation with dotCMS

Marketing Automation

Trial License Content Type

• Just Content!

• Textarea for

license

• Capture remote IP

• Careful with

required fields

Page 6: Marketing Automation with dotCMS

Marketing Automation

Trial License Form

• Simple Form

• JS and Server Side

Validation

• Uses jquery ajax to

post into the

contentAPI

Page 7: Marketing Automation with dotCMS

Marketing Automation

1

2

3

4

5

6

7

8

9

10

11

12

Trial License Form Code

$(document).ready(function() {

$("#newPost").submit(function(e) {

e.preventDefault();

var dataObj={

'ipAddress': "107.17.98.234",

'stName':'LicenseRequest'

};

if($('#name').val() != undefined && $('#name').val().length > 0){

dataObj.name = $('#name').val();

}

if($('#email').val() != undefined && $('#email').val().length > 0){

dataObj.email = $('#email').val();

}

if($('#company').val() != undefined && $('#company').val().length > 0){

dataObj.company = $('#company').val();

}

if($('#phone').val() != undefined && $('#phone').val().length > 0){

dataObj.phone = $('#phone').val();

}

if($('#contactMe-0').is(':checked')){

dataObj.contactMe = true;

Page 8: Marketing Automation with dotCMS

Marketing Automation

Trial License Workflow

• 3 Steps:

• Initial Request

• License Sent

• Pending Followup

• Send License Actions

Happens Automatically on

Content Submit.

• Mandatory Workflow

Page 9: Marketing Automation with dotCMS

Marketing Automation

• Uses Custom Actionlet

• Can do multiple sub

actions in a single action

Send License Workflow Action

• “Generate dotCMS

License” creates license

code, Sends Email, and

automatically publishes

and notify users sends

bizdev an email

Page 10: Marketing Automation with dotCMS

Marketing Automation

Send Email Actionlet

• Takes custom

parameters

• Available on Github

• Sends an email (velocity

.vtl file)

• Reusable - used to

• Marketing Contact

• Cloud Purchases

Page 11: Marketing Automation with dotCMS

Marketing Automation

User Picks up License

Page 12: Marketing Automation with dotCMS

Marketing Automation

Javascript fires workflow

Page 13: Marketing Automation with dotCMS

Marketing Automation

1

2

3

4

5

6

7

8

9

10

11

12

Javascript fires Workflow on Page View

var dotContent = {

"workflowEndPoint" :

“/DotAjaxDirector/com.dotmarketing.portlets.workflows.ajax.WfTaskAjax?cmd=executeAction

&r=0.3753547026720653",

"fireWorkflow" : function(contentInode, workflowId){

var dataObj={

"wfActionId" : workflowId,

"wfContentletId" : contentInode

}

$.ajax({

url: this.workflowEndPoint,

type: 'POST',

cache:false,

data: dataObj,

success: function(data,status,xhr) {

console.log("works!");

},

error: function(data,status,xhr) {

alert("Workflow Failed");

}

Page 14: Marketing Automation with dotCMS

Marketing Automation

Post to Salesforce

• Takes the content as a

param

• Sets fields using

velocity - can include

logic

• Uses Salesforce Web

to Lead Form

Page 15: Marketing Automation with dotCMS

Marketing Automation

Post to Salesforce

Page 16: Marketing Automation with dotCMS

Marketing Automation

Cloud Purchase Process

Page 17: Marketing Automation with dotCMS

Marketing Automation

Cloud Purchase Process

Page 18: Marketing Automation with dotCMS

Marketing Automation

Cloud Purchase Process

Page 19: Marketing Automation with dotCMS

Thank You!