Triggers control when and to whom your post-purchase funnels display. This guide walks you through configuring the most common trigger types and managing funnel priority.Documentation Index
Fetch the complete documentation index at: https://docs.aftersell.com/llms.txt
Use this file to discover all available pages before exploring further.
Getting started with triggers
When you create a new funnel, you’ll need to configure at least one trigger to control when it displays. You can combine multiple triggers to create precise targeting rules.How triggers work together
Post-purchase triggers use two levels of logic: AND between triggers and OR within triggers. AND logic (between triggers) All enabled triggers must be met for the funnel to display. If you add multiple triggers, every one must return a match. Example:- Customer Location = US
- Order Value > $50
Show for All Customers trigger
A “Catch-All” funnel uses the Show for All Customers trigger. This funnel activates when an order does not meet the criteria for any other funnel. It serves as a safety net, ensuring no orders slip through without an upsell or Thank You page offer. To use it effectively, set this funnel to the lowest priority so it only appears if no other funnel triggers. Example use cases:- You have three funnels: one for orders over $100, one for specific products, and one with the Show for All Customers trigger. If a customer places an order that doesn’t meet the first two funnels’ criteria, the Show for All Customers funnel will activate as a fallback.
- You want to ensure every customer sees at least one offer. Create a funnel with the Show for All Customers trigger and set it to the lowest priority.
Product-based triggers
These triggers activate based on the products, collections, or variants in a customer’s cart.Product/Collection trigger
Product/Collection trigger
- In your funnel settings, click Add Trigger.
- Select Product/Collection from the trigger type dropdown.
- Choose Contains or Does not contain.
- Search for and select the products or collections you want to target.
- Click Save.
- Show a protein powder upsell when customers purchase any product from your “Supplements” collection.
- You have a funnel set to products X, Y, and Z. If a customer buys products A, B, and Y, this funnel will activate. If they buy A, B, and C, it will not.
Product Quantity trigger
Product Quantity trigger
- Click Add Trigger.
- Select Product Quantity from the trigger type dropdown.
- Choose Less than or More than.
- Enter the quantity threshold and select the product.
- Click Save.
- Set to “less than 3” for Product X. If a customer buys 2 units, the funnel activates. If they buy 3 or more, it does not.
- Set to “more than 1” for Product Y. If a customer buys 2 or more units, the funnel activates. If they buy only 1, it does not.
Product Tag trigger
Product Tag trigger
- Click Add Trigger.
- Select Product Tag from the trigger type dropdown.
- Choose Include or Exclude.
- Enter the product tag(s) you want to target.
- Click Save.
- Exclude discontinued products from receiving upsell offers by setting the trigger to exclude products tagged “discontinued.”
- Show a special offer only for products tagged “summer-collection.”
Product Type trigger
Product Type trigger
- Click Add Trigger.
- Select Product Type from the trigger type dropdown.
- Choose Include or Exclude.
- Enter the product type(s) you want to target.
- Click Save.
Metafields trigger
Metafields trigger
- Click Add Trigger.
- Select Metafields from the trigger type dropdown.
- Choose Include or Exclude.
- Enter the metafield name and value exactly as they appear on the product page (both are case-sensitive).
- Click Save.
- Include means there’s an overlap between the metafields in the order and those in the trigger list. For example, if the order metafields are
["color: red", "size: m"]and the trigger list is["color: red", "ship: warehouse"], the condition is satisfied becausecolor: redmatches. - Exclude means there’s no overlap between the metafields in the order and the trigger list. For example, if order metafields are
["color: red", "size: M"]and the trigger list is["color: blue", "size: L"], the condition is satisfied because there are no matching name:value pairs.
Product/Collection Exclusion trigger
Product/Collection Exclusion trigger
- Click Add Trigger.
- Select Product/Collection Exclusion from the trigger type dropdown.
- Search for and select the products or collections to exclude.
- Click Save.
Subscription trigger
Subscription trigger
- Click Add Trigger.
- Select Subscription from the trigger type dropdown.
- Choose Contains or Does not contain subscription products.
- Click Save.
- Set to “Does not contain” subscription products to target one-time purchasers and offer them a subscription upsell.
- Set to “Contains” subscription products to show complementary one-time products to subscribers.
Variant Name trigger
Variant Name trigger
- Click Add Trigger.
- Select Variant Name from the trigger type dropdown.
- Choose Include or Exclude.
- Enter the variant name(s) you want to target.
- Click Save.
- Set to include “Large.” If a customer purchases a t-shirt in size Large, the funnel activates. Size Small or Medium will not trigger it.
- Set to include “Red” and “Blue.” Either color variant will activate the funnel; Green will not.
Cart & Discount triggers
These triggers activate based on cart value, contents, or discounts applied.Order Value trigger
Order Value trigger
- Click Add Trigger.
- Select Order Value from the trigger type dropdown.
- Choose Greater than or Less than.
- Enter the dollar amount threshold.
- Click Save.
- Show premium upsells to customers with orders over $100.
- Offer free shipping upgrades to customers with orders under $50.
- A funnel set to “less than 30.00 order but not a $60.00 order.
Quantity trigger
Quantity trigger
- Click Add Trigger.
- Select Quantity from the trigger type dropdown.
- Choose More than, Less than, or Exactly.
- Enter the item count threshold.
- Click Save.
- Set to “less than 3” - the upsell appears only when there are 1 or 2 total items in the cart.
- Set to “more than 1” - the funnel triggers for orders with 2 or more total items.
- Set to “exactly 3” - the funnel triggers only when there are exactly 3 total items in the cart.
Discount Code trigger
Discount Code trigger
- Click Add Trigger.
- Select Discount Code from the trigger type dropdown.
- Choose Include or Exclude.
- Enter the discount code(s), pressing Enter after each one to save it.
- Click Save.
Discount Percent (%) trigger
Discount Percent (%) trigger
- Click Add Trigger.
- Select Discount Percent (%) from the trigger type dropdown.
- Choose Include or Exclude, then choose Greater than or Less than.
- Enter the discount percentage threshold.
- Click Save.
- Set to exclude discounts “greater than 20%.” A customer with a 25% discount won’t see the funnel; one with 15% or no discount will.
- Set to include discounts “less than 10%.” A customer with a 5% discount will see the funnel; one with 15% will not.
Customer Attribute triggers
These triggers use customer data to control funnel visibility.Customer Tag trigger
Customer Tag trigger
- Click Add Trigger.
- Select Customer Tag from the trigger type dropdown.
- Choose Include or Exclude.
- Enter the customer tag(s) you want to target.
- Click Save.
- Set to include “VIP.” Only customers with the VIP tag will see the funnel.
- Set to exclude “Wholesale.” Wholesale customers won’t see retail upsells.
Customer Order History trigger
Customer Order History trigger
- Click Add Trigger.
- Select Customer Order History from the trigger type dropdown.
- Search for and select the specific products to check for in past orders.
- Click Save.
Customer Order Count trigger
Customer Order Count trigger
- Click Add Trigger.
- Select Customer Order Count from the trigger type dropdown.
- Choose Equal to, Greater than, or Less than.
- Enter the order count threshold.
- Click Save.
- Set to “equal to 0” to target first-time customers only.
- Set to “greater than 3” to target loyal customers who have placed 4 or more previous orders.
- More than 0 orders = returning customer; 0 orders = new customer.
Customer Language trigger
Customer Language trigger
- Click Add Trigger.
- Select Customer Language from the trigger type dropdown.
- Select the language you want to target.
-
Click Save.



