It's correct, but I would not agree with the analysis- I would say it is the present progressive + gerund. Going to would be followed by an infinitive/base form in most cases.
If you have a question about the English language and would like to ask one of our many English teachers and language experts, please click the button below to let us know: