The following is excerpted from Unit 25 of "English Grammar in Use" by Raymond Murphy:
Amy is on a train. She's calling a friend.
"I'll call you again later when I arrive."
...
We say
when I do something (not will do)
when something happens (not will happen)
Question
Do you say "when I'm going to do something" in this sense?