AV 50 then JA 5120 at Bogotá
Lima → Bogota → Medellín
Timetable, Bogota time
15:00AV 50 from Lima at the gate
08:45JA 5120 to Medellín leaves the gate
17 h 45 apart on the timetable, overnight
JA 5120 leaves 17 h 45 after AV 50 arrives on the timetable: more than half a day, so not a connection we count.