> For the complete documentation index, see [llms.txt](https://docs.adobesandbox.com/comprehensive-technical-tutorial-archive/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.adobesandbox.com/comprehensive-technical-tutorial-archive/module9/ex2.md).

# 9.2 Configure your offers and decision

## 9.2.1 Create your personalized offers

In this exercise, you'll create four **Personalized Offers**. Here are the details to take into account when creating those offers:

| Name                                              | Date Range            | Image Link for Email     | Image Link for Web       | Text                                                                            | Priority | Eligibility            |         Language        |
| ------------------------------------------------- | --------------------- | ------------------------ | ------------------------ | ------------------------------------------------------------------------------- | :------: | ---------------------- | :---------------------: |
| `--demoProfileLdap-- - Nadia Elements Shell`      | today - 1 month later | <https://bit.ly/3nPiwdZ> | <https://bit.ly/2INwXjt> | `{{ profile.person.name.firstName }}, 10% discount on Nadia Elements Shell`     |    25    | all - Female Customers | English (United States) |
| `--demoProfileLdap-- - Radiant Tee`               | today - 1 month later | <https://bit.ly/2HfA17v> | <https://bit.ly/3pEIdzn> | `{{ profile.person.name.firstName }}, 5% discount on Radiant Tee`               |    15    | all - Female Customers | English (United States) |
| `--demoProfileLdap-- - Zeppelin Yoga Pant`        | today - 1 month later | <https://bit.ly/2IOaItW> | <https://bit.ly/2INZHZd> | `{{ profile.person.name.firstName }}, 10% discount on Zeppelin Yoga Pant`       |    25    | all - Male Customers   | English (United States) |
| `--demoProfileLdap-- - Proteus Fitness Jackshirt` | today - 1 month later | <https://bit.ly/330a43n> | <https://bit.ly/36USaQW> | `{{ profile.person.name.firstName }}, 5% discount on Proteus Fitness Jackshirt` |    15    | all - Male Customers   | English (United States) |

Login to Adobe Journey Optimizer by going to [Adobe Experience Cloud](https://experience.adobe.com). Click **Journey Optimizer**.

![ACOP](/files/eqxL6kfJrkJCfGNWVbve)

You'll be redirected to the **Home** view in Journey Optimizer. First, make sure you're using the correct sandbox. The sandbox to use is called `--aepSandboxId--`. To change from one sandbox to another, click on **PRODUCTION Prod (VA7)** and select the sandbox from the list. In this example, the sandbox is named **AEP Enablement FY22**. You'll then be in the **Home** view of your sandbox `--aepSandboxId--`.

![ACOP](/files/gX6Gm725NmaJgtBDl74E)

In the left menu, click **Offers** and then go to **Offers**. Click **+ Create Offer**.

![Decision Rule](/files/oF20TcPEwR3w4vrRu93a)

You'll then see this popup. Select **Personalized offer** and click **Next**.

![Decision Rule](/files/7RcYheGSlVGFzhtilh6e)

You're now on the **Details** view.

![Decision Rule](/files/4HlmCjmwl80lB7WUePZv)

In this case, you need to configure the offer `--demoProfileLdap-- - Nadia Elements Shell`. Use the information in the table above to fill out the fields. In this example, the name of the Personalized Offer is **vangeluw - Nadia Elements Shell**. Also, set the **Start date and time** to yesterday, and set the **End date and time** to a date in a month from now.

Once done, you should have this. Click **Next**.

![Decision Rule](/files/pcB62S9rswMGgH56XN5D)

You now need to create **Representations**. Representations are a combination of a **Placement** and a real asset.

For **Representation 1**, select:

* Channel: Web
* Placement: Web - Image
* Content: URL
* Public location: copy the URL from the column **Image Link for Web** in the above table

![Decision Rule](/files/j65RvjLWVj6kcb7TXBro)

Alternatively, you can select **Asset library** for the content and then click **Browse**.

![Decision Rule](/files/6pfek8wvJ2dE4tA7w8M2)

You'll then see a popup of the Assets Library, go to the folder **enablement-assets** and select the image file **nadia-web.png**. Then, click **Select**.

![Decision Rule](/files/IVwsqOHsU6IcbOGhgD2w)

You'll then see this:

![Decision Rule](/files/nhvxxrCXrznBAwT6DtbZ)

Click **+ Add Representation**.

![Decision Rule](/files/ORkgUosh9zA70SbMPCk1)

For **Representation 2**, select:

* Channel: Email
* Placement: Email - Image
* Content: URL
* Public location: copy the URL from the column **Image Link for Email** in the above table

![Decision Rule](/files/YsW4tlw01rGseHxuw1db)

Alternatively, you can select **Asset library** for the content and then click **Browse**.

![Decision Rule](/files/4YeJOKI3BU47OaBy01gY)

You'll then see a popup of the Assets Library, go to the folder **enablement-assets** and select the image file **nadia-email.png**. Then, click **Select**.

![Decision Rule](/files/w9gWDHy3Hpfg6pLoMHqN)

You'll then see this:

![Decision Rule](/files/5HuvmxZSHZ0xaziTHC84)

Next, click **+ Add representation**.

![Decision Rule](/files/ORkgUosh9zA70SbMPCk1)

For **Representation 3**, select:

* Channel: Non-digital
* Placement: Non-digital - Text

Next, you need to add content. In this case that means adding the text to be used as a call to action.

Click **Add Content**.

![Decision Rule](/files/KczpirUVkSchW0I5C5ux)

You'll then see this popup.

![Decision Rule](/files/eVyz9QwOXS2Cz40u5eOW)

Select **Custom text** and fill out these fields:

Look at the **Text** field from the above table and enter that text here, in this case: `{{ profile.person.name.firstName }}, 10% discount on Nadia Elements Shell`.

You'll also notice that you can select any profile attribute and include it as a dynamic field in the offer text. In this example, the field `{{ profile.person.name.firstName }}` will ensure that the first name of the customer that will receive this offer will be included in the offer text.

You'll then see this. Click **Save**.

![Decision Rule](/files/CiG2asnX6T8HzIL3nIkd)

You now have this. Click **Next**.

![Decision Rule](/files/JJBs3cPXkalHDSi3DzQF)

You'll then see this:

![Decision Rule](/files/3zxgi7BLeVXgbtIvKXWn)

Select **By defined decision rule** and click the **+** icon to add the rule **all - Female Customers**.

![Decision Rule](/files/C4CTYgMKyPo1iVg7NEDY)

You'll then see this. Fill out the **Priority** as indicated in the above table. Click **Next**.

![Decision Rule](/files/ymZDlnuq7CBv37jvgKQZ)

You'll then see an overview of your new **Personalized Offer**.

![Decision Rule](/files/dubH7wg4YVPqHdYAIzIi)

Finally, click **Save and approve**.

![Decision Rule](/files/EOZ60keHoKmRxu60MA0P)

You'll then see your newly created Personalized Offer become available in the Offers Overview:

![Decision Rule](/files/xXvYVn6Vvs8eIug8Hi8I)

You should now repeat the above steps to create the three other Personalized Offers for the products Radiant Tee, Zeppelin Yoga Pant and Proteus Fitness Jackshirt.

When done, your **Offer Overviews** screen for **Personalized Offers** should show all your offers.

![Final Offers](/files/gOdx5Z54NcLPVDmo2nBq)

## 9.2.2 Create your fallback offer

After having created four Personalized Offers, you should now configure a **Fallback Offer**.

Make sure you're in the **Offers** view:

![Final Offers](/files/gOdx5Z54NcLPVDmo2nBq)

Click **+ Create Offer**.

![Decision Rule](/files/7GKASiD7nWcGB78OF0cA)

You'll then see this popup. Select **Fallback offer** and click **Next**.

![Decision Rule](/files/WZe8tWpXEOOYsK5qmXFu)

You'll then see this:

![Decision Rule](/files/1RxcT8VSyVDPYurE15nV)

Enter this name for your fallback offer: `--demoProfileLdap-- - Luma Fallback Offer`. Click **Next**.

![Decision Rule](/files/Czc0QtyqQsIjYJZ5dVGF)

You now need to create **Representations**. Representations are a combination of a **Placement** and a real asset.

For **Representation 1**, select:

* Channel: Web
* Placement: Web - Image
* Content: URL
* Public location: `https://bit.ly/3nBOt9h`

![Decision Rule](/files/FU7e296dI6coJlB4RsCB)

Alternatively, you can select **Asset library** for the content and then click **Browse**.

![Decision Rule](/files/l44pw63EgevkoSxWithb)

You'll then see a popup of the Assets Library, go to the folder **enablement-assets** and select the image file **spriteyogastraps-web.png**. Then, click **Select**.

![Decision Rule](/files/4SNdWxC6U6rq0NJrplIK)

You'll then see this:

![Decision Rule](/files/bkoPQcs0wnUUYjfostze)

For **Representation 2**, select:

* Channel: Email
* Placement: Email - Image
* Content: URL
* Public location: `https://bit.ly/3nF4qvE`

![Decision Rule](/files/xke4geIhWS4300W1RIhs)

Alternatively, you can select **Asset library** for the content and then click **Browse**.

![Decision Rule](/files/34A6fKoMADnxPvDYDTV0)

You'll then see a popup of the Assets Library, go to the folder **enablement-assets** and select the image file **spriteyogastraps-email.png**. Then, click **Select**.

![Decision Rule](/files/5C0T6f7asoBdsO7NwZd0)

You'll then see this:

![Decision Rule](/files/X8eFCPv3E2U1JoObwD9K)

Next, click **+ Add representation**.

![Decision Rule](/files/ORkgUosh9zA70SbMPCk1)

For **Representation 3**, select:

* Channel: Non-digital
* Placement: Non-digital - Text

Next, you need to add content. In this case that means adding the Image Link.

Click **Add Content**.

![Decision Rule](/files/oozdwI8A74HTjgrWepmf)

You'll then see this popup.

![Decision Rule](/files/KfIm1hTRR5wIhEq4JV8o)

Select **Custom text** and fill out these fields:

Enter the text `{{ profile.person.name.firstName }}, discover our Sprite Yoga Straps!` and click **Save**.

![Decision Rule](/files/71tOSF9zZ3jx2aSAlNtf)

You'll then see this. Click **Next**.

![Decision Rule](/files/Dho1wzzvjuMK9P4ZmfWf)

You'll then see an overview of your new **Fallback Offer**. Click **Finish**.

![Decision Rule](/files/1oq0gTek3h06wZKwRZwr)

Finally, click **Save and approve**.

![Decision Rule](/files/WYXpGvYJBzDMnwmN7Z72)

In your **Offer Overviews** screen, you'll now see this:

![Final Offers](/files/0FVrvHyAbW0a4TYPkbVw)

## 9.2.3 Create your collection

A Collection is used to **filter** out a sub-set of offers from the personalized offer list and use that as part of an Decision in order to speed up the decision process.

Go to **Collections**. Click **+ Create Collection**.

![Decision Rule](/files/9QQ7jCrFN5xiSt4ZzoL6)

You'l then see this popup. Configure your Collection like this. Click **Next**.

* Collection name: use `--demoProfileLdap-- - Luma Collection`
* Select **Create static collection**.

![Decision Rule](/files/QGxvuD0BR6prvvlurOpO)

In the next screen, select the four **Personalized Offers** you created in the previous exercise. Click **Save**.

![Decision Rule](/files/HGOz23XB9u5BBLBeSZrr)

You'll now see this:

![Decision Rule](/files/rKQUEOSGZTajIz2H20ii)

## 9.2.4 Create your decision

A Decision combines Placements, a Collection of Personalized Offers and a Fallback Offer to ultimately be used by the Offer Decisioning engine to find the best offer for a specific profile, based on each of the individual personalized offer characteristics like priority, eligibility constraint and total / user capping.

To configure your **Decision**, go to **Decisions**. Click **+ Create Activity**.

![Decision Rule](/files/DCMsq5VCNPxTOIJRKn7e)

You'll then see this:

![Decision Rule](/files/Ebp2DAsiqpuxSvrOtR8R)

Fill out the fields like this. Click **Next**.

* Name: `--demoProfileLdap-- - Luma Decision`
* Start date and time: yesterday
* End date and time: today + 1 month

![Decision Rule](/files/aoESYZ7Gvfo87nTe5SQH)

In the next screen, you need to add placements into decision scopes. You'll need to create decision scopes for the placements **Web - Image**, **Email - Image** and **Non-digital - Text**.

![Decision Rule](/files/8QRkaEoLXMs6E1QSNlJK)

First, create the decision scope for **Non-digital - Text** by selecting that placement in the dropdown. Then, click the **Add** button to add evaluation criteria.

![Decision Rule](/files/H7ivfj7uXQHgH0wCqvWc)

Select your collection `--demoProfileLdap-- - Luma Collection` and click **Add**.

![Decision Rule](/files/UrZ1IKW63JLAzf3VscNU)

You'll then see this. Click the **-** button to add a new decision scope.

![Decision Rule](/files/ttBlHR9EougL92uSLgO3)

Select the placement **Web - Image** and add your collection `--demoProfileLdap-- - Luma Collection` under evaluation criteria. Then, click the **+** button again to add a new decision scope.

![Decision Rule](/files/AQyIwaPus8k1lmQOuL4b)

Select the placement **Email - Image** and add your collection `--demoProfileLdap-- - Luma Collection` under evaluation criteria. Then, click **Next**.

![Decision Rule](/files/9NJ8t95Sde6pYwOisEEO)

You now need to select your **Fallback Offer**, which is named `--demoProfileLdap-- - Luma Fallback Offer`. Click **Next**.

![Decision Rule](/files/VTzn7aRZ9ymWMnYxnm58)

Review your decision. Click **Finish**.

![Decision Rule](/files/zYMMASB5obyiNZJb3pbp)

In the popup, click **Save and activate**.

![Decision Rule](/files/pMOtjO5Bae7KGzaHrLiP)

And finally, you'll now see your decision in the overview:

![Decision Rule](/files/hi2fwFreyrcZA4zs3JHf)

You've now successfully configured your decision. Your decision is now live, and can be used to deliver optimized and personalized offers to your customers, in real-time.
