The club lead forces west to ruff high, overruffed by the ace. Then north leads a diamond and east must ruff high, and south pitches anything, finally scoring the spade 9 because east is endplayed.
Trump promotions come in many guises. It is almost impossible to list them all.
The simpler ones can be foreseen and planned for.
The more complex ones usually occur by accident, typically after some cross ruffing scenario.
You have to work them out as they arise.