I am developing an email locally that is tightly coupled with both AMPScript and a Python application. Almost all content including text and images uses AMPScript for one reason or another. This makes local development very hard because if you want to change anything you have to run it through the Content Builder to see your changes.
So for example if I change the font size on a headline I have to reload the page in my Python application, copy the generated HTML, save that on a public server, and then run the Content Builder in Marketing Cloud that uses httpget()
to call the public page, then finally I can see what the email now looks like. It takes about 5 minutes in total for each test. Is there a better way to do this?
Solutions would include:
- Executing AMPScript locally, maybe with dummy data.
- Calling an API with the full HTML body and receiving the rendered result
With either solution I could develop programmatically instead of repeatedly copying and pasting HTML by hand.