Celtic will face Kairat Almaty (Kazakhstan) or Slovan Bratislava (Slovakia) in the UEFA Champions League play-off round.
Rangers will meet either FC Salzburg (Austria) or Club Brugge KV (Balgium) if they defeat Viktoria Plzeň in the third qualifying round.
Aberdeen will take on FCSB (Romania) or Drita (Kosovo) in their UEFA Europa League Play-Off.
Should Hibernian get the better of FK Partizan then they'll play AEK Larnaca (Cyprus) or Leiga Warsaw (Poland) for a spot in the UEFA Conference League Phase while Dundee United will meet AIK Stockholm (Sweden) or ETO FC Györ (Hungary) if they defeat Rapid Vienna.