To a glass, add the vanilla syrup, cold brew, and ice. Stir to combine.
In a separate glass, combine the toasted coconut syrup, vanilla syrup, milk, and heavy cream. (If you're using Homemade Starbucks Vanilla Sweet Cream instead, combine 2 ounces of the sweet cream with 1 tablespoon toasted coconut syrup).
Froth using a handheld milk frother until thick and creamy (about 15 seconds). You want the texture to be creamy and pourable, not stiff like whipped cream.
Pour the cold foam over the cold brew.
Top with toasted coconut flakes and enjoy!