Re: Importing HTML into an Email/Template

Neil_Robertson6
Level 5

Importing HTML into an Email/Template

We have been working on using the REST API to import content into an email / template with mixed results (errors on import which we are working on now).    Other apps allow a neat way of an HTTP/S import but Marketo doesn't seem to so looking for ideas/suggestions.

Tags (3)
2 REPLIES 2
Josh_Hill13
Level 10 - Champion Alumni

Re: Importing HTML into an Email/Template

Have you tried using velocity scripting or the token insertion method that worked for Digesto?

Justin_Cooperm2
Level 10

Re: Importing HTML into an Email/Template

Our APIs are pretty extensive. You should be able to do pretty much anything you want.

Marketo REST APIs: Asset Objects » Marketo Developers

Check out the resource above. You can create a new Email Template programmatically, put in whatever HTML you want, then create a new Email using that template and send it out, all programmatically.