Swansea City will visit Peterborough United in the EFL Cup second round as thirteen Premier League clubs – all of whom are seeded – join the competition.
Cardiff City will travel to Scunthorpe United if the Bluebirds beat Bristol Rovers on Thursday.
Newport County were knocked out of the competition after throwing a two-goal lead at home to League One side Milton Keynes Dons to lose 3-2 on Tuesday.
All ties are to be played the week commencing 22 August.
View the full draw here.
Subscribe to the BBC Sport newsletter to get our pick of news, features and video sent to your inbox.