When should we use a code hook rather than the visual canvas?
Code hooks earn their place for specific edge cases: a custom calculation (margin optimization with a vendor-specific formula), a non-standard payload transformation (an external vendor's webhook that does not match the standard parse), or external logic (a pricing policy the condition engine cannot express cleanly). The right discipline is treating code hooks as a last resort rather than a first option. For every proposed hook, the admin team asks whether the condition engine, a sequence of standard action blocks, or a different flow structure would cover the need. The code hook ships only when none of the alternatives work. Across the mid-market revenue teams on Strkr, the typical portfolio balance is 100-500 flows on the visual canvas and 5-10 code hooks total.