Triggers
Deck now supports triggers: schedule a task to run automatically across every credential on a source, without building the orchestration yourself. A trigger ties a cron schedule to a task and a set of credentials, and Deck creates one task run per credential each time it fires, handling fan-out, skip logic, and observability for you.
- Schedules: Set a cron expression and timezone in condition, and the trigger fires on that cadence.
- Dynamic credential scope: Target credentials with an explicit
credential_idslist, or acredential_filterbysource_idsand status so newly connected accounts get runs automatically, no registration step required. - Skip conditions: Use
skip_ifto skip a credential when its last run of the task already succeeded within a time window, cutting redundant runs. - Concurrency control: Cap simultaneous runs per trigger with
concurrency_max. Scheduled runs draw from their own capacity pool, so a large fan-out never delays on-demand runs. - Full observability: Triggered runs are normal task runs tagged with
trigger_id. Triggers emit lifecycle events (trigger.created,trigger.activated,trigger.deactivated) and fire events (trigger_run.completed,trigger_run.failed), and auto-deactivate after repeated failures.