As featured in Supabase launch week 8

Supercharge your Supabase with Trigger.dev

Trigger long-running jobs directly in your codebase based on changes in your Supabase database. Easily add delays up to a year, and integrate with other services reliably.

Get started now

React to events in your database:

Get notified when a new user signs up and updates their password.

Trigger anything from a database change

Keep your app, database and services in sync using Trigger.dev. And create your jobs where you're used to, in your own codebase.

1
import { Database } from './supabase.types' // Generated types
2
import { SupabaseManagement } from '@trigger.dev/supabase'
3
import { resend } from "./resend"
4
5
const supabaseManagement = new SupabaseManagement({
6
id: 'supabase-management',
7
})
8
9
// Pass the generated types to the db instance
10
const db = supabase.db<Database>("https://<project id>.supabase.co");
11
12
client.defineJob({
13
id: 'send-welcome-email',
14
name: 'Send welcome email',
15
// Subscribe to users being updated
16
trigger: db.onUpdated({
17
schema: "auth",
18
table: 'users',
19
filter: {
20
old_record: {
21
email_confirmed_at: [{ $isNull: true }],
22
},
23
record: {
24
email_confirmed_at: [{ $isNull: false }],
25
},
26
},
27
}),
28
// Define the integrations that this job will use
29
integrations: {
30
resend,
31
},
32
run: async (payload, io, ctx) => {
33
// Send an email using Resend
34
await io.resend.sendEmail('send-email', {
35
to: payload.record.email,
36
subject: 'Welcome to Acme Inc.',
37
html: welcomeEmail,
38
from: 'Acme Inc. <[email protected]>',
39
})
40
},
41
})

A Supa-powered integration

Unleash the full power of the Supabase API from your codebase.

Supabase Management made easy with OAuth

The integration handles OAuth for you, so you can just login and start automating: manage your organizations, projects and more.

Automate your Supabase with the Management API

Create and manage projects, organizations, functions, and more, using the Management API and our SupabaseManagement integration.

Connect your Supabase database toAirtable

Easily connect to your favorite tools and services. Create Jobs to trigger any action you want.

Trigger.dev is redefining background jobs for modern developers.

Paul Copplestone

CEO, Supabase

Developer-first features

Trigger.dev is designed to seamlessly fit into your existing workflow.

Long running jobs diagram

Long running jobs on serverless

Reliably run jobs and don’t worry about function timeouts, we handle those for you.

Auto-resume after a function timeout

Auto-resume after a server outage

Add delays of up to a year

In your codebase

Create jobs where they belong: in your codebase. Version control, localhost, test, review, and deploy like you're already used to.

Secure by design

We only receive Triggers and the data you choose to send to us. You can even completely self-host the entire platform.

Trigger.dev cloud diagram

Don't worry about deployment

Just use our SDK to write jobs in your codebase. There's nothing extra to deploy and no CI to configure, your jobs just connect to our cloud. Or you can always self-host.

Retrieved records

Fetching commits

Generate changelog

Show progress with React hooks

Display the real-time status of your long-running jobs anywhere in your UI, so your users always know what’s going on.

All the APIs you need

Easily integrate with third-party APIs – including your own.

Use our built-in integrations

Easily subscribe to webhooks and perform any actions you want.

Use an existing Node.js SDK

Use io.runTaskto make it resumable and appear in the dashboard

OAuth or API key authentication

Use API keys (which never leave your server) or let us handle OAuth for you.

Bring-your-own authentication

Supply your user’s auth credentials using Clerk or Nango, or use our custom auth resolvers.

APIs with code examples

Loved by developers

I ****ing love Trigger.dev - really has been the missing piece in the puzzle for me going full serverless.

https://imagedelivery.net/3TbraffuDZ4aEf8KWOmI_w/d60cc0d1-a132-420a-b7fa-bdb67267f800/public

Pontus Abrahamsson

Midday

Midday + ' logo'

Trigger.dev helps us process bounties & tips on Algora without having to duct-tape queues & crons. With standardized timeouts, retries & logging we get full resilience & observability!

/testimonials/algora/zafer-cesur.png

Zaf Cesur

Algora

Algora + ' logo'

Trigger.dev has become my go-to tool for new projects. I no longer need an additional server and can forget about horizontal scaling!

https://imagedelivery.net/3TbraffuDZ4aEf8KWOmI_w/f577a1b5-e9bc-46ae-af2e-517c8ebef700/public

Nevo David

Novu

Novu + ' logo'

For AI powered products, Trigger.dev is my clear go-to tool for building robust serverless pipelines stitching together various LLM calls.

/testimonials/blee/evan-sandler.png

Evan Sandler

Blee

Blee + ' logo'

Trigger.dev is redefining background jobs for modern developers.

https://imagedelivery.net/3TbraffuDZ4aEf8KWOmI_w/e82deee8-b8ec-4092-3980-b268688d1900/public

Paul Copplestone

Supabase

Supabase + ' logo'

We love Trigger.dev and it’s had a big impact in dev iteration velocity already.

https://imagedelivery.net/3TbraffuDZ4aEf8KWOmI_w/3e6a3e0f-e4c9-41e9-3881-ffe4cfc50400/public

André Neves

ZBD

ZBD + ' logo'

We’ve been looking for a product like Trigger.dev for a long time - automation that's simple and dev-focused.

https://imagedelivery.net/3TbraffuDZ4aEf8KWOmI_w/4e3d1187-c27b-4bdc-feac-d2e5297e9a00/public

Han Wang

Mintlify

Mintlify + ' logo'

I’m in love with Trigger.dev – it’s so much better than the old bull.js + heroku + redis setup that I used to use. You’ve knocked it out of the park with this tool!

https://imagedelivery.net/3TbraffuDZ4aEf8KWOmI_w/6738d30f-ccd5-4342-8764-a2194fc0d900/public

Kushal Byatnal

Extend

Extend + ' logo'

Trigger.dev is a great way to automate email campaigns with Resend.

https://imagedelivery.net/3TbraffuDZ4aEf8KWOmI_w/3aca9c05-4563-4924-61df-867ec8434200/public

Zeno Rocha

Resend

Resend + ' logo'

I really enjoyed using Trigger.dev to create jobs through code. I found the API integrations and scheduling features super useful.

https://imagedelivery.net/3TbraffuDZ4aEf8KWOmI_w/36535ea9-56b4-42e3-4e45-ef08d293dd00/public

Adam Shiervani

BuildJet

BuildJet + ' logo'

Using Trigger.dev for our Slack jobs saved us loads of time! It was much easier to set up than a no-code tool.

https://imagedelivery.net/3TbraffuDZ4aEf8KWOmI_w/9c9e9c2e-5ff1-4227-f0d3-514aa2e49300/public

Vlad Matsiiako

Infisical

Infisical + ' logo'

Trigger is packaging end-to-end cron, queues and webhooks platform in a slick interface. Integration was quick and we love the support ❤️

https://imagedelivery.net/3TbraffuDZ4aEf8KWOmI_w/521fe3ce-20f6-4f9b-d8de-b1c3b4724100/public

Aseem Gupta

Shaktimaan

Shaktimaan + ' logo'

Full visibility of every run

View every task in every run so you can tell exactly what happened.

Webapp

Step-by-step

Follow the flow of a job from the trigger to the tasks.

All the details

See the input and output data of every task, including retries and detailed errors.

Re-run jobs

Quickly re-run a job to check if you've fixed a bug.

Start building today

Get started