---
title: "Use a decision model in an interactive experiment"
slug: "use-a-decision-model-in-an-interactive-experiment"
abstract: "Details how to use a decision model in an experiment experiment (Sitecore Personalize)."
---
# Use a decision model in an interactive experiment

You can use a decision model in an interactive experiment that requires a fair amount of logic to determine the next best offer or action. For example, if you want to show an offer that takes into account customer lifetime value, propensity models, real-time inventory levels, and integrates with your Content Delivery Network (CDN) to display the best offer, you can create an interactive experiment that uses a decision model.

To use a decision model in an interactive experiment:

1. On the experiment builder, click the **Filter** tile.

    Additional fields display.

2. Click **Add decision model**.
3. In the **Decisioning** pane, click the decision model you want the experiment to run. The experiment only potentially runs any decision model variants in a state of production that are configured to use this decision model.

    Alternatively, to [create a decision model](https://doc.sitecore.com/personalize/en/users/sitecore-personalize/introduction-to-decisioning-in-sitecore-personalize/managing-decision-model-variants-in-sitecore-personalize/create-a-decision-model-variant.html "Create a decision model variant"), click **Create decision model**.

4. Click ![close_details_widget.png](https://doc.sitecore.com/api/markdown-image/personalize/en/users/sitecore-personalize/images/close_details_widget.png) to close the pane.
5. Edit the [API response](https://doc.sitecore.com/personalize/en/users/sitecore-personalize/introduction-to-experiments-in-sitecore-personalize/introduction-to-interactive-experiments-in-sitecore-personalize/compose-the-api-response-for-an-interactive-experiment.html "Compose the API response for an interactive experiment") to include the output of the decision model. This is the offer or content you want to include in the experiment.

> [!note]
> For a decision model to be made available in the **Decisioning** pane, at least one of its decision model variants must [have a state of production or test](https://doc.sitecore.com/personalize/en/users/sitecore-personalize/introduction-to-experiments-in-sitecore-personalize/introduction-to-interactive-experiments-in-sitecore-personalize/decision-model-variant-states.html "Decision model variant states").