Trigger.dev Job Creator
Build Trigger.dev background jobs visually. Configure event triggers or cron schedules, add task.run steps, subtasks, wait.forEvent pauses, and delay steps. Set machine type, queue, max duration, and retry policy. Generates Node.js, Bun, or Python code ready to copy into your project.
Frequently Asked Questions
What is Trigger.dev and how does it differ from Inngest?▼
Trigger.dev is an open-source background job platform with self-hosting support. Like Inngest, it provides durable execution with step-level retries and event triggers. Key differences: Trigger.dev v3 uses dedicated machines (configurable CPU/RAM per job), supports longer runs (up to 1 hour on free tier), offers Bun runtime support, and has a strong self-hosted story via Docker. Inngest focuses more on event-driven architecture with tight fan-in/fan-out patterns.
What is task.run and how does step durability work?▼
task.run wraps a block of code in a named, durable step. If your job crashes mid-execution, Trigger.dev replays it from the last completed step — not from the beginning. Each step result is cached, so retries skip successfully-completed steps. This makes long-running jobs with external API calls safe to retry without causing duplicate side effects in completed steps.
What machine type should I choose?▼
Machine type determines CPU and RAM allocated to your job run. Use 'micro' (0.25 vCPU, 256MB) for lightweight jobs like sending a single email or webhooks. Use 'small-1x' to 'small-2x' for moderate workloads like data transformation or image processing. Use 'medium-1x' or 'large-1x' for CPU-intensive work like video processing, ML inference, or large database operations. Higher tiers cost more credits per second.
How does wait.forEvent work?▼
wait.forEvent pauses a running job until a matching event arrives or a timeout expires. This enables human-in-the-loop workflows: start a job on 'user.signup', send a confirmation email, then pause with wait.forEvent for 'user.email.confirmed' with a 24h timeout. If the user clicks within 24 hours, the job resumes with the event payload. If the timeout expires, you get a null result and can handle the unconfirmed case.
When should I use subtasks vs sequential task.run steps?▼
Use subtasks (triggerAndWait or batchTriggerAndWait) when work can be parallelized across multiple independent job runs — for example, processing 1000 user records by splitting into 10 subtasks of 100 each. Each subtask gets its own machine and retry count. Use sequential task.run steps when work is inherently linear or when passing data between steps — the output of step 1 feeds into step 2.
Does this tool send my job configuration to a server?▼
No. All code generation runs entirely in your browser using JavaScript. Your job IDs, event names, and step configurations never leave your machine.
Related Products
on GumroadDevPlaybook Interview Vault
210+ real technical interview questions with model answers, asked at Google, Meta, Amazon, Microsoft, Stripe, and Shopify. Covers Frontend (55), Backend (55), System Design (50), and DSA (50). Available in English and Traditional Chinese.
Buy on Gumroad →TypeScript Quick Reference Toolkit
5 practical reference files for TypeScript developers: cheatsheet, TS vs JS comparison, 20 utility types with real examples, tsconfig best practices template, and 15 common mistakes guide. Print it. Keep it on your desk.
Buy on Gumroad →Developer Productivity Bundle
Stop rebuilding the same setup every project. 51 VSCode snippets, 40 Git aliases, 5 Docker Compose stacks, 5 GitHub Actions workflows, 5 README templates, and a dotfiles kit. Set up a professional dev environment in under an hour.
Buy on Gumroad →You Might Also Need
Bundle Size Estimator
Estimate JavaScript bundle size from npm packages. 200+ popular packages with load time estimates for 3G, 4G LTE, 5G, and WiFi connections.
Open free tool →
SQL to TypeScript Types
Convert SQL CREATE TABLE statements to TypeScript interfaces and Zod schemas. Maps SQL column types to TypeScript with nullability.
Open free tool →
Bundle Size Impact Calculator
Calculate the bundle size impact of npm packages. Get gzipped size, percent increase over current bundle, and load time delta on 3G/4G/WiFi. Includes 23 popular packages.
Open free tool →
More Free Tools
Related Articles
Trigger.dev v3: Background Jobs and Task Queues with TypeScript in 2026
Build reliable background jobs, scheduled tasks, and long-running workflows with Trigger.dev v3. Covers tasks, triggers, retries, concurrency, fan-out patterns, and deployment — with real TypeScript code you can use today.
Bun 1.2 vs Deno 2 vs Node.js 22: Performance, Compatibility & Ecosystem 2026
Comprehensive 2026 comparison of Bun 1.2, Deno 2.0, and Node.js 22: startup time, HTTP throughput, npm compatibility, TypeScript support, and which runtime to choose.
Bun Runtime for Production 2026: Speed Benchmarks, Node.js Migration & Best Practices
Is Bun ready for production in 2026? Comprehensive guide to Bun runtime performance benchmarks vs Node.js, npm/package migration, built-in bundler, test runner, TypeScript support, and real-world production deployment best practices.
Deno 2 vs Node.js 22 vs Bun: JavaScript Runtime Comparison 2026
In-depth comparison of Deno 2, Node.js 22, and Bun in 2026: performance benchmarks, npm compatibility, TypeScript support, use cases, and which runtime to choose for your next project.
Bun 1.x Complete Guide 2026: Runtime, Package Manager, Bundler
Master Bun 1.x in 2026 — from installation and CLI commands to performance benchmarks vs Node/pnpm, built-in SQLite, hot reload, and production deployment strategies.
Enjoying this tool? Get more like it.
Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.
Unlock AI-Powered Dev Tools
- ⚡ AI Code Review, Doc Generator & SQL Builder
- ⚡ All premium templates & early access
- ⚡ Member discounts on Gumroad products
$9/mo after trial · Cancel anytime
Want the full toolkit?
Get DevPlaybook Pro
Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.
MIT licensed · Instant download · No subscription
See what's included → Browse all deals →