Northampton Town will travel to Bristol City in the second round of the Carabao Cup after the draw was made live on Sky Sports on Sunday.
Ties will be played in week commencing September 14 and the club will confirm second round match details in due course.
The winners of that tie will play at home to Burton Albion or Aston Villa in the third round.
Round three will be played the following week.