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

Preview:

Citation preview

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

Rajesh Talele

Bright Aspects, Inc

Rajesh@BrightAspects.com

Marketo Champion ­ 2016

Twitter: @RajeshTalele

Linkedin.com/in/RajeshTalele

By,

1.Updatedata

in Marketo

You can not write data to the Marketo databaseusing velocity script

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

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.

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.

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.

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.

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.

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,

Thankyou

for reading....

Rajesh TaleleBright Aspects, IncRajesh@BrightAspects.com

Twitter: @RajeshTaleleLinkedin.com/in/RajeshTalele

Recommended