I did something sort of similar. I wired an outlet to my tablesaw switch and plug the vacuum into that switched outlet. That way the vacuum always comes on with the saw. I upgraded the switch and the power chord too, to handle the extra amperage.

Losing fingers since 1969