The winners of West Ham United's Emirates FA Cup third round replay against Bristol City will host Nottingham Forest or Blackpool in the fourth round.
Monday evening's draw gave either the Hammers or Robins a home tie with the winners of another replay, after Premier League Forest drew 2-2 with EFL League One Blackpool on Sunday.
Forest needed to come from two goals down to force their second running of the tie, with Morgan Gibbs-White scoring a second half leveller.
David Moyes' men will also need to win a replay if they are to advance after Bristol City came from behind to hold them to a 1-1 draw at London Stadium on Sunday.
Jarrod Bowen's 14th goal of the season, scored with only four minutes on the clock, seemed to have the Irons on their way, only for Tommy Conway to notch an equaliser after the break.
The pair are now due to settle the tie next week, with the Hammers set to travel to Ashton Gate on Tuesday 16 January, subject to TV broadcast selections.
The fourth round will be played over the weekend of 27/28 January.