ついでに
I don’t remember learning this for N3.
The scenario I wanted to use this was, I went back to my university and while at it, I also met up with a senpai from my lab.
先週、大学のパソコンを試すために、大学に帰った。ついでに、同じラボの先輩と会った。
Reference
JLPT N3 Grammar: ついでに (tsuide ni) – Learn Japanese | JLPT Sensei