Trigger System — Cron, Webhook & Event-Based Workflow Activation

🔀 Workflow go v1

Workflows can be activated by three trigger types: Cron (time-based schedules), Webhook (incoming HTTP requests), and Event (file changes, app signals). Managed by internal/trigger/ package.

Trigger Types

Cron (Time-Based)

Activate workflows on a schedule:
  • Every minute: * * * * *
  • Every hour: 0 * * * *
  • Daily at 9am: 0 9 * * *
  • Weekly Monday: 0 9 * * 1

Webhook (HTTP-Based)

Activate workflows via HTTP POST:
  • Engine registers a unique URL
  • External services POST data to trigger the workflow
  • Request body is available as input to the first node

Event (File/Signal-Based)

Activate workflows when something changes:
  • File created/modified in watched directory
  • App sends a signal via IPC
  • Browser tab loads a specific URL