Skip to content

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.

TriggerWhen it firesTypical usage
Schedule (schedule)Fires periodically by Cron expression or fixed intervalFetch data every day at 8 AM
WebhookAn external system sends a request to a dedicated URLPayment callbacks, alert callbacks trigger processing
HTTP route (http_route)GET/POST and other requests sent to a REST route exposed on this machineCalled 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 UPTrigger a common flow with one keystroke
Clipboard change (clipboard)New text/image/file appears in the clipboardCopy a link and it gets fetched automatically
Screenshot (screenshot)Takes a screenshot of a specified monitor at an intervalPeriodically archive screen state
App focus (app_focus)A specified process/window gains or loses focusStart 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

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.

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

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:

ProtectionWhat it does
Access tokenCallers must present the token, otherwise the request is rejected
HMAC signature verificationVerifies 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 keyDuplicate deliveries of the same request execute only once
Rate limitingPrevents being flooded
CORS allowlistRestricts browser-side cross-origin call sources
Synchronous responseOptionally wait for the flow to finish and return the result directly to the caller
  • 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