Prepare a shot of espresso using your preferred method.
In a saucepan, gently heat the pumpkin puree, cocoa powder, and pumpkin spice syrup, stirring continuously.
Once combined, pour the mixture into a large mug.
Add the freshly brewed espresso to the mug.
Pour the steamed milk over the espresso and pumpkin-cocoa mixture.
Top with whipped cream if desired and sprinkle cinnamon or cocoa for garnish.