Fetching details from the dictionary...

thank you (for your hard work); I appreciate your efforts
残業した部下に御苦労さまと声をかけた。
I told the subordinate who worked overtime good work.
引っ越しの手伝いに御苦労さまと感謝した。
I thanked them for their help with the move by saying good job.
長時間の警備に御苦労さまでしたと伝えた。
I said well done to them for the long hours of security duty.