Skip to main content

Triggers

A trigger defines the event that starts a workflow run. Every workflow has exactly one trigger at the top of its canvas.

Trigger types

Webhook

Hakona generates a unique HTTPS URL. Any HTTP POST to that URL starts a run, with the request body available as trigger data in subsequent steps.

POST https://hooks.hakonalabs.com/t/wh_abc123
Content-Type: application/json

{ "event": "payment.completed", "amount": 99 }

Schedule (Cron)

Run a workflow on a fixed schedule using a cron expression or natural-language intervals.

Examples:

  • Every 15 minutes: */15 * * * *
  • Every weekday at 9 AM UTC: 0 9 * * 1-5
  • First of every month: 0 0 1 * *

App event

Triggered by a specific event in a connected integration — for example, "new GitHub issue," "Slack message in channel," or "Salesforce record updated." Hakona polls the app or receives push events depending on the integration.

Manual

The workflow only runs when you click Run Now in the dashboard or call the Runs API. Useful for on-demand or test workflows.

Trigger data

All data from the trigger event is available to downstream steps as variables. For example, a GitHub "issue opened" trigger exposes trigger.issue.title, trigger.issue.body, trigger.repository.name, and so on. Use the variable picker in any action to reference trigger data.