circle-exclamation
This documentation is currently under development. Certain sections are not yet complete and will be added shortly.

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 Subject and Body.

  • 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-clientId

  • marketo-clientSecret

  • marketo-emailId (the Marketo email asset identifier you send)

circle-info

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.

circle-info

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

chevron-rightDo we need to create the email template in Marketo?hashtag

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.

chevron-rightCan The Wallet Crew still render the HTML?hashtag

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.

chevron-rightWhat’s the quickest way to troubleshoot?hashtag

First check that the asset is approved, then check the Marketo API response body for a specific error code. If the API call succeeds but the email renders badly, validate that your Marketo template expects the same variable names you send.

chevron-rightCan we use different Marketo instances per environment?hashtag

Yes. Configure different secrets and endpoints per tenant (staging vs production). Keep variable naming consistent across environments to avoid template drift.

Last updated