> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mention-me.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Trigger

> Set when a brand referral campaign runs and which customers are eligible, using eligibility rules and qualifying purchase rules.

The **Trigger** node defines when the campaign runs and who qualifies. It sits at the top of the canvas because it decides who enters the journey. With no rules set, everyone is eligible.

<Frame caption="The Trigger node, where you set eligibility and qualifying purchase rules.">
  <img src="https://mintcdn.com/mentionme/YzmAle2ncOlJS-me/images/knowledge-app/campaigns/brand-referral/trigger.png?fit=max&auto=format&n=YzmAle2ncOlJS-me&q=85&s=00efd38c6fc7f4d1170ca35fee70a802" alt="The Trigger node editor showing eligibility rules" width="2184" height="1840" data-path="images/knowledge-app/campaigns/brand-referral/trigger.png" />
</Frame>

## What You Can Set

Two sections, in the left nav of the panel:

* **Eligibility**. Who is eligible to see the campaign, based on the data in your tag or the customer's profile.
* **Qualifying purchases**. Which referee purchases count as a successful referral.

## How Rules Combine

Rules are organised into groups:

* Rules **within a group** use AND logic: all of them must match (this is the **Match all** group).
* **Separate groups** use OR logic: a customer qualifies if they match any group.

This lets you express targeting like "UK customers who have ordered before, OR customers who have spent over £100". Click **Add rule** to add a condition, and add another group for an OR branch.

## Conditions You Can Use

The condition picker groups conditions by where the data comes from. The **Recommended** group at the top collects the handful most programmes use.

| Category                                       | Conditions it holds                                                                                                                                          |
| ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Customer details** (from your website tag)   | Order value, currency, custom data, segment, locale, implementation, situation, order ID, customer ID, coupon code, email address, city, country, first name |
| **Customer history** (facts Mention Me stores) | Last order date, order number excluding the current one, total spend in GBP, EUR or USD, share count                                                         |
| **Past segments**                              | Segment in the last 6 months, last 12 months, or all time                                                                                                    |
| **Order + history** (combining both)           | Total spend including the current order, order number including the current one, uploaded segment, has been referred                                         |
| **Customer value**                             | High, mid or low value, each crossed with recently purchasing, slowing down or stopped purchasing                                                            |
| **Gender**                                     | Male, female or unknown                                                                                                                                      |
| **NPS**                                        | Detractor, passive, promoter, or a raw NPS score                                                                                                             |
| **API**                                        | Propensity to refer                                                                                                                                          |
| **Ometria, Emarsys, Klaviyo**                  | Conditions from a connected ESP, where that integration is set up                                                                                            |

Comparisons include is / is not, is greater than / is less than, is at least / is at most, contains / doesn't contain, is empty / is not empty, is older than, is true / is false, and regex matching for flexible values within a string.

<Note>
  Which categories appear depends on your account. ESP categories show only where
  that integration is connected, and some conditions depend on data you send us.
</Note>

## Target a Segment, or Everyone

For most programmes a single campaign shown to everyone works well when the offer is consistent. Restrict to a segment when you have distinct customer types that should see different offers (for example new versus loyal customers, or different product categories). If you run several products with different economics, consider separate campaigns running in parallel.

## Qualifying Purchases

Use qualifying purchase rules to define what counts as a successful referral, for example a minimum order value before the referrer is rewarded. They are built the same way as eligibility rules.

<Warning>
  Most programmes do not add referee restrictions. Extra conditions can reduce
  the number of successful referrals, so understand the impact before applying
  them.
</Warning>

## A Campaign-Scoped Node

The Trigger is shared across the whole campaign, not a single version, so editing it works differently from the other nodes. On a draft of a campaign that is already live and still has a running version, the Trigger is locked; you edit it on the live version, where changes take effect immediately for all customers. For the full rules and the exact messages, see [what you can and can't edit](/knowledge-app/referral/campaigns/manage/the-campaign-editor#what-you-can-and-cannot-edit).

Because the rules are campaign-scoped, the Trigger is not A/B testable. To test targeting, run parallel campaigns instead.

<Note>
  A new campaign can't go live for the first time with no eligibility rules, so
  add at least one before you launch. Once the campaign is live, this becomes a
  warning rather than a blocker. See
  [troubleshooting](/knowledge-app/referral/campaigns/manage/troubleshooting).
</Note>
