What problem does it solve?
Trigger.dev v4 provides a framework to design and operate long-running, fault-tolerant backend tasks with built-in retries, idempotency, and persistent state, enabling reliable background processing at scale.
Core Features & Use Cases
- Asynchronous tasks: run in the background without blocking user requests.
- Scheduling and orchestration: define cron jobs, workflows, and sub-task pipelines (batch triggers, parallel tasks, and robust error handling).
- Validation and extensibility: integrate with Zod schemas for strong inputs/outputs and build extensions (ffmpeg, Playwright, Prisma) to fit domain needs.
- Real-world scenarios: video processing pipelines, AI workflows, data pipelines, and scheduled maintenance tasks.
Quick Start
Define a typed task with schemaTask and trigger it from your API to start a background workflow.