Preheat the oven to 400 °F. Roll out the puff pastry into a rectangle.
2.Toss the diced apples with sugar, vanilla extract and cinnamon.
3.Cut strips along both long sides, leaving the center intact for the filling.
Spoon the apple mixture down the center of the pastry. Fold the strips over the filling, alternating sides, to create a braid. Brush the pastry with egg wash and sprinkle with sliced almonds.
4.Bake for 25-30 minutes, until golden and crisp. Sprinkle it with confectioners' sugar before serving.