Thayumanavar wrote about the qualifications that are necessary for one who is looking for a qualified Guru. Bhagavan Ramana once cited this verse, and endorsed its contents, in the following dialogue:
Question: When does one get the company of sadhus?
Bhagavan: The opportunity to be in the company of a Sadguru comes effortlessly to those who have performed worship of God, japa, tapas, pilgrimages etc for long periods in their previous births. There is a verse by Thayumanavar that points out the same thing:
For those who, in the prescribed manner,
have embarked upon the [pilgrim] path
of divine images, holy sites and holy tanks,
a Sadguru, too, will come
to speak one unique word,
O Supreme of Supremes!
Only he who has done plenty of nishkamya punyas [austerities performed without any thought of a reward or consequence] in previous births will get abundant faith in the Guru. Having faith in the Guru’s words, such a man will follow the path and reach the goal of liberation.