T-Slot Photo Interrupter with 1 Meter Cable (ADA3985)

I would like a simple circuit to operate a 12 volt relay using the T-Slot Photo Interrupter with 1 Meter Cable as a switch