に代わって

on behalf of; in place of

→ に
phrase Rare #31,167
on behalf of; in place of Follows a noun and indicates acting as someone’s representative or taking their place.
JA: 母に代わって、私が電話に出ました。
EN: I answered the phone on behalf of my mother.

あなたに代わって買い物をして家を掃除して夕食を作ってあげる。

I'll do the shopping, clean the house, and make dinner for you.

ジョンが妹に代わって答えた。

John answered on behalf of his younger sister.

母に代わって皿洗いをする時もあります。

Sometimes I do the dishes instead of my mother.

私は母に代わってあなたに手紙を書いています。

I am writing to you on behalf of my mother.

月に代わってお仕置きよ!

In the name of the moon, I'll punish you!