# 5. Automatic Campaigns

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

Automatic campaigns are very similar to Shopify's automatic discounts. They function automatically for all customers, and you can have multiple automatic campaigns running simultaneously.

It often makes sense to schedule these campaigns for different periods, but it's perfectly fine for them to overlap. If they do overlap, meaning there are multiple active campaigns, all discounts from these campaigns will work together.

We already have our first automatic campaign, Daily Deals, created. Now, let's create another automatic campaign called Big Sale and add a volume discount to it.

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

After clicking save, we can now see two active automatic campaigns on the campaigns page.

From this list, you can disable, enable, or delete campaigns. You can also reorder campaigns using the up and down arrow buttons.

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

To preview the campaigns on your store, go to the dashboard and click preview.

In the widget, we see both active automatic campaigns. Add some products to your cart to receive the discounts. You can see the total discount on the Cart page and the discount applied on the Checkout page.

Even with multiple automatic campaigns, only one special discount is created in the Shopify admin discounts page to handle all automatic campaigns. However, if you have a free shipping discount in any of your automatic campaigns, an additional discount will be created.

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

Let's edit our Big Sale campaign and add a free shipping discount.

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

After saving the campaign, we can preview it again. The discount is visible and applied when there is more than $50 in the cart.

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

&#x20;In the Shopify admin discounts page, you can see another special discount created by the app.

<figure><img src="/files/UsuTETvLvrKtX5EUYARe" 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/5.-automatic-campaigns.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.
