Liverpool have been drawn against Scottish side Hearts in the Europa League play-off round.
The first leg is set to be play at Tynecastle on August 23 with the return leg at Anfield a week later.
Newcastle United will take on Greek team Atromitos after entering the tournament at this stage due to their fifth-place finish last season.
Alan Pardew's men will head to Greece for the first leg before playing at home the week after.