Action*
*Hang tight — we're still working on it!
Overview
The Action resource in Valeiot enables users to automate interactions with platform resources through schedulers and watchers. Actions serve as event-driven triggers that execute predefined operations when specific conditions are met or at scheduled times.

Key Characteristics
- Flexible Triggers:
- Schedulers: Time-based execution (cron-like syntax)
- Watchers: Watch Data Points for execution (state changes, thresholds)
- Run any logic: Easily trigger scripts to perform custom tasks or processes
- Conditional Logic: Supports "if-and-or" trigger conditions
- Scalable: Handles high-frequency events efficiently
Use Cases
- Scheduled Maintenance: Send command to reboot devices every Sunday at 2 AM
- Event-Driven Alerts: Notify technicians when a machine exceeds vibration thresholds
- Automated Reports: Generate and send via email daily reports at 8 AM
- Geofence Watcher: Check if a device is in a safe or danger zone based by analyzing each location update.