I chose either could be used.
I think that the answer depends on the speaker`s intention. There`s a slight semantical difference between the two future forms:
I will tell her if I see her. - will expresses determination
I am going to tell her if I see her - be going to expresses intention or planned action.
I am not sure if my choice is right, though.
Thank you.

English Teacher