行くつもりだった

was going to go

→ 行く
phrase Rare #28,326
was going to go Describes a past intention or plan; whether the person actually went depends on the context.
JA: 昨日、友達の家に行くつもりだった。
EN: I was going to go to my friend's house yesterday.

行くつもりだったのに、忘れてたんだ。

I was planning to go, but I forgot.

彼女は入院中のお母さんの見舞いに行くつもりだったんです。

She was planning to visit her mother in the hospital.

私は彼と行くつもりだった。

I was planning to go with him.

行くつもりだった。

I was planning to go.

他に行くつもりだったんだ

I was planning to go somewhere else.

— ロシアン・ブラザー (1997)

私は行くつもりだったが忘れた。

I meant to go, but I forgot.

彼女は、入院中のお母さんのお見舞いに行くつもりだったんじゃないかな。

I think she was planning to visit her mother in the hospital.