AV 8581 then JA 5131 at Bogotá
Valledupar → Bogota → Medellín
Timetable, Bogota time
23:40AV 8581 from Valledupar at the gate
22:55JA 5131 to Medellín leaves the gate
23 h 15 apart on the timetable, overnight
JA 5131 leaves 23 h 15 after AV 8581 arrives on the timetable: more than half a day, so not a connection we count.