do you know when 'not' to use marketo email scripts?

15

Upload: rajesh-talele

Post on 21-Jan-2017

186 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Do you know when 'not' to use Marketo email scripts?

MARKETOEMAIL SCRIPTS?

D O Y O U K N O W W H E N ' N O T ' T O U S E

R A J E S H T A L E L E - M A R K E T O C H A M P I O N 2 0 1 6

Page 2: Do you know when 'not' to use Marketo email scripts?

Rajesh Talele

Bright Aspects, Inc

[email protected]

Marketo Champion ­ 2016

Twitter: @RajeshTalele

Linkedin.com/in/RajeshTalele

By,

Page 3: Do you know when 'not' to use Marketo email scripts?

1.Updatedata

in Marketo

You can not write data to the Marketo databaseusing velocity script

Page 4: Do you know when 'not' to use Marketo email scripts?

For example,

Your Marketo database have first names of some ofthe leads in uppercase. You want to 'fix' this dataand automatically convert it in proper name case.

You can use velocity script to manipulate thisdata before displaying in the email but ,You can not write the cleaned data back to Marketofor future use.

You will need to use a web hook for that.

Check out BrightHooks.com for web hooks you can build in 10 minutes

Page 6: Do you know when 'not' to use Marketo email scripts?

Email script runs when Marketo prepares theemail to be sent to a contact. You can onlyaccess information related to the contact towhom you are sending the email. Velocity scriptcan not access data related to another contact.

For example,If you want to look up current contact'smanager (which is another contact record) andthen print the title of the manager in the email.

You can not use Velocity script for that. Youmay use a web hook though.

Page 7: Do you know when 'not' to use Marketo email scripts?

Similarly, You can not print all the records in a Marketocustom object irrespective of the contact theybelong to.

Velocity script will only print all the customobject records for the current contact.

You will have to use Marketo API to access allthe records in a custom object.

Page 9: Do you know when 'not' to use Marketo email scripts?

It is not possble to trigger a smartcampaign using code in an email script.

For example,You want to evaluate certain criteria andtrigger some smart campaign if certaincondition is true.

You can not do that using email script.

Page 11: Do you know when 'not' to use Marketo email scripts?

Let's say you wanted to update anexternal system when an email is sentvia Marketo.

You can not post data to an externalsystem using Velocity email script inMarketo.

You should use a web hook for that.

Page 13: Do you know when 'not' to use Marketo email scripts?

If you want to fetch data in real time from anexternal system and use that data to renderthe email. Wondering if you can use emailscript for that?

Unfortunately, If you want the email script tobe able to manipulate data to render theemail, the data must be already present inMarketo and related to that particularcontact.

You can use a web hook or API to fetch datafrom external systems.

Page 14: Do you know when 'not' to use Marketo email scripts?

Velocity Email ScriptingWeb HooksAPI programmingForms 2.0 / Munchkin APIReal Time PersonalizationMarketo custom objectsComplex programs in Marketo

Please feel free to reach out

If you have any questions related to,

Page 15: Do you know when 'not' to use Marketo email scripts?

Thankyou

for reading....

Rajesh TaleleBright Aspects, [email protected]

Twitter: @RajeshTaleleLinkedin.com/in/RajeshTalele