Everything one comes into contact with has an aspect which is Prozdor/Vestibule/"Means" and an aspect which is Traklin/Hall/"Ends." One always has the choice to focus on the vessel that one must deal with or on the purpose for which that vessel was brought into his life at the time.
The innermost purpose of everything that one encounters is Kirvas Elokim. And there are many vessles and means by which we are meant to acquire that Deveikus B'Borei in all of life's aspects.
For instance, if I have an assignment at my job, I can focus on the external garment of that aspect of my life, or I can focus on its inner point. I could feel about the assignment that I want to work on it in order to learn more about that field of law. In order to make money by showing my firm that I can be trusted with the firm's clients' work. In order to impress others and be recognized as a competent and intelligent member of a team who can be counted on for "important" work. But all of those reasons or purposes for doing the assignment do not begin to touch the real reason Hashem caused me to encounter that assignment.
While it is true that I must perform with excellence and attention to detail on the assignment, that is primarily because doing so is the Ratzon Hashem. Doing the job one is paid for is basic honesty, Choshen Mishpat. To do otherwise would be similar to geneiva, stealing money/ my salary from my employer without performing my part of the bargain, which is certainly not Ratzon Hashem. Doing so also creates a Kiddush Hashem in front of the client and others in the firm.
The doing of a good job is the same outwardly, whether one is doing so for the superficial reasons or for the inner reason. But my spiritual level will be conpletely different depending on my intent. If I think to myself periodically throughout the day that I am doing whatever particular act that I am doing because it is the Ratzon Hashem and that I want to do the Ratzon Hashem to become closer to the Creator and to give Him nachas ruach, pleasure in having His children do His will, then I am not living a life connecting to mere "means" that enclothe the true purpose for things. Rather, I will be connecting to the tachlis, the real purpose of things, and not merely their outer expression.
Then my life will be "real" and not a shell of a life, with an outer form bu no substance.