How to flip a sole?

The sole of a shoe is a flexible piece of material that needs to be handled gently in order to fix it with the rest of the shoe. Specially if one of the faces of the sole is full of glue. The following video, courtesy of INESCOP, shows that the automatic manipulation can be performed successfully with a robot arm.