Cork City will face either Red Bull Salzburg or KF Shkendija for a place in the Europa League group stages - if the Leesiders can get past Rosenborg in the third qualifying round.
The reigning Airtricity League Premier Division champions were beaten 4-0 on aggregate by Legia Warsaw in the first Champions League qualifying round and dropped into Europe's second-tier competition.
They host Rosenborg on Thursday in the third-round first leg before travelling to Norway seven days later. Both games are live on RTÉ 2 and the RTÉ Player.
RB Salzburg made it all the away to the Europa League semi-finals last year and are expected to overcome KF Shkendija without too much fuss, meaning Cork would face the Macedonians.
Crvena Zvezda or Spartak Trnava await the winners of Salzburg and Shkendija in the Champions League play-off round.
EUROPA LEAGUE | Should Cork City progress to the Europa League Play-off Qualifying Round we will face the losers of RB Salzburg vs KF Shkëndija. #CityInEurope pic.twitter.com/sxkPNjA4OG
— Cork City FC (@CorkCityFC) August 6, 2018
Meanwhile Celtic - who dumped Rosenborg into the Europa League - will face Malmo or Vidi for a place in the Champions League group stages should they win their third-round qualifier against AEK Athens.
The Scottish champions will reach the play-off round if they see off Greek side AEK in a tie which begins with Wednesday's first leg at Celtic Park.
They would then play either Malmo - in a repeat of a tie won by the Swedes in 2015 - or Hungarian side Vidi, with the prize being a spot in the group stage for a third time in four seasons.
Malmo won 4-3 on aggregate when they faced Celtic three years ago, turning the tie around after losing the first leg in Glasgow 3-2.
The play-off matches will take place on August 21-22 and 28-29, with the draw for the group stages - for which 26 clubs have qualified automatically - being held on August 30.
We need your consent to load this SoundCloud contentWe use SoundCloud to manage extra content that can set cookies on your device and collect data about your activity. Please review their details and accept them to load the content.Manage Preferences
Elsewhere in the draw, Dutch side PSV Eindhoven will play Qarabag or BATE Borisov with Swiss outfit Young Boys tackling Astana or Dinamo Zagreb.
Benfica or Fenerbahce will take on PAOK Salonika or Spartak Moscow while Ajax or Standard Liege will come up against Slavia Prague or Dynamo Kiev. Crvena Zvezda or Spartak Trnava will face Red Bull Salzburg or Shkendija.