This is the [remarkable degree of] confidence which we [as believers are entitled to] have before Him: that if we ask anything according to His will, [that is, consistent with His plan and purpose] He hears us. And if we know [for a fact, as indeed we do] that He hears and listens to us in whatever we ask, we [also] know [with settled and absolute knowledge] that we have [granted to us] the requests which we have asked from Him.
1 John 5:14-15 AMP
The key to answered prayer is praying according to the Father’s will. When we pray according to His plans and purposes we know that He not only hears us but that He will answer us according to His will. He has so designed the earth that He chooses to work and accomplish His purposes through the prayers of His people.
Now you may inquire “how do we know how to pray according to His will”. This simply comes a result of growing in our relationship with Him. As we draw near, study His word, and spend time in prayer, we come to know His heart and His purpose. We become more and more sensitive to the leading of the Holy Spirit and it is the Holy Spirit who leads us in prayer.
Often times the way the Holy Spirit leads us in prayer is the Lord will place a persons name upon our heart. We may have a picture of who they are come to our mind, or it may be a burden God places on us for a nation, city, government, or church. God has called us His people to be a house of prayer and time and time again in His word He calls us to pray. May we be obedient and respond as the Holy Spirit leads.