Roadie

Merch order event

Automation · 3 min read ·

Someone bought merch from the Fourthwall store. Its price is never event data.

Merch order (merch.order) — Someone bought merch from the Fourthwall store. Its price is never event data.

Source: charity. Selection: Events picker.

Start a flow

Select this event in Automation where its selection flow is available, then add any conditions and actions. A real occurrence matching the event starts the flow. The Test panel can supply representative sample fields, but Run test applies every action for real. Use only harmless actions while learning the trigger, and inspect its recent run before enabling effectful steps.

Trigger fields

These are the typed fields declared for this event. An optional value may be absent in a particular run; confirm a real event before relying on it.

  • {buyer} — Buyer; text; required; The name they gave in the store; sample: SalsaQueen.
  • {product} — Product; text; required; The first thing in the order; sample: Taco Tee.
  • {image} — Product image; image; optional; The product picture.
  • {count} — How many; number; required; How many items the order holds; sample: 2.
  • {roadie.order.count} — How many; number; required; How many items the order holds; sample: 2.
  • {fourthwall.id} — Fourthwall id; text; required; Fourthwall’s id for it; sample: sample-order.
  • {fourthwall.username} — Fourthwall name; text; optional; The name they gave in the store — empty when they gave none.
  • {fourthwall.friendlyId} — Fourthwall short id; text; optional; The short id Fourthwall shows for the order.
  • {fourthwall.status} — Fourthwall status; text; optional; The order’s status on Fourthwall — “CONFIRMED”.
  • {fourthwall.offers} — Products; text; optional; Each product in the order, one per line, with its variant and how many — “Taco Tee (Black, L) ×2”.
  • {fourthwall.offers.count} — Products: how many; number; optional; How many products.
  • {fourthwall.message} — Fourthwall message; viewer_text; optional; Their own words in the store — read literally.

Fill-ins offered for this trigger

This is the editor’s event-specific fill-in list for this trigger. Person fields also expose their login, display name, Twitch ID and avatar address. Shared channel fill-ins are available separately.

  • {buyer} — Buyer.
  • {product} — Product.
  • {image} — Product image — a picture, for a Discord card (picture address).
  • {count} — How many.
  • {roadie.order.count} — How many.
  • {fourthwall.id} — Fourthwall id.
  • {fourthwall.username} — Fourthwall name.
  • {fourthwall.friendlyId} — Fourthwall short id.
  • {fourthwall.status} — Fourthwall status.
  • {fourthwall.offers} — Products.
  • {fourthwall.offers.count} — Products: how many.
  • {fourthwall.message} — Fourthwall message.

Check a run

Open the flow’s run log after a real event or a safe test. Check that the expected event fired and that its conditions matched. A connector or upstream service can prevent a real event from arriving even when a sample test succeeds.

Browse events · Use fill-ins