Trigger.dev
Build reliable background jobs with Trigger.dev. Create long-running tasks, scheduled crons, webhook handlers, and event-driven workflows with retries, concurrency limits, and real-time run monitoring.
This skill helps you build background jobs and workflows with Trigger.dev v3. It generates task definitions with typed payloads, scheduled triggers, webhook receivers, multi-step workflows with checkpoints, retry policies, and concurrency controls — all running on serverless infrastructure with no timeout limits.
When to use
Use when you need background jobs that outlive HTTP requests, scheduled tasks with cron expressions, or reliable event processing with retries — without managing queues or workers yourself.
Examples
Long-running task
Process large datasets in the background
Create a Trigger.dev task that processes a CSV upload row by row, with progress tracking, checkpoints for resumability, and error handling per row
Scheduled sync job
Set up recurring data synchronization
Build a Trigger.dev scheduled task that syncs users from Stripe to my database every 6 hours with idempotency and Slack notifications on failure
Webhook processing
Handle incoming webhooks reliably
Create a Trigger.dev webhook handler for Stripe events that processes payment_intent.succeeded, validates signatures, and updates order status