Common workflows
Describes common ways to use Optimizely Opal tools with Optimizely Commerce Connect.
The following workflows show how to use Optimizely Opal tools to create campaigns, clone promotions, and analyze performance in Optimizely Commerce Connect.
Create a campaign with promotions
-
List available campaign types with the
campaign_types_listtool. -
Create the campaign with the
campaign_createtool.{ "Name": "Holiday Sale 2024", "ValidFrom": "2024-12-01T00:00:00Z", "ValidUntil": "2024-12-31T23:59:59Z" } -
List available promotion types with the
promotion_types_listtool. -
Create a promotion within the campaign with the
promotion_createtool.{ "Name": "25% Off All Items", "Campaign": "Holiday Sale 2024", "PromotionType": "EPiServer.Commerce.Marketing.Promotions.SpendAmountGetOrderDiscount" } -
Configure promotion properties with the
promotion_dynamic_updatetool.{ "Id": "456", "Properties": { "Condition_SpendAmount": 50.00, "Discount_Percentage": 25.0 } }
Clone and modify a promotion
-
Find the source promotion with the
promotion_filtertool.{ "Name": "Summer Discount" } -
Get promotion details with the
promotion_detailtool.{ "Identifier": "456", "IncludeAdditionalDetails": true } -
Clone the promotion with the
promotion_clonetool.{ "PromotionId": "456", "CampaignId": "789" } -
Update the cloned promotion with the
promotion_updatetool.{ "Id": "new-id", "Name": "Winter Discount" }
Analyze promotion performance
-
List promotions by sales with the
promotion_list_by_salestool.{ "MarketId": "US" } -
Get details of the top-performing promotion with the
promotion_detailtool.{ "Identifier": "top-promotion-id", "IncludeAdditionalDetails": true }
Updated 20 days ago
