--- title: "Contextual Logic" slug: "cancel-resolutions-contextual-logic" updated: 2021-11-19T20:01:23Z published: 2021-11-19T20:01:23Z canonical: "docs.bellwethr.com/cancel-resolutions-contextual-logic" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.bellwethr.com/llms.txt > Use this file to discover all available pages before exploring further. # Contextual Logic This page will explain how to add contextual logic to treatments, specific properties that we support, and how to test such logic. ## Contextual Logic Overview We support five customer context properties for all of our integrations. - Product ID - Customer Lifetime Revenue - Number of Orders (Over Customer Lifetime) - Subscription Price - Number of Active Subscriptions ## Why Contextual Logic? Some customers are more valuable than others. You may want to offer higher discounts to your most loyal or profitable customers. Hence, you can segment the cancel resolutions based on customer context. Customer context conditional logic is not available on the Starter plan. To change your plan, email upgrade@bellwethr.com. ## Applying Contextual Logic to Treatments Start by navigating to the builder (Edit tab) within your RetentionEngine. Then go to **Mechanics**. Click on the treatment, and then check the "Activate With Conditions" ![Screen Shot 2021-11-19 at 2.00.36 PM.png](https://cdn.document360.io/ac5d6d3b-d1b3-4a56-b758-d584b80df54b/Images/Documentation/Screen%20Shot%202021-11-19%20at%202.00.36%20PM.png) ## Need help? If you want help setting this up or would like other contextual logic included, reach out to us at support@bellwethr.com.