Integrating SmartThing's automation requires an understanding of the SmartApp lifecycle and implementing its protocol. The SmartThings nodes provided in the Automation Studio allows you to wire installed devices to implement autorun rules without any code. Or simply deploying an Automation node that implements the SmartApp lifecycle without coding. Event nodes for device subscriptions, Status nodes for device status checks, and Command nodes for device commands are provided.
In general, the SmartThings Automation is designed in the following order.
It's a SmartThings Automation using ContactSensor and LIFX Bulb
In order for SmartThings Automation to work, you must register WebHook through SmartThings Workspace.