The device communicates directly with the Relay server, which is in the cloud and maintained for you. The Relay server acts as the central hub for all Relay devices.
The Relay server passes triggers and events to your workflow server. You are responsible for hosting the server where your workflow application runs with the Relay SDK. It needs to be reachable on the internet by the Relay server for passing in those triggers and events. Your workflow will generate actions back to the Relay server for it to handle or pass on to Relay devices.
Because you own the workflow server, any connections or client credentials needed to access your enterprise system will be held by you and not shared with the Relay server or device. You can also choose the deployment environment for the workflow server to fit your company's policies and practices.
Updated almost 2 years ago