it depends on
This grammar point expresses a conclusion that is contingent upon a certain action.
Examples
明日、彼に連絡する次第だ。
I will contact him tomorrow, depending on the situation.
結果がどうなるかは君次第だ。
How the result turns out depends on you.
この問題の解決は、君の判断次第だ。
Solving this problem depends on your judgement.
Quick check
明日、彼に連絡する___。