i think you need to have actions .
like if you're praying to passed the exam but your not studying, there's a great chance you will fail even though u prayed haha.
from my point of view,
prayers might be answered in different ways.
if your praying for a sick to be heal - that doesnt need an action but only need a sincere heart.
if your praying that you will be successful - now this needs an action. depend on the action you made that is how successful you'l be, and that prayer you prayed will guide you.
because prayer is an act of faith, and faith without action is really not faith at all but dead.