LuxeDocsv0.6.0
INTEGRATIONSContract

Shopify Flow triggers and actions

Luxe's Shopify Flow triggers and actions: handles, payload fields and types, the custom types, delivery, and how an action finds its set, ladder or upsell.

For developers and agencies. Merchants build workflows in Flow with no code: see the help article Luxe and Shopify Flow. This page is the reference for the triggers' payloads and the actions' fields.

How Luxe talks to Flow

  • Every Luxe plan, no new access scope. Luxe's triggers and actions are Flow extensions of the Luxe app.
  • Triggers are sent only for shops with a Luxe workflow. Luxe queues a trigger only while one of the shop's workflows uses it, and sends it in the background after the change it reports is recorded.
  • Handles and field keys are a contract. They are only ever added, never renamed or removed. Field keys are letters and spaces; Flow shows them as camelCase variables (Rung name is {{ rungName }}). Every declared field is in every payload; a field with nothing to say is blank or false.
  • Never in a payload: Luxe-built revenue, the usage fee or any billing state, and customer data. Totals are Shopify's own allocated line amounts in the shop currency, after every discount.
  • Delivery is at least once. In rare cases a trigger can arrive twice, so prefer steps that are safe to repeat (tags, notes). Test orders fire triggers too, with Test order true.
  • Size. A payload over 45,000 bytes drops item titles, then keeps at most 20 items per list (each set keeps itemCount), then drops the item lists, so it stays under Flow's 50,000-byte limit.

Order triggers

Each sends an order_reference: Flow loads the order, and its customer, under Flow's own permissions.

Trigger (handle)Fires
Luxe order placed (luxe-order-placed)Once per paid order with a Luxe bundle set, reward or upsell, after Luxe records it
Luxe subscription set started (luxe-subscription-set-started)Once per set bought on a subscription plan, on its first order (never on a renewal)
Luxe reward earned (luxe-reward-earned)Once per rung an order reaches, after Luxe records the paid order
Luxe upsell accepted (luxe-upsell-accepted)Once per offer whose products an order holds: an upsell offer or the checkout offer
Luxe missed order recovered (luxe-order-recovered)Shopify never delivered an order's webhook and Luxe recorded the order later; fires with Luxe order placed
TriggerFieldTypeMeaning
Luxe order placedBundle setsschema.LuxeSetListEvery set on the order, in the order of their first line
Set countnumber_decimalHow many sets the order holds
Has subscription setbooleanA set's items are on a selling plan
Has rewardbooleanThe order reached a rung of a rewards ladder
Has upsellbooleanThe order holds products added from an upsell or the checkout offer
Test orderbooleanPaid with Shopify's test payments or a test gateway
Recovered by LuxebooleanLuxe recorded the order after Shopify never delivered its webhook
Surfacessingle_line_text_fieldWhere the Luxe lines were added, comma-separated: kit_block, tray, drawer, fbt, gift_picker and others (the _luxe_src codes)
Luxe subscription set startedBundle setschema.LuxeSetThe set bought on a subscription plan
Selling plan namesingle_line_text_fieldThe plan's name when the order names it, else blank
Test orderbooleanAs above
Luxe reward earnedLadder name, Ladder idsingle_line_text_fieldThe rewards ladder
Rung namesingle_line_text_fieldThe rung's checkout label
Rung idsingle_line_text_fieldLuxe's id for the rung
Reward typesingle_line_text_fieldGIFT, PERCENT_OFF, AMOUNT_OFF or FREE_SHIPPING
Gift productsingle_line_text_fieldThe gift's title on the order; blank for a money reward
Gift variant idsingle_line_text_fieldThe gift's variant id; blank for a money reward
Gift chosen by shopperbooleanThe rung let the shopper choose among gifts
Test orderbooleanAs above
Luxe upsell acceptedOffer namesingle_line_text_fieldThe offer's name in Luxe
Offer idsingle_line_text_fieldThe offer's id on the order's lines (its _luxe_addon value), or checkout for the checkout offer
Offer typesingle_line_text_fieldFREQUENTLY_BOUGHT_TOGETHER, PAIRS_WELL_WITH, YOU_MAY_ALSO_LIKE, QUANTITY_BREAK, MAKE_SET, TIER_GAP, UPGRADE, GIFT_ADD_ON, REFILL or CHECKOUT_OFFER
Placementsingle_line_text_fieldPRODUCT_PAGE, CART_DRAWER, REWARDS_BAR, SET_BUILDER or CHECKOUT
Itemsschema.LuxeItemListThe products the offer added
Totalnumber_decimalWhat the offer's lines sold for, after every discount, in the shop currency
Test orderbooleanAs above
Luxe missed order recoveredOrder namesingle_line_text_fieldThe order's name, such as #1042
Paid atsingle_line_text_fieldWhen the order was paid (ISO 8601)
Held for reviewbooleanLuxe holds the order for review before it counts
Minutes latenumber_decimalMinutes between the payment and Luxe recording the order

