hitting shadowheart with sacredflame is quite ez

pro tip
cleric spell are often best use in conjuncture with another magic type
such as HEX : DEX or Grease spells
its also worth to take time and examine the monster to see if its AC is higher then its DEX so you know if you should do Ranged attacks or cast sacred flame
keep in mind that in 5e your to hit chance is base of your level and not your class
every one have +2(lv 1-4) and then you add you Dex/str or in case of a spell you spell modifier cleric is wisdom