Lock button creates geofence + alert rule

Lock button creates geofence + alert rule

I want to allow my users to be alerted when an asset (with GPS tracker) moves out of an area. But the area is dynamic depending on where the asset is located - i.e. the asset can be in many locations during the day and they are not known beforehand.

Is this possible:
- user selects device on map
- user clicks a button to "lock" position, and that creates a geofence with certain radius around device's current position
- if asset moves out of geofence area then an alert rule is triggered

Can I do this with Tago.io?