# 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](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-8daf9419deef804f9e816efc694a6fe4c6bef3fa%2Facophome.png?alt=media)

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](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-df76386e3eebdceeccee0f3853f02cdec4b997f1%2Facoptriglp.png?alt=media)

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

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-ae4093fb1dc4268eca17b7d71f24728287f87dee%2Foffers1.png?alt=media)

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

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-9042f4bc5162ece65aec0446f4ffd5dc09d2dbdf%2Foffers2.png?alt=media)

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

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-e7bf5c6fec8dc340245356cb66f4a85c77f15081%2Foffers3.png?alt=media)

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](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-006dc243a10aa699ca77dc5bd5833397f24a4001%2Foffers4.png?alt=media)

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](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-8df20bd282811a8e3ec5436353567e9bc8ae8d39%2Faddcontent1.png?alt=media)

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

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-b04c04d0e6b15bce5edd27d4a0e1496ef4a624ef%2Faddcontent2.png?alt=media)

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](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-6384a4b1d50cf4493435aac3770190ba0959d839%2Faddcontent3.png?alt=media)

You'll then see this:

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-96b6d75503648fc6d5cae122dbf7c8842962d29c%2Faddcontentrep20.png?alt=media)

Click **+ Add Representation**.

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-68ed68792de62dc6fce5ccfdcc2075bd20aefff8%2Faddrep.png?alt=media)

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](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-1208d93d20af96be3056add99c2fb62a8c737a80%2Faddcontentrep21.png?alt=media)

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

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-52142e54166abbe239c7862c602c910a5e10ee00%2Faddcontent2b.png?alt=media)

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](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-28cbe18752548ef275cca70e5bcd9fdf4a85add3%2Faddcontent3b.png?alt=media)

You'll then see this:

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-2527efb5dea7a4380ec45cc1b7338c9a4724e0a4%2Faddcontentrep20b.png?alt=media)

Next, click **+ Add representation**.

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-68ed68792de62dc6fce5ccfdcc2075bd20aefff8%2Faddrep.png?alt=media)

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](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-9616f30dde4550979069688f4cf840a4868d2109%2Faddcontentrep31.png?alt=media)

You'll then see this popup.

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-4a61d6caabcb9e1c0dad19aebb5276049f4e9c3a%2Faddcontent3text.png?alt=media)

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](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-f6552001a8d693ac2e36a705df6e74bab647908a%2Faddcontentrep3text.png?alt=media)

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

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-9412614ddde70dc347dbe2716a6f1013eba744d6%2Faddcontentrep3textdone.png?alt=media)

You'll then see this:

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-b8851778fa28fee60dedd08f442c3ebe4b462ba8%2Fconstraints.png?alt=media)

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

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-8412e13922b32e133aa0eb16a7c891aed78f29d9%2Fconstraints1.png?alt=media)

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

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-b0abb50be46b5d61839e3ed401117bb2798bc1ea%2Fconstraints2.png?alt=media)

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

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-853f629e88b355fa2d558b2def57ddac5bac6031%2Fofferoverview.png?alt=media)

Finally, click **Save and approve**.

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-90f5e714cfb1b3c4c7741adb75cf659cc94d6762%2Fsaveapprove.png?alt=media)

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

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-5e51e4b768f267d49531a27c592b384d8eb63861%2Fofferoverview1.png?alt=media)

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](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-e5fcc53b864b7d8a9b1c200640c37bb9257f02c7%2Ffinaloffers.png?alt=media)

## 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](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-e5fcc53b864b7d8a9b1c200640c37bb9257f02c7%2Ffinaloffers.png?alt=media)

Click **+ Create Offer**.

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-419e9be8861364dc3fba94899acecf2d0376da71%2Fcreateoffer.png?alt=media)

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

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-18bf360008d54280f8585e899aae99ea208a728e%2Ffoffers2.png?alt=media)

You'll then see this:

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-0988f1c100b075fa03f18676c0565a1509fac682%2Ffoffers3.png?alt=media)

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

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-704baa9fcd290bbe676e123567df5c202f207af4%2Ffoffers4.png?alt=media)

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](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-d5f89df854ad54f32f42cd69ab6fea10aab7c219%2Faddcontent1fb.png?alt=media)

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

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-f49f3a67bdf2c957b99eb6cb90e0f2dc6b89a878%2Faddcontent2fb.png?alt=media)

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](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-6fbf35d0ff3fd90c85934ad6fe27c7e51d6cd8eb%2Faddcontent3fb.png?alt=media)

