[Tech] Configuring a custom action
To log into the Adobe Experience Platform, and open Adobe Journey Optimizer, check the Welcome! section.
In this exercise you'll create the action to retrieve the bet details. The data returned by the API will be used in the journey for personalisation.
Custom action overview
What is an Custom Action?
Custom actions enable you to configure connection of a third-party system to send messages or make API calls to gather data. An action can be configured with any service from any provider that can be called through a REST API with a JSON-formatted payload.. Learn more
To get an overview of a custom actions in Adobe Journey Optimizer:
- In the menu on the left side, under Administration, click on Configurations. You will see a set of tiles.
- Click on Manage in the Actions tile, to get an overview with all existing actions.
Configuring a custom action
We'll be configuring a custom action that we can use in our journey. The action make an API call, passing the betID, to retrieve bet information.
If you do not want to configure your own action, you can reuse an action that has aleady been created for you, getBetDetails.
Feel free to skip this exercise and proceed to Creating the journey.
To configure a new event, click Create Action. A menu will open on the right side.
- Set the name to yourname_getBetDetails.
- For Action type, set the value to Custom.
- Leave Access and privacy configuration as it is.
- For Endpoint configuration, set URL with:
- https://api-v5rrckz3mq-uc.a.run.app/betting/bet/
- Set Method with GET.
- Scroll down to Payloads, and click on 0 fields selected, a popup will be opened. This is the place where you can specify the response payload expected from the endpoint.
- Copy this JSON and paste into the popup:
- The UI will automatically identify the name and type of the fields.
- Click Save.
- The window will close and you should now see 9 fields selected.
Your screen should look like the image below. Scroll up and click Save.

You have successfully created an Action to be used in our journey!