I am from the Babajob Services Pvt. Ltd. marketing team here in Bangalore, India.
We are on our way to integrate Marketo with our product (Website and Mobile Web) and Salesforce CRM.
We have certain use cases wherein marketo will have to directly interact with our product DB and fetch in data and populate and personalize the email content.
Email scripting in marketo developer docs state about Velocity. Could you guys help me out with if, Velocity Template Engine can be used to call or trigger external REST API POST requests to grab the dynamic data ? If yes, it would be great if I could use some sample or snippet as an example.
Thank You All.
You don't use Velocity for this, you use Webhooks.
Webhooks are designed to enhance lead data from external sources.
Our velocity implementation does not support outgoing requests at runtime. You'll need to look into an alternative like Webhooks as Sanford suggested.