4n35 Optocoupler as Switch

outsider:
So you're going to buy a relay with 12V coil(s), you will need transistor(s) to switch the 12V coil current with the 3.3V esp-12e outputs. Correct?

actually the coil is 5v and going to switch the 12v on the com side