[Limited availability]{class="badge informative"}
Content decision activity content-decision
Journey Optimizer allows you to include offers in your journeys through the dedicated content decision activity in the journey canvas. You can then add other activities (such as custom actions) to your journeys to target your audiences with these personalized offers.
To leverage this capability, create a journey where you add a content decision activity to define the offers you want to present to the eligible profiles.
You can then use the output of the content decision activity in:
-
a condition activity, to move profiles to specific paths based on the offers retrieved;
-
a custom action, where you can send those offers to external systems.
Configure a content decision activity add-content-decision-activity
Using the content decision activity, you can define a decision policy which allows you to pick the best items from Journey Optimizer Decisioning and deliver them to the right audience.
To configure the Content decision activity, follow the steps below.
-
Unfold the Orchestration category and drop an Content decision activity into your canvas.
-
Optionnally, add a label and description to the activity.
-
Click Add decision policy. Learn more on decision policies
note note NOTE Decisioning permissions are needed to author a decision policy. Learn more -
Select the number of items you want to be returned back. For example, if you select 2, the best 2 eligible offers will be presented. Click Next.
-
In the Strategy sequence section, select the decision items and/or selection strategies to present with the decision policy. Learn more
-
Arrange the evaluation order as needed.
When adding several decision items and/or strategies, they will be evaluated in sequential order, indicated with numbers at the left of each object or group of objects. To change the default sequence, you can drag and drop the objects and/or the groups to reorder them as wanted. Learn more
-
Optionnally, add a fallback offer. Learn more
-
Review and save your decision policy.
You are now ready to leverage the output of this content decision activity in your journey.
Use the output of the content decision activity use-content-decision-output
The output of a content decision can be used in multiple journey activities. For example, you can use a condition activity to move profiles to specific branches of your journey, based on the number of offers retrieved for them.
You can also add a custom action to your journey in order to share the offers from the content decision activity to an external system.
In a condition activity add-condition-activity
To leverage the output of a content decision activity, you can add a condition to your journey, where you define expressions to move profiles to specific paths, using data from those offers. Follow the steps below.
-
From the Orchestration category, drop a Condition activity into your canvas. Learn more
-
Optionally, rename Path1, which corresponds to the first expression you will define, to a more relevant label.
-
For this first path, click inside the Expression field or use the Edit icon to add an expression.
-
In the pop-up window that opens, switch to Advanced mode to use the advanced expression editor.
note caution CAUTION The output of a content decision node is only available in the Advanced mode. -
Unfold the Context node and navigate to your decision policy to display all the attributes available in the offers catalog schema.
note note NOTE Any restricted label defined on an attribute, either in a journey experience event used in a decision rule (as context data), or in the offers schema, will not result in policy violation for DULE or consent. Learn more on data governance policies in this section -
To check if any offer has been returned for the profiles who enter the journey, use the listSize function with the following syntax:
listSize(@decision{ContentdecisionName.items})>0
note note NOTE In this example, Name
is the label of the content decision you added to your journey. -
Click Ok.
-
Add more paths to define other conditions as needed.
You can also create another path for profiles that do not meet the first condition by checking Show path for other cases than the one(s) above.
-
Save the condition activity.
In a custom action add-custom-action
To leverage the output of a content decision activity, you can add a custom action to your journey, in which you will share the offers you defined to an external system. Follow the steps below.
-
Add a custom action to your journey. Learn more
-
Enter a label for your action.
-
In the Request parameters section, select the parameter you would like to map to attributes from the offers that have been retrieved.
Click inside the editable text field and select any parameter you would like to map to attributes from the offers that have been retrieved.
-
Switch to Advanced mode in the pop-up window that opens. In the advanced expression editor, unfold the Context node to display all the decision policy items.
note caution CAUTION The output of a content decision node is only available in the Advanced mode. -
Browse through the offers catalog schema using the
items
array. For example, use theitemName
of the first offer retrieved and theitemName
of the second offer retrieved. -
Click Ok to save your expression.
-
Save your custom action configuration.
End-to-end example use-case
Below is the full example of a journey using a content decision activity combined to a condition activity and a custom action - such as described above.
Once the journey is activated:
-
Every time a profile qualifies for that audience, it enters the journey.
-
Through the content decision activity, Journey Optimizer retrieves the offers relevant to each profile.
-
Only profiles for which at least one offer is retrieved continue the journey (through the ‘Eligible profiles’ path).
-
If the condition is met, the corresponding offers are sent to an external system through the custom action.