get_reward
get_reward nodes perform the actual reward draw by instantly pulling from a linked reward_pool.
Summary
- Placement: Mid-flow.
- Context: Client apps and backend apps.
- Visual: No.
- Level: Easy.
- Purpose: Execute reward draws and persist the outcome for downstream celebrations or fulfillment.
- Acts as a moment-in-time drawing mechanism, perfect when you want to award prizes without showing a Fortune Wheel or Scratch Card.
- Enforces probabilities, pool counts, user quotas, and regional eligibility before returning a prize.
- Writes the winning reward into
$stateso subsequent nodes can show overlays, emails, or inventory updates. - Emits explicit outcomes (
won,empty,error) that let authors branch into consolation flows.
Last updated on