Would you use Flow or Apex to create a handoff task?
Sales wants one onboarding task when an Opportunity first moves to Closed Won. What would you build, and how would you stop later edits from creating more tasks?
This tests whether you can define when automation should run and choose something the team can maintain.
Ask what should happen if an Opportunity reopens and closes again. If the rule is one task for the life of the Opportunity, a stage-change check alone is insufficient. For a straightforward handoff, start with an after-save record-triggered Flow. Run it on entry into Closed Won and record that the handoff happened after the task is created.
Test the first close, a later edit, a reopen and close, and a batch update. Review existing automation on the object before adding more. Consider Apex if the rule grows into logic that’s hard to express or test in Flow, such as shared validation across multiple automation paths.