Once per Customer trigger
Once per Customer trigger
- Click Add Trigger.
- Select Once per Customer from the trigger type dropdown.
- Click Save.
- A customer who sees this funnel after their first purchase will not see it again on any future purchases, even if all other trigger conditions are met.
- Use it to show a special “welcome offer” exclusively on a customer’s first purchase.
Order Details & Time-Based triggers
These triggers depend on checkout details, marketing data, or timing.UTM Parameter trigger
UTM Parameter trigger
- Click Add Trigger.
- Select UTM Parameter from the trigger type dropdown.
- Choose the UTM parameter type (source, medium, campaign, term, content, or id).
- Enter the exact value to match.
- Click Save.
- Set to “utm_source = facebook.” Customers arriving via a Facebook link will see the funnel; others will not.
- Set to “utm_campaign = summer_sale” to show campaign-specific offers to customers from that campaign.
- Show exclusive offers to customers arriving from your email campaign by targeting
utm_source=email.
Currency trigger
Currency trigger
- Click Add Trigger.
- Select Currency from the trigger type dropdown.
- Choose Include or Exclude.
- Select the currency or currencies you want to target.
- Click Save.
- Set to “USD.” Customers checking out in US Dollars will see the funnel; those in EUR, GBP, or others will not.
- Set to “CAD” and “USD.” Customers in either currency will see the funnel.
- Thank You Page offers automatically adjust to the customer’s checkout currency, making a single funnel viable across markets.
- Post-purchase 1-click upsells do not support multi-currency. Customers will not see upsell offers unless your store currency matches their checkout currency. Use Thank You Page offers for universal visibility.
- If your store uses Shopify Markets, Aftersell integrates seamlessly to display products in the correct local currency.
Shipping Country trigger
Shipping Country trigger
- Click Add Trigger.
- Select Shipping Country from the trigger type dropdown.
- Choose Include or Exclude.
- Select the countries you want to target.
- Click Save.
- Exclude international shipping for products only available domestically.
- Show region-specific products to customers in certain countries.
- Create country-specific Thank You Page offers (since 1-click upsells don’t display for non-default currencies).
Random Sample trigger
Random Sample trigger
- Click Add Trigger.
- Select Random Sample from the trigger type dropdown.
- Enter the percentage of customers who should see the funnel.
- Click Save.
- Set to “25%.” The funnel randomly activates for approximately 25% of qualifying customers.
- For A/B testing, create two funnels each with a Random Sample trigger set to “50%.” Each funnel will show to roughly half your customers.
Date/Time trigger
Date/Time trigger
- Click Add Trigger.
- Select Date/Time from the trigger type dropdown.
- Use the date picker to select your start date, end date, or both.
- Use the timezone dropdown to select the timezone your schedule should follow (for example, “GMT-07:00 - (MST) America/Phoenix”).
- Click Save.
- Set to activate “between December 1 and December 25” for a holiday promotion.
- Set to activate “after January 1, 2026” to launch a new year promotion.
- Set a start and end date in your store’s local timezone to run a weekend flash sale from Friday 12:00 AM to Sunday 11:59 PM.
Shipping Method trigger
Shipping Method trigger
- Click Add Trigger.
- Select Shipping Method from the trigger type dropdown.
- Choose Include or Exclude.
- Select the shipping method(s) you want to target.
- Click Save.
- Show an expedited delivery upgrade upsell only to customers who selected standard shipping.
- Exclude “Local Pickup” customers from seeing shipping protection or delivery-related upsells.
- Target customers who chose international shipping with a customs-friendly product bundle.
Managing funnel priority
When you have multiple funnels, priority determines which funnel displays when multiple funnels’ triggers are met. How funnel priority works:- Funnels are evaluated in priority order: Priority 1 → Priority 2 → Priority 3, etc.
- The first funnel whose triggers are all met will display.
- Lower priority funnels are only checked if higher priority funnels don’t match.
- Smart Funnel (if enabled) is evaluated at Priority 0, before all manual funnels.
Viewing funnel priority
You can see each funnel’s current priority number on the left side of the funnel table in the Post-purchase Funnels section.Reordering funnels
- Go to Post-purchase Funnels in the Aftersell admin.
- Click the Manage Priority button at the top right of the funnel table.
- Drag and drop funnels to reorder them.
- Click Save to apply the new priority order.

