What they mean
Urgency pushes people to decide now because an opportunity is about to expire, as with a countdown or a flash sale. Scarcity pushes people to decide because units are limited.
They work when they're real: a timer that restarts on every visit, or stock that's "almost gone" when it isn't, undermines trust and can raise fair-trading issues.
An example
A deal on 200 units that's valid for 48 hours communicates both levers: the time remaining and the units left. If both limits are real and visible, the customer can decide with clear information.
Real urgency in Zefirox
A Zefirox campaign has a real duration (from 24 hours to 7 days) and a real number of units: it closes when time runs out, or immediately when the units sell out. The widget shows a countdown and a units-sold bar, so the urgency is measurable and verifiable.