{% extends "dashboard/base.html" %} {% from "partials/_macros.html" import status_pill, relative_time, pill, empty_state, info_toggle, stat_card %} {% block page %}
Scheduled and triggered work that mints tasks on its own — cron schedules, inbound webhooks, and the run history they produce.
An autopilot turns a recurring-task definition into self-driving work. It can fire on a cron schedule or from an authenticated webhook, and every fire is recorded as a run so you have an audit trail.
A definition can route its output to a @squad — the fired task lands squad-tagged and the leader delegates. Toggle a schedule off to pause without losing it.
{{ t.name }}
{% if t.enabled %}{{ status_pill('active') }}{% else %}{{ status_pill('archived') }}{% endif %}
| Endpoint | Fires | Event filter | State |
|---|---|---|---|
{{ icon('plug-zap') }} /hooks/{{ w.slug }} |
{{ w.definition_name }} |
{% if w.event_filter %}{{ w.event_filter }}{% else %}all events{% endif %} |
{% if w.enabled %}{{ status_pill('active') }}{% else %}{{ status_pill('archived') }}{% endif %} |
| When | Definition | Source | Status | Task |
|---|---|---|---|---|
| {{ relative_time(r.created_at) }} | {{ r.definition_name }} |
{% if r.source == 'webhook' %}{{ pill('webhook', tone='info', icon_name='plug-zap') }} {% elif r.source == 'schedule' %}{{ pill('schedule', tone='accent', icon_name='refresh-cw') }} {% else %}{{ pill('manual', tone='neutral') }}{% endif %} | {% if r.status == 'created' %}{{ pill('created', tone='success', dot=True) }} {% elif r.status == 'failed' %}{{ pill('failed', tone='danger', dot=True) }} {% else %}{{ pill(r.status, tone='neutral', dot=True) }}{% endif %} | {% if r.task_code %}{{ r.task_code }}{% else %}—{% endif %} |