Preheat your oven to 350°F (175°C).
Grease a 9x13 inch baking dish.
Spread the apple pie filling evenly across the bottom of the dish.
Sprinkle cinnamon over the apple filling.
In a separate bowl, mix the yellow cake mix with vanilla extract.
Pour the cake mix over the apple filling, spreading it evenly.
Drizzle the melted butter on top of the cake mix.
Sprinkle chopped nuts over the buttered cake mix (optional).
Bake in the preheated oven for 45 minutes, or until golden brown.
Let it cool for a few minutes before serving.