Tzava'at HaRivash Chapter 61
Can copy this into an AI, or connect the whole library to your assistant. For deeper learning, you can directly use the original seforim, sites, and apps.
יחשוב שטוב לו שהשי"ת יעזור לו שיכוין כמו חצי התפלה או רובו בכוונה גמור' ולבסוף כשיחלוש ויבטל הדביקות מה לעשות לו. יתפלל כפי יכולתו בכוונה קטנה עד סוף עלינו:
The Way of The Baal Shem Tov. Adapted into English by Rabbi Amiram Markel and Yehudah Shimon Markel, 2020
Consider it good for you if HaShem, blessed is He, helps you to have proper devotional intention (Kavanah) for half or most of the order of prayers. If towards the end, your adhesion (Dveikut) is lost, what should you do? Pray with diminished intent, according to your capacity, until the end of the concluding prayer of Aleinu.