> For the complete documentation index, see [llms.txt](https://docs.flowretail.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flowretail.com/docs/extensions-addons/campaign.md).

# Campaign

**The Campaign extension is a comprehensive solution designed for efficiency in a dynamic retail environment.**

It allows you to set up automatic price discounts and special offers that activate during checkout.

You can control who gets the campaigns, which products qualify, and when the campaigns apply.

## What is a campaign?

**A campaign is an automated discount that applies when certain conditions are met.**

Instead of manually calculating discounts at checkout, campaigns work automatically based on rules you define - like "Buy 3, get the cheapest free" or "Members get 15% off."

## How campaigns work

When a product is added to an order, Flow Retail checks if the product qualifies for any active campaigns.

If multiple campaigns apply, the customer by default automatically gets the most beneficial discount.

{% hint style="success" %}

#### **Good to know**

* **Only one campaign applies per product on an order** - the system automatically chooses the best one for the customer
* **Confirmed order lines cannot receive new campaigns** - they must be deleted and added again for a campaign to apply
* **Campaigns are calculated based on the order** products are added at checkout
  {% endhint %}

## How do I get started?

The Campaign extension is an add-on extension that we'll enable for your account.

Contact us at <support@flowretail.com> to get started.

Once the extension is enabled, you'll see **Campaign** in your main menu and can start creating campaigns right away.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.flowretail.com/docs/extensions-addons/campaign.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
