Main conn2res workflow