A last-gasp Mark Ellis header handed us victory over Chesterfield on a dramatic afternoon at Meadow Lane.
The visitors dealt the game's first blow when Danny Rowe's free-kick had too much power for Sam Slocombe, but Kyle Wootton levelled shortly afterwards when Ruben Rodrigues closed down a defensive clearance, paving the way for Wootton to score inside the area.
Chesterfield were back ahead shortly before the break when Liam Mandeville turned home a low cross from the left, leaving us with work to do in the second half.
And we responded when Wootton bagged his second goal of the game, turning home Ellis' knock-down from Rodrigues' corner.
And our turnaround was complete in the dying seconds of normal time when Rodrigues' drilled free-kick was met with a clinical header from Ellis six yards out, sending the Kop into raptures.
Slocombe, who had made an excellent one-on-one save from former Magpie Nathan Tyson earlier in the half, tipped an effort wide at the end of injury time and we escaped a scramble from the subsequent corner to book our place for next weekend's trip to Torquay.
NOTTS STARTING XI: Slocombe; Chicksen, Ellis, Rawlinson (Knowles 46'); Miller, Brindley; Doyle, Reeves (Kelly-Evans 90'), Boldewijn; Rodrigues, Wootton
UNUSED SUBS: Turner, Barnett, Griffiths