Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Adobe Journey Optimizer

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

Use this option when Adobe Journey Optimizer (AJO) is available and API-triggered sends fit the journey orchestration model in place.

Start with Adobe Marketing Cloud and the prerequisite EmailSender extensibility.

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 the script sends to AJO.

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

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

Implementation notes (OAuth + trigger)

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

Adobe endpoints and payload shapes depend on the organization setup, region, and the AJO feature in use (journey vs campaign). Treat the snippet below as a skeleton, and align it with the official Adobe documentation for the relevant product version.

Store these values as tenant secrets before testing:

  • adobe-clientId

  • adobe-clientSecret

  • adobe-orgId

  • adobe-sandboxName

  • adobe-ajo-triggerUrl (the execution endpoint of the API-triggered campaign, from the Adobe Journey Optimizer API reference)

  • adobe-ajo-campaignId (the ID of the API-triggered campaign)

  • adobe-scope (optional: the scopes of the credential, as listed in the Adobe Developer Console)

The request body follows the API-triggered campaign samples of Adobe: a campaignId and a recipients array, where each recipient carries a type, a namespace, a userId and a context object. See Trigger campaigns using APIs: code examples.

The sample builds an unsigned pass URL: see Pass links in emails.

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 that were sent.

  • When HTML is passed, the final email renders correctly in common clients.

FAQ

Is an “API-triggered journey” required in AJO?

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

How can this be tested without emailing real customers?

Use an AJO sandbox when one is available. Otherwise, restrict tests to internal addresses and create a dedicated “test” journey or campaign. Keep the payload contract identical to production to avoid last-minute schema breaks.

Why are so many Adobe headers needed?

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 the official Adobe documentation as the source of truth for the tenant.

Last updated