in order to have someone do something for youExpresses the purpose of receiving someone’s help or having them do something. The action before もらう describes what you want them to do.
JA: 先生に作文を見てもらうため、学校へ行きました。
EN: I went to school so my teacher could look over my essay.