- Place specific funnels first - Put funnels with narrow targeting (specific products, high-value orders) at higher priority.
- Place broad funnels last - Put funnels with general targeting (collections, low order values) at lower priority.
- Set Catch-All funnel to lowest priority - If you have a “Show for All Customers” funnel, make it the last priority so it only displays when no other funnel matches.
- Test your priority order - Place test orders to verify the correct funnel displays for different scenarios.
- Priority 1: High-value orders ($200+) with specific product
- Priority 2: Orders containing products from premium collection
- Priority 3: Orders with any product from main category
- Priority 4: Catch-All funnel (Show for All Customers)
Combining multiple triggers
You can add multiple triggers to a single funnel to create precise targeting rules. Remember: all triggers must be met for the funnel to display.Example: Targeting high-value supplement customers
Add these triggers to the same funnel:- Product/Collection trigger: Contains products from “Supplements” collection
- Order Value trigger: Greater than $75
- Customer Order Count trigger: More than 0 orders (returning customers only)
Example: Targeting customers who haven’t purchased specific upgrades
This is useful when you sell products with optional upgrades and want to show different upsells depending on what the customer has and hasn’t already purchased. Scenario: You sell a base product with two optional upgrades - “Premium Rotor” and “Water Resistance.” Funnel 1 - Customer bought neither upgrade (highest priority)- No product exclusions needed
- Set to highest priority so it is evaluated first
- This funnel shows both upgrades as upsell options
- Add a Product/Collection trigger set to Contains “Premium Rotor”
- Add a Product/Collection Exclusion trigger set to exclude “Water Resistance”
- This funnel shows only the Water Resistance upsell
- Add a Product/Collection trigger set to Contains “Water Resistance”
- Add a Product/Collection Exclusion trigger set to exclude “Premium Rotor”
- This funnel shows only the Premium Rotor upsell
Next steps
- Learn about all available trigger types in the Post Purchase Triggers reference
- Understand how triggers work together with Understanding Conditional Logic
- Set up your first funnel with the Quickstart Guide
- Review Best Practices for optimizing your funnel strategy