Crawley Town will face Bristol Rovers after The Pirates beat York City 3-2 last night.
Rovers secured their place in the second round despite a late comeback from York.
The Pirates led when John-Joe O’Toole netted after an Eliot Richards effort hit a post and Oliver Norburn’s low, 18-yard strike made it 2-0 before half-time.
Wes Fletcher scored in 70th and 71st minute but it was too late for York.
Crawley Town now travel to Bristol for the second round on Saturday, 7 December.