Draw was made on Monday night.
Bradford City have been given a favourable tie in the draw for the second round of the FA Cup.
The Bantams were given a home tie against conference side Dartford.
City made it through to the competition's second round after beating FC Halifax Town 2-1 in the first round.
The game will be played on the first weekend of December.
Huddersfield Town, and the rest of the Premier League and Championship sides, will join the draw in the third round.