"Matters of the heart" is an idiom that refers to all those things that have to do with your heart. Such as feelings, emotions, passions. The speaker means that - as always happens with all those things you apply your heart to (like falling in love, for instance) - you will know when you''ll get across the right job for you. You will be "magically" aware that that job is the very right one.