You'll then see this:

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-c0ead355f028f4e91ba859e6049c11f2da39b101%2Faddcontentrep20fb.png?alt=media)

For **Representation 2**, select:

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

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-b3cb0ea18fbaa85cb1170d206b27c40cad7c425a%2Faddcontentrep21fb.png?alt=media)

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

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-92fbeaf69589d7788a944273010324ce6dff2f9b%2Faddcontent2bfb.png?alt=media)

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](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-5493e9fc36cf324e7098bf088568afdd85f2f328%2Faddcontent3bfb.png?alt=media)

You'll then see this:

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-1c70b1243a79de0453fd679b75c1a086fd8e64f0%2Faddcontentrep20bfb.png?alt=media)

Next, click **+ Add representation**.

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-68ed68792de62dc6fce5ccfdcc2075bd20aefff8%2Faddrep.png?alt=media)

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](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-eee28056b5410218bdd95c897feeab9e20e52c97%2Faddcontentrep21text.png?alt=media)

You'll then see this popup.

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-2699c36e985712e5752d14f60ffcb0f2347e4ed3%2Faddcontent2text.png?alt=media)

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](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-efbcf2f1a9173f1cf16a28a5ab4794845aeceefb%2Ffaddcontent3text.png?alt=media)

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

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-720535b2d14771fb44a911307c806f9c9e384898%2Ffaddcontentrep3.png?alt=media)

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

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-cb6e3b615bc223a1df7566a982d969e216051e9b%2Ffofferoverview.png?alt=media)

Finally, click **Save and approve**.

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-8b9878dc9626f7bc393e48a1959c773f9e917bcc%2Fsaveapprovefb.png?alt=media)

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

![Final Offers](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-f149c5ed5e50153a786892016964232c7c1d4ce7%2Fffinaloffers.png?alt=media)

## 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](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-dd53fdb20a7131c00c6dcb58adfb74459adee943%2Fcollections.png?alt=media)

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](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-18516826b8444f348a2646be3ee7584cc1599e8f%2Fcreatecollectionpopup1.png?alt=media)

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

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-5387951b65f15ba449c5adfa06cd39626e5ce7a6%2Fcreatecollectionpopup2.png?alt=media)

You'll now see this:

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-ee3fd37ac79d9d05727196324f4f155c57551acc%2Fcolldone.png?alt=media)

## 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](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-3680f20ec946d77413b0c94e5079ec0c143edc59%2Factivitydd.png?alt=media)

You'll then see this:

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-96571fa41db27cce574593b72817af1c756c986e%2Factivity1.png?alt=media)

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](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-98078c88f9bfb3875913c7a1925a721ba8622ab9%2Factivity2.png?alt=media)

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](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-00d01474a113e8949332cc82693a95b46fc39395%2Faddplacements.png?alt=media)

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](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-b69612cd7b8660a78b3a39ed8985a62302f0c32c%2Factivity3.png?alt=media)

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

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-e83246944394dc2c00d76665b5604c633742627f%2Factivity4text.png?alt=media)

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

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-322652f8bea854f1fa6cb6333831958827fbe696%2Factivity5text.png?alt=media)

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](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-2609b4ec2597c7c354643b4f4ad264e9613b4e77%2Factivity6text.png?alt=media)

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

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-67b85fbf8a1f3dfc0b7be5213c4b02e4b1b84745%2Factivity4.png?alt=media)

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

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-fe4811a724dad9be7d8b6de057030c6cc6552c74%2Factivity10.png?alt=media)

Review your decision. Click **Finish**.

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-26b93a829107cc43f5f3093e994b4bf913d329ab%2Factivity11.png?alt=media)

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

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-50d39cdba8adf008c8de291aee702947ae081695%2Factivity12.png?alt=media)

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

![Decision Rule](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-f83585c56a0d4d8f1c01674d9c665bfb6a6d6432%2Factivity13.png?alt=media)

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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.adobesandbox.com/comprehensive-technical-tutorial-archive/module9/ex2.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
