に行ってきたんだ

went to … and came back

→ に
phrase Rare #20,551
went to … and came back The ending んだ gives the statement an explanatory or matter-of-fact tone and is conversational.
JA: 昨日、友達の家に行ってきたんだ。
EN: I went to my friend’s house yesterday and came back.

空港まで見送りに行ってきたんだ。

I went to the airport to see them off.

本屋さんに行ってきたんだ。

I went to the bookstore.

入院してるトムのお見舞いに行ってきたんだ。

I went to visit Tom in the hospital.

すぐそこのお店に行ってきたんだ。

I just went to the store right over there.

駅まで友達を迎えに行ってきたんだ。

I went to the station to pick up a friend.

お化け屋敷に行ってきたんだ。

I went to a haunted house.

市民プールに行ってきたんだ。

I went to the public pool.

古い別荘に行ってきたんだ

I went to an old vacation home.

— 甘い生活 (1960)

妹と動物園に行ってきたんだ。

I went to the zoo with my little sister.

歯医者に行ってきたんだ。

I just got back from the dentist.