Custom types

Flow fields cannot be lists, so a list travels inside an object: loop over bundleSets.list or items.list.

"A Luxe bundle set on the order."
type LuxeSet {
  "Luxe's id for the bundle set, as in the set editor's address."
  id: ID!
  "The bundle set's name in Luxe; the order's line title if it was deleted since."
  name: String!
  "BUILD_YOUR_OWN, COLLECTION or FIXED (UNKNOWN if deleted since)."
  type: LuxeSetType!
  "How many of this set the order holds."
  quantity: Int!
  "ONE_TIME, or SUBSCRIPTION when its items are on a selling plan."
  purchaseOption: LuxePurchaseOption!
  "What the set's lines sold for, after every discount, in the shop currency."
  total: Float!
  "How many lines the set has on the order, also when items lists fewer."
  itemCount: Int!
  "The set's items, as on the order (at most 20 on a very large order)."
  items: [LuxeSetItem!]!
}

"A product on the order that Luxe added."
type LuxeSetItem {
  productId: ID
  variantId: ID
  sku: String
  title: String
  quantity: Int!
  "PICK (the shopper chose it) or FIXED (always in the set); blank outside a set."
  role: String
  "What the line sold for, after every discount, in the shop currency."
  total: Float!
}

"The bundle sets on an order."
type LuxeSetList {
  list: [LuxeSet!]!
}

"Products an offer added to an order."
type LuxeItemList {
  list: [LuxeSetItem!]!
}

enum LuxeSetType {
  BUILD_YOUR_OWN
  COLLECTION
  FIXED
  UNKNOWN
}

enum LuxePurchaseOption {
  ONE_TIME
  SUBSCRIPTION
}

Bundle set triggers

Each sends a product_reference and the set's fields, so a workflow can tag, hide or collect the product with Flow's own product actions.

Set fieldTypeMeaning
Set idsingle_line_text_fieldLuxe's id for the set, as in the set editor's address
Set namesingle_line_text_fieldThe set's name in Luxe
Set typesingle_line_text_fieldBUILD_YOUR_OWN, COLLECTION or FIXED
Set statussingle_line_text_fieldACTIVE, DRAFT, ARCHIVED or DELETED, as it is now in Luxe
Set productbooleanTrue when the referenced product is the set's own set product
Collection idsingle_line_text_fieldA Collection set's collection id; blank for other sets
Collection handlesingle_line_text_fieldA Collection set's collection handle; blank for other sets
Admin linkurlThe set in Luxe, in the Shopify admin

The product. For a Build-your-own or Fixed set it is the set product (Set product true). A Collection set has no set product of its own, so it is the first product of its collection in the collection's own order (Set product false): a real item, so a workflow that tags or hides products checks setProduct first. A set with nothing to reference sends no trigger (a set whose set product or collection was deleted in Shopify, or a Collection set whose collection is empty).

Trigger (handle)FiresFields after the set fields
Luxe bundle set created (luxe-set-created)Once per set, when it is first saved with its set product (or, for a Collection set, its collection)None
Luxe bundle set activated (luxe-set-activated)A set goes live, from Luxe or from a Flow actionChanged by
Luxe bundle set paused (luxe-set-paused)A live set stops selling: paused or archived, by a Flow action, by a plan change, or because an item it holds was deletedChanged by, Reason (blank when paused on purpose; else a reason below or PLAN_DOWNGRADE), Reason message
Luxe bundle set deleted (luxe-set-deleted)A set is deleted in LuxeChanged by
Luxe bundle set needs attention (luxe-set-needs-attention)A set cannot sell as built; at most once per set and reason a dayReason, Reason message

Reason message is what Luxe shows on the set. Changed by (single_line_text_field) is MERCHANT (the admin), SHOPIFY_FLOW (a Luxe action), SCHEDULE (a ladder's start or end date), PLAN_DOWNGRADE (a move to a smaller plan) or LUXE (Luxe itself, for example when something a set holds was deleted).

ReasonWhen
ITEM_DELETEDA product a live set includes was deleted in Shopify (the set moves to draft)
SLOT_SOURCE_DELETEDA slot's source collection was deleted (the set moves to draft)
SLOT_EMPTYA slot has nothing eligible to offer
ITEMS_SOLD_OUTA live set's default picks can no longer be filled from stock
CANNOT_COMPILELuxe cannot publish the set as it now is, for example over its size limit
SET_PRODUCT_SELLING_PLANThe set product now sells with a selling plan
SUBSCRIPTION_PLANSA plan a subscription set offers can no longer be offered

Ladder and upsell triggers

No Shopify reference.

Trigger (handle)Fires
Luxe rewards ladder activated (luxe-ladder-activated)A ladder starts running at checkout: activated in Luxe or by Flow, or its start date arrived
Luxe rewards ladder paused (luxe-ladder-paused)A ladder stops running at checkout: paused in Luxe or by Flow, its end date passed, or a plan change paused it
Luxe upsell activated (luxe-upsell-activated)An upsell offer goes live, from Luxe or from a Flow action
Luxe upsell paused (luxe-upsell-paused)A live upsell offer is paused, archived or deleted, from Luxe or from a Flow action
TriggersFieldTypeMeaning
Ladder triggersLadder idsingle_line_text_fieldLuxe's id for the ladder, as in the ladder editor's address
Ladder namesingle_line_text_fieldThe ladder's name in Luxe
Ladder typesingle_line_text_fieldSTORE (store-wide) or SET (one bundle set's ladder)
Ladder statussingle_line_text_fieldACTIVE, DRAFT, ARCHIVED or DELETED, as it is now in Luxe
Starts at, Ends atsingle_line_text_fieldThe ladder's start and end (ISO 8601); blank for none
Admin linkurlThe ladder in Luxe
Changed bysingle_line_text_fieldAs above
Upsell triggersOffer idsingle_line_text_fieldLuxe's id for the offer, as in the upsell editor's address
Offer namesingle_line_text_fieldThe offer's name in Luxe
Offer typesingle_line_text_fieldFREQUENTLY_BOUGHT_TOGETHER, PAIRS_WELL_WITH, YOU_MAY_ALSO_LIKE, QUANTITY_BREAK, MAKE_SET, TIER_GAP, UPGRADE, GIFT_ADD_ON or REFILL
Placementsingle_line_text_fieldPRODUCT_PAGE, CART_DRAWER, REWARDS_BAR or SET_BUILDER
Offer statussingle_line_text_fieldACTIVE, DRAFT, ARCHIVED or DELETED, as it is now in Luxe
Admin linkurlThe offer in Luxe
Changed bysingle_line_text_fieldAs above

Refund triggers

Each sends an order_reference, after Luxe records the refund. Returns data on orders: Line properties and order data.

Trigger (handle)Fires
Luxe set items returned (luxe-set-items-returned)A refund returns money for items of a bundle set; once per set and refund
Luxe gift no longer earned (luxe-gift-unearned)A refund takes an order below the rung of a gift it earned; once per gift
TriggerFieldTypeMeaning
Luxe set items returnedSet id, Set name, Set type, Set statussingle_line_text_fieldAs in the set fields; Set type is UNKNOWN when the set was deleted since
Refund idsingle_line_text_fieldShopify's id for the refund
Itemsschema.LuxeItemListThe set's items this refund returned money for; each item's total is what was refunded for it (at most 20)
Item countnumber_decimalHow many units of the set's items this refund returned money for
Whole set returnedbooleanTrue once every unit of the set's items on the order has been refunded
Admin linkurlWhere to see it in Luxe, in the Shopify admin
Luxe gift no longer earnedLadder id, Ladder namesingle_line_text_fieldThe rewards ladder
Rung id, Rung namesingle_line_text_fieldThe rung; its name is its checkout label
Gift productsingle_line_text_fieldThe gift's title on the order
Gift valuenumber_decimalThe gift's own price times its quantity, in the shop currency
Refund idsingle_line_text_fieldThe refund that took the order below the rung
Admin linkurlWhere to see it in Luxe, in the Shopify admin

Plan limit reached

Luxe plan limit reached (luxe-plan-limit-reached), no Shopify reference: the merchant's plan held something back. Once per limit a month.

FieldTypeMeaning
Limitsingle_line_text_fieldSETS, LADDERS, RUNGS, UPSELLS or LUXE_ORDERS
Plansingle_line_text_fieldThe Luxe plan, such as Luxe Starter
Limit valuenumber_decimalWhat the plan allows: live sets, live ladders, rungs per ladder, live upsells or Luxe orders a month
Item namesingle_line_text_fieldThe set, ladder or upsell the limit held back
Messagesingle_line_text_fieldWhat Luxe showed in the admin
Admin linkurlThe Plans page in Luxe

Actions

Each action has one required field (single_line_text_field).

Action (handle)Field (key, label)Does
Activate bundle set (luxe-activate-set)bundle_set, Bundle setTakes a set live, as the set editor's save does: every plan limit applies
Pause bundle set (luxe-pause-set)bundle_set, Bundle setMoves a set to draft. Bags that already hold it keep their price
Refresh bundle set (luxe-refresh-set)bundle_set, Bundle setRereads a live set's items, prices and stock from Shopify within a minute, as Luxe does nightly. A draft set is left unchanged
Activate rewards ladder (luxe-activate-ladder)rewards_ladder, Rewards ladderTurns a ladder on; its start and end dates still apply
Pause rewards ladder (luxe-pause-ladder)rewards_ladder, Rewards ladderTurns a ladder off for new bags
Activate upsell offer (luxe-activate-upsell)upsell_offer, Upsell offerTakes an offer live, within the plan's limits
Pause upsell offer (luxe-pause-upsell)upsell_offer, Upsell offerMoves an offer to draft. Bags that already hold its products keep their price

The field takes the item's name exactly as in Luxe (capitals aside) or its Luxe id from its editor's address; an upsell also takes its offer id from Luxe upsell accepted. A Flow variable ({{ setId }}) is resolved when the workflow runs. A name two items share is refused, with the way out. Luxe also validates the field when the merchant saves the workflow, so an unknown item shows as a field error in Flow.

AnswerWhen
DoneThe change was made, or the item was already so ("Holiday gift set is already live.")
Still runningThe action took longer than 8 seconds; Flow retries and gets the result
RefusedNot found, ambiguous, a plan limit, or Luxe not installed. Flow shows the message and does not retry
FailedA transient failure; Flow retries, and the retry runs the action again
Was this page helpful?Last updated 4 October 2026