Casts paladins blessings when they are not active

I would like to make a macro that if it detects that there’s no blessings, just to cast it, like the Dk with the pet {nopet} I would like the same for blessings, thank you

Cant do it unfortunately.

Have a look at the mod Nanika Paladin Blessings (https://mods.curse.com/addons/wow/nanika) though It will give you a button for the two blessings and go red if they are not up. You can then click the button to reapply. It will also allow you to say i want the blessing on X party/raid member and track its duration.