---
title: "Use input data in a decision table"
slug: "use-input-data-in-a-decision-table"
abstract: "Overview of how to use input data in decision tables."
---
# Use input data in a decision table

Sitecore Personalize enables you to use guest, order, and session attributes as input in a decision table. For example, you might want to leverage guest attributes such as age, order data, and segment membership when writing rules.

To use input data in a decision table:

1. Click and drag the appropriate **Input Data** component from the palette to the decision canvas:
    - **Guest** - use attributes from the following Sitecore Personalize entities:
        - Personal guest attributes
        - Guest subscription attributes
        - Guest data extensions
    - **Order** - use attributes from the following Sitecore Personalize entities:
        - Guest orders
        - Guest order items
        - Guest orders contact
        - Guest orders consumers
    - **Sessions** - use attributes from the following Sitecore Personalize entities:
        - Session data
        - Event data
2. Click and drag the arrow from the **Input** component to the reliant **Decision Table** component. An information requirement arrow displays.

    The following image illustrates that the Loyalty Discount decision table relies on Order History input data.

    ![Connecting an input data to a decision table on the decision canvas.](https://doc.sitecore.com/api/markdown-image/personalize/en/users/sitecore-personalize/images/Loyalty_discount.png)

3. [Configure the input columns](https://doc.sitecore.com/personalize/en/users/sitecore-personalize/introduction-to-decisioning-in-sitecore-personalize/managing-decision-tables-in-sitecore-personalize/using-input-columns-in-a-decision-table/configure-an-input-column-that-uses-guest-data.html "Configure an input column that uses guest data") in the reliant decision table to use the required attributes from the input data.