AV 8584 then P5 7230 at Bogotá
Pasto → Bogota → Cartagena
Timetable, Bogota time
09:30AV 8584 from Pasto at the gate
05:35P5 7230 to Cartagena leaves the gate
20 h 05 apart on the timetable, overnight
P5 7230 leaves 20 h 05 after AV 8584 arrives on the timetable: more than half a day, so not a connection we count.