Welcome to Just Answer, I will do my best to help you solve your problem
What model zone valve?
I can't answer your question without knowing what zone valve you have. If you don't know the model tell me if it has 2 red & 2 yellow wires or 5 terminals
honeywell with wire leads
Either way you don't connect the zone valve end switch directly to the control module. You connect the end switch to the thermostat leads that come through the boiler jacket. If this is a CGt then they usually come out the left side
you also need a separate trans former to power the zone valves