Celtic will face Northern Irish side Cliftonville in the Champions League second qualifying round stage.
Hibernian will play Irish side Drogheda United or Sweden's Malmo in the Europa League second qualifying round.
Also entering at this stage are St Johnstone, who have drawn either Northern Irish side Crusaders or Norwegians Rosenborg.
Motherwell do not enter the Europa League until the next qualifying round, the draw for which is on 19 July.
Should Celtic progress, they will need to win two more qualifying rounds to reach the Champions League group stage.