Port Vale or Maidenhead United will face Exeter City in the second round of the FA Cup.
The draw was made LIVE on BBC Two on Monday evening, pitting the winners of the replay against the Grecians at St James' Park.
Second round ties will be played over the weekend of 4-7 December.