If you use a device with dry contacts and the right specifications, you should be fine.
In particular, if you’re using North American zwave, Zooz should have a relay model that will work. Their tech-support is usually very helpful with wiring diagrams.
See the FAQ:
FAQ: List of devices with dry contact input from external sources