Shivchei HaRan, Part I, 11
And many times he would speak before God, blessed be He, words of supplication and request from his heart, and in the course of his words there would come to him fine arguments and fitting, well-ordered prayers that pleased him, and he would write them down for himself as a reminder, so that he could be accustomed to pray them afterward as well.
And so he was accustomed in this matter to speak between himself and his Maker very, very much, and all his prayers were that he merit to draw close to God, blessed be He, and he had great arguments before God, blessed be He, about this.
View original Hebrew
וכמה פעמים היה מדבר לפני השם יתברך דברי תחנות ובקשות מלבו ונזדמן לו בתוך דבוריו טענות יפות ותפלות נכונות ומסדרות והוטבו בעיניו, והיה כותבם אצלו לזיכרון, למען יהיה רגיל להתפלל אותם גם אחר־כך.
וכן היה רגיל בעניין זה לדבר בינו לבין קונו הרבה מאד מאד, וכל תפילותיו היו שיזכה להתקרב להשם יתברך, והיו לו טענות גדולות להשם יתברך על זה.