Question
Create email content in Apex in Salesforce, but send through Marketo
We are looking to run some automation to send emails for our renewal orders. These objects are way too deep for Marketo so see confidently and there's several checks and balances that should be done prior to sending the emails.
What I'd like to do is have a Salesforce Batch job create the email content, a PDF attachment blob and ask marketo to email that to a number of people at the same time. All via the API.
This would be very similar to the approach found here, but I'd need multiple recipients on the same email and also be able to include attachments.
Anyone done this? Anyone have an Apex class started that can serve as a framework for getting started with the Marketo REST API?
What I'd like to do is have a Salesforce Batch job create the email content, a PDF attachment blob and ask marketo to email that to a number of people at the same time. All via the API.
This would be very similar to the approach found here, but I'd need multiple recipients on the same email and also be able to include attachments.
Anyone done this? Anyone have an Apex class started that can serve as a framework for getting started with the Marketo REST API?