Scotland will host Ukraine in the play-off semi-final for the 2022 World Cup, while Wales have been drawn at home to Austria.
If Scotland and Wales win their matches, they will face each other in Cardiff in a final for a spot in Qatar.
Wales are bidding to reach their first World Cup in 64 years, while Scotland have waited 24 years to play in one.
Other semi-finals include Italy v North Macedonia and Portugal at home to Turkey.
That draw means either European champions Italy or Cristiano Ronaldo’s Portugal will not be at the World Cup, with the winners of their semis meeting in a final.
The semi-finals and finals, both played over one leg, will take place over the course of five days from 24-29 March.
Full semi-final draw
Scotland v Ukraine
Wales v Austria
Russia v Poland
Sweden v Czech Republic
Portugal v Turkey
Italy v North Macedonia
Final draw
Wales or Austria v Scotland or Ukraine
Russia v Poland v Sweden or Czech Republic
Portugal or Turkey v Italy or North Macedonia