Detecting when an item is on a campfire

Trying to make it so I can make floor crafting on campfires, tho I'm not sure fully how to do it execute if block ~ ~-1 ~ campfire is what I thought I needed, but that and a few other ranges hasn't worked I'm on phone so I don't got exact command/code, but the summary is execute as [item] at @s execute if block ~ ~-1 ~ campfire say hi
Continue to help post