Rangers will face both Manchester United and Tottenham in the new-look league phase of the Europa League.
The Scottish Premiership side will play Spurs at Ibrox, with the Red Devils welcoming Rangers to Old Trafford for their first meeting in 14 years.
Each team plays eight fixtures in the ‘league phase’, with this year’s men’s tournament following the Champions League in having a radical change, including the end of a group stage.
United will travel to Fenerbahce to reunite with former boss Jose Mourinho, while they also play Mourinho’s old side Porto away.
Tottenham host Roma, with away games against Galatasaray and Hoffenheim.
Rangers’ other fixtures include a difficult trip to last season’s Conference League champions Olympiakos and French side Nice.
The hi-tech draw followed the same format as Thursday’s Champions League draw, but this time it was former Athletic Bilbao striker Aritz Aduriz replacing Cristiano Ronaldo to press the all-important button.
The button then launches the AI algorithm which arranges which teams will face each other.
Meanwhile in the Conference League, Chelsea will host League of Ireland side Shamrock Rovers, while Welsh side The New Saints have a trip to Italy to play Fiorentina.
Scottish Premiership side Hearts play Copenhagen who lost to Manchester City in the last 16 of the Champions League last season.
Northern Irish side Larne welcome Shamrock and Belgium side Gent to Inver Park.
The top stories and transfer rumours from Friday's newspapers...DAILY MIRROR Man Utd have reservations over triggering Alvaro Carr
Captain Fantastic would be an understatement. An unsung and underappreciated hero for many years now in Ligue 1, Benjamin André is starting to enjoy his moment
Axel Disasi is considering leaving Chelsea as early as January, with German champions Bayer Leverkusen joining the race for the defender according to reports.Di
Football News Dive into the weekend’s thrilling European