Lurker News
For the past few months we’ve been building Trigger.dev and can now share our beta with you: https://github.com/triggerdotdev/trigger.dev. Trigger.dev is an open source platform that makes it easy for developers to create event-driven background tasks directly in their code. You write workflows using our SDK, and can view all the runs in our web app.

Why we built this:
- We found current workflow / automation tools like Zapier and n8n are good for simple tasks, but not for more advanced use cases.
- Dropping down into code in these tools is just not a great experience. We prefer using our own IDEs, version control, and having access to GitHub Copilot etc.
- Sometimes, a workflow requires us to query a database or handle some sensitive information. It would be great if this data wasn’t sent to a third party.
Our beta version lets you:
- Trigger workflows from webhooks, custom events or schedules (CRON)
- Use API integrations with Slack, GitHub, Shopify and Resend. We’re adding more of these each week.
- Add delays of up to 1 year. Workflows will resume where they left off, even if your server has gone down.
- Support for Fetch and subscribing to generic webhooks.
- Observe every workflow run in the app (great for debugging).
- Open source MIT license so anyone can self-host the platform.
We’re still early so would love your feedback and opinions. Feel free to try us out for free – and if you want a specific API integrated, just let us know.
Main website: https://trigger.dev Github: https://github.com/triggerdotdev/trigger.dev

Comments (190) 49 threads

Earlier comments
johtso#
All the example use cases seem to be for non business critical stuff.

Is this being sold as a tool that I could use for.. say.. persistent workflows for customer payments? Say I needed to take payment, and make sure that a ticket is reserved using a 3rd party api once the payment is successfully processed, refund the payment if there's some kind of problem, and then I need to send a confirmation email.
Can I store and query state on the workflow? In my code can I `await` the completion of a workflow and get a result?

hajrice1 reply#
Zapier is very easy to use - everything you want to do/learn is in the no-code interface page, no need for reading documentation. This (as a developer myself) seems very complex to use. I have to read each integration's library, and also use Typescript (why not JS or something more popular?), at which point, I may aswell just write code and use an API.
mattaitken#
We think Zapier is a fantastic product and we've used it ourselves many times. But it's more focused on simpler use cases and we found ourselves hitting the wall and then being frustrated that there wasn't a good alternative that could live in our code.

You can use JavaScript and will have a great experience – all of our code is in TypeScript which means you get a really nice experience as either a JS or TS developer.

ryan_jiang#
+1 to this problem space. Resonate a lot with the gaps with Zapier, particularly around the need for escape hatches/conditional logic when needed––one of the reasons we built Retool Workflows! https://retool.com/products/workflows/
jonny_eh1 reply#
Are you hosting or am I? The marketing implies that I’m hosting but your FAQ, at the bottom, says you are. Can you please clear up?
eallam1 reply#
Currently we are hosting, but we are going to be documenting how to self host in the near future so you can host it yourself.
jonny_eh1 reply#
In the meantime, maybe remove "Your workflows run on your servers, not ours. We only receive the data you choose to send to us." from your front page marketing?
mattaitken1 reply#
The website is correct, it's just a bit confusing so I'll explain more here:

The workflow code is in your codebase and runs on your servers, we don't host that.
We host the service that triggers your code (using events like scheduled, webhooks, customEvents) and that you can call using our SDK to do requests, logging and delays inside the workflow (e.g. using our Slack integration or using our fetch that auto-retries with exponential back-off). We also host the web app that you use to authenticate with APIs, show all of your runs with associated data and any errors.
Soon we will add a self-hosted guide so that you can also choose to host the Trigger.dev service yourself too. It's a bit hard to explain, hopefully this clears things up!

Continue this thread — 1 reply

Load more comments