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

Adobe Journey Optimizer

Send Wallet Crew transactional emails via Adobe Journey Optimizer (AJO) using the script email provider.

Use this option when you have Adobe Journey Optimizer (AJO) and you want API-triggered sends that fit modern journey orchestration.

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

You typically pick AJO when you want near real-time sends and your marketing team already operates journeys in AJO.

Setup required in Adobe

Create an API-triggered journey or campaign that can accept an execution call. Then configure the email action.

At minimum, agree on what your script sends to AJO.

  • Fully rendered HTML from The Wallet Crew (Subject, Body).

  • Or context variables only, with the template managed in AJO.

circle-exclamation

Implementation notes (OAuth + trigger)

AJO uses Adobe IMS for OAuth2 (client credentials). Your script typically requests an access token, then calls the AJO execution endpoint for your campaign or journey.

circle-info

Adobe endpoints and payload shapes depend on your org setup, region, and the AJO feature you use (journey vs campaign). Treat the snippet below as a skeleton, and align it with Adobe’s official docs for your product version.

Store these values as secrets before you test:

  • adobe-clientId

  • adobe-clientSecret

  • adobe-orgId

  • adobe-sandboxName

  • adobe-ajo-triggerUrl (full AJO trigger URL)

  • adobe-scope (optional, depends on your Adobe setup)

What to validate

Trigger a real transactional email, then validate these points:

  • AJO receives the execution call and accepts it.

  • The AJO email action has access to the context fields you send.

  • If you pass HTML, the final email renders correctly in common clients.

FAQ

chevron-rightDo we need an “API-triggered journey” in AJO?hashtag

Yes. Your script needs a published AJO asset that can be triggered by an API call. The exact asset type (journey vs campaign) depends on what your Adobe organization uses.

chevron-rightCan AJO send an email built by The Wallet Crew?hashtag

Yes. A common pattern is to call buildEmail() in your script, then pass subject and body as context to AJO. Your AJO email action must be configured to use these fields.

chevron-rightHow do we test without emailing real customers?hashtag

Use an AJO sandbox if you have one. If you don’t, restrict tests to internal addresses and create a dedicated “test” journey/campaign. Keep the payload contract identical to production to avoid last-minute schema breaks.

chevron-rightWhy do we need so many Adobe headers?hashtag

AJO gateways commonly require org, sandbox, and API key headers for routing and authorization. The exact set can vary by Adobe setup and region, so treat Adobe’s official docs as the source of truth for your tenant.

Last updated