# 3. First Campaign In Action

{% embed url="<https://www.youtube.com/watch?index=3&list=PLGASFo0vRDpks4cfL2V9D0z3Cm78A92Hq&v=ZkrSm_q1x7Q>" %}

Let's observe your first campaign in action.

From the Dashboard page, click "Preview".&#x20;

<figure><img src="/files/CmfNQ9Bs3rjsmouTi3xN" alt=""><figcaption></figcaption></figure>

Please note that the app is not live yet. In preview mode, the app is visible only to you.

On your store In the bottom right corner, you'll find the app's widget launcher.

<figure><img src="/files/StdH9Ump5Wf9VRwuEoGH" alt=""><figcaption></figcaption></figure>

Open the launcher to view our campaign: "Daily Deals with 2 Discounts". This campaign is directly accessible because it's automatic.

<figure><img src="/files/mBO2OdTdzX4UD28ZaS9q" alt=""><figcaption></figcaption></figure>

The first discount: Get 20% off on selected products. Add any of these products to your cart to receive a 20% discount. Customers can also add products directly from the widget.

Let's add a product priced at $50. You'll see a $10 (20%) discount applied.

<figure><img src="/files/e2KRlYX1dTtzvAP3dRnx" alt=""><figcaption></figcaption></figure>

Next, let's try the second discount: Buy One, Get One Free. Add one product from the "Buy" list and one from the "Get" list.

The "Get" product is $100, so it's free, saving you $100. The total discount at this point is $110.

<figure><img src="/files/x27MeXzmga46PtFOJrXQ" alt=""><figcaption></figcaption></figure>

When you open the cart drawer, you'll notice the total discount already applied.

<figure><img src="/files/TEacwrDWYECLXQfpxOPQ" alt=""><figcaption></figcaption></figure>

The same is visible on the cart page.

<figure><img src="/files/R2dKO3VoIJx1hY4BSTgh" alt=""><figcaption></figcaption></figure>

Add another product at 50$ to the cart. You'll receive a 20% discount on that as well, adding $10 to your total discount. Now the total discount is $120.

Click "Checkout".

On the checkout page, you can review the applied discount and see that you've saved $120.

<figure><img src="/files/p51TOvLWvkpIkw0Wmk1G" alt=""><figcaption></figcaption></figure>


---

# 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://uniocode.gitbook.io/stack-discounts/3.-first-campaign-in-action.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.
