Marketo Engage (Transactional Email API)
Send Wallet Crew transactional emails via Marketo Engage using the script email provider.
Use this option when your organization uses Marketo Engage and wants transactional sends tracked in Marketo activity logs.
Before you go further, make sure you understand how the script provider works in The Wallet Crew. Start with Adobe Marketing Cloud and the prerequisite EmailSender extensibility.
When to use this
This is often the simplest REST model, but it assumes you manage and approve the email template in Marketo.
Setup required in Marketo
Create the email asset you want to send and get it approved. Approval rules vary by Marketo setup.
Then decide how you map The Wallet Crew output:
Use Marketo tokens or variables to inject
SubjectandBody.Or keep the subject and body in Marketo and only pass contextual data.
Implementation notes (token + send)
Marketo instances are region-specific. Your script usually requests a Marketo access token, then calls the transactional send endpoint for the chosen email asset.
Store these values as secrets before you test:
marketo-baseUrl(example:https://123-ABC-456.mktorest.com)marketo-clientIdmarketo-clientSecretmarketo-emailId(the Marketo email asset identifier you send)
Marketo OAuth token endpoints can differ slightly by instance and configuration. If your Marketo token endpoint requires query parameters or a specific HTTP method, adapt the authentication settings accordingly.
Marketo requires the email asset to exist (and often to be approved) before it can be used for sends.
What to validate
Trigger a real transactional email, then validate these points:
The email asset exists and is approved.
Marketo accepts the send call.
Variables map to what your Marketo template expects.
FAQ
Do we need to create the email template in Marketo?
Yes. Marketo requires an existing email asset for transactional sends, and many setups require the asset to be approved. Your script can still pass variables, but Marketo needs the container asset.
Can The Wallet Crew still render the HTML?
Yes. You can call buildEmail() and pass subject and body as variables. Your Marketo email must be built to inject those variables into the right places.
Last updated

