Boil the sweet potatoes, peel them, and mash them.
Beat the eggs and mix them with the mashed sweet potatoes.
Add cocoa powder, almond flour, and baking powder, then mix well.
Pour the batter into the pan.
Bake in a preheated oven at 180°C for 25 minutes.