Enriching Event Data via Event Forwarding and External API Calls
Hi,
For a project, we’re exploring whether it’s possible to send an event using the Edge Network Interactive Endpoint and leverage that event data in AJO-D (Adobe Journey Optimizer Decisioning) to create offer items (in JSON format) for server-side content personalization. So far, we’ve confirmed that this is feasible.
Now, based on the event data, we need to make a call to an external API to retrieve additional data that can then be used in the AJO-D offer item. We’re aware that ideally this data should be fetched before the event is sent, so the payload already includes all necessary information. However, we’re exploring the possibility of handling everything in a single request through Event Forwarding.
We understand that Event Forwarding can make GET requests to external APIs and store the response. We’ve successfully fetched the required data, which is available at the following path within Event Forwarding:
arc.ruleStash["adobe-cloud-connector"].responses.apiResponse.
We also have access to the event data through arc.event.xdm.... However, we’re unable to use this combined data directly in AJO-D, and we’re not sure how to send it to an AEP dataset.
Is there a way to use this enriched data and insert it into the event dataset?
Alternatively, is there a way to make the apiResponse data available within AJO-D (Adobe Journey Optimizer Decisioning)?
Thanks in advance for your help.