Triggers
After reading, you can: give flows automatic triggers so they run at the specified time or when events happen, and know how to keep Webhooks secure.
Entry: the Triggers panel next to the step panel inside the editor; triggers of all flows are managed centrally on the Flow Orchestration → Triggers overview page.
1. Nine Trigger Types
Section titled “1. Nine Trigger Types”| Trigger | When it fires | Typical usage |
|---|---|---|
| Schedule (schedule) | Fires periodically by Cron expression or fixed interval | Fetch data every day at 8 AM |
| Webhook | An external system sends a request to a dedicated URL | Payment callbacks, alert callbacks trigger processing |
| HTTP route (http_route) | GET/POST and other requests sent to a REST route exposed on this machine | Called by other programs on the LAN |
| File watch (watch) | Watched files/directories change (created/modified/deleted) | Clean and load a CSV as soon as it lands |
| Global hotkey (hotkey) | A registered key combination is pressed in AIPC UP | Trigger a common flow with one keystroke |
| Clipboard change (clipboard) | New text/image/file appears in the clipboard | Copy a link and it gets fetched automatically |
| Screenshot (screenshot) | Takes a screenshot of a specified monitor at an interval | Periodically archive screen state |
| App focus (app_focus) | A specified process/window gains or loses focus | Start recording automatically when you switch to an app |
| System event (system_event) | Lock/unlock, sleep resume, network changes, etc. | Sync automatically when you return to the computer |
2. Chained Triggers
Section titled “2. Chained Triggers”When a flow finishes (success or failure), it can automatically trigger other flows: configure “trigger on completion” in the Triggers panel to chain multiple flows together. This suits multi-stage tasks like “fetch → clean → report”, where each stage is maintained and rerun independently.
3. Triggers Overview Page
Section titled “3. Triggers Overview Page”The Flow Orchestration → Triggers page manages all flows’ triggers on one screen:
- Each row shows the trigger type, next run time, the most recent trigger result, and the failure count over the last 7 days
- You can enable/disable a single trigger directly, or click “Test trigger” to fire one manually for verification
- Schedule-type triggers preview the next few execution times; if a timezone cannot be recognized, confirmation is required first
- A Global Pause switch sits at the top: when paused, no triggers fire (very useful for troubleshooting); after resuming, everything continues on schedule
4. Webhook Security (Important)
Section titled “4. Webhook Security (Important)”Once a Webhook/HTTP route is exposed, anyone who knows the address can call it. AIPC UP provides several layers of protection; enabling at least the first two is recommended:
| Protection | What it does |
|---|---|
| Access token | Callers must present the token, otherwise the request is rejected |
| HMAC signature verification | Verifies the request signature (x-flow-signature) to prevent forgery; built-in signature presets for GitHub, Slack, Stripe, and other platforms — pick a platform and its signature format is aligned automatically |
| Idempotency key | Duplicate deliveries of the same request execute only once |
| Rate limiting | Prevents being flooded |
| CORS allowlist | Restricts browser-side cross-origin call sources |
| Synchronous response | Optionally wait for the flow to finish and return the result directly to the caller |
How to Verify Success
Section titled “How to Verify Success”- Add a schedule trigger to a flow; the overview page shows the “next run” time, and a new record appears in Runs when the time comes
- Add a Webhook trigger to a flow, call it once with curl and the token, and the flow is triggered successfully
- With Global Pause on, even a manual “Test trigger” does not actually run
