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

nirga7 replies#
At first I thought that a code alternative for a no-code solution like zapier was counterintuitive. But as an engineer using Zapier (for the first time) these past few months I got so frustrated by the lack of an option to just write some "if" or just 2 lines of code to make things work the way I want them.

I think trigger.dev nails it. This is exactly what I needed.

mike31fr1 reply#
You should try make.com. It is great!
freen#
Last time I tried make.com, they couldn’t run scenarios in parallel: every subsequent run had to wait for the prior one to finish.

Was a dealbreaker for me.

Jiger1042 replies#
Zapier has a python / JS code step (basically a AWS lambda) you can use to do something like this. Downside is that it has a timeout of 10s
nirga1 reply#
Huh cool thanks I didn’t know that! I guess it’s just another action and not something “native” to Zapier (so if you want to later connect it to some off-the-shelf action you can’t).
robbiemitchell#
You can connect code steps to other actions. For example, every Python code step has a reserved `output` variable which allows you to pass a list out to the next steps. It gets passed as stringified JSON: if it contains dicts, those values are made available automatically as inputs to other steps. You can also pass more complex, nested JSON and just json.loads it later.
realusername#
And the second downside is that you don't necessarily get the same data as the normal no-code steps...

It's still a mess to manage arrays and arguments auto-split by commas

justin_oaks#
I have the same thoughts. I tried node-red and I got frustrated having to do all this drag and drop stuff for something I could code easily.
eightysixfour1 reply#
n8n is also great about this. It retains the visual “easy mode” environment but lets you drop in a JavaScript node whenever you need to do something more complex
vhanda1 reply#
I found the JavaScript nodes to be quite annoying. Specifically -

1. I want a proper IDE
2. Proper typing so the feedback cycle is faster.
3. Being able to use external packages
4. Being able to quickly test my custom node across old runs.
Their JavaScript nodes take me an absurd amount of time to get right. And I've needed to use them far more often than I would like.

mstipetic1 reply#
Wow, I’m never gonna try to build a tool for developers

Continue this thread — 1 reply

rubenfiszel2 replies#
Trigger.dev looks like it would be amazing if you want a simplified temporal that is still 100% code based and exclusively in Typescript. If you are looking for a Zapier-for-developer experience, we took an alternative route at Windmill of allowing Python/Javascript/Go/Bash as steps but the workflows are still GUI based: https://github.com/windmill-labs/windmill/blob/main/imgs/win...

Despite them being GUI based, you can do everything that temporal enable, approval steps/suspending workflows until being reactivated by a webhook, branching, etc, etc... It's 100% open-source and self-hostable.

thebeardisred#
Be still me heart!

A contributors guide? Documentation? A PUBLIC ROADMAP!
THIS is an example of open source done well.

kirso#
Think that's why they also have built Pipedream.com (not affiliated)
ArcaneMoose4 replies#
This looks great, congrats on the launch! I am interested in a platform that bundles many pre-built integrations to various services that I could wire up through code and execute on my customers' behalf. Essentially, a way for me to present my customers with a plethora of integrations out of the box without having to build them all myself. This seems like it's moving in that direction and I saw another comment where you mentioned workflow execution on customers' behalf in the future which is great!

How does this compare to something like Prefect?
If there are any other tools folks would suggest to achieve what I'm looking for, I'd love to hear about them!

ashrafsam1 reply#
We do this at Activepieces (activepieces.com).
ArcaneMoose1 reply#
Is there an API or SDK for creating/managing flows? I want the flexibility to programmatically wire these integrations together rather than a nocode UI

Additionally, this seems to rely on you inputting your credentials. How would that work for a usecase where my customers are the ones who provide the credentials?

ashrafsam#
Not yet, we're probably on the way there as we're exposing all our pieces (connectors) as typesafe npm packages. But for now, flows are built with the no-code UI. The workaround is to write all your code in one main Code step in any flow. Our web IDE is VS Code so it's not too much different, and we can be self-hosted.

On the UI, you can customize the credentials with a connection variable which is what enables in-app product integrations. We have users who are doing this. Shoot me an email if you'd like to explore our approach: ash@activepieces.com

ArcaneMoose1 reply#
This is interesting, thanks for sharing! It took me a little bit to process all the content but I think I get it :)

If I'm reading correctly, to build features on top of Windmill requires the commercial license even if self-hosting which comes with a price of $.002/ computation where a computation is 1 second of processing on 1 CPU with 2GB ram.
One of my main usecases would be to create flows to pull data from various sources. The speed of such processes often depends on the 3rd party APIs - so it wouldn't be unheard of for a process to take 30+ min to pull a bunch of data where much of the time is spent on data transfer or waiting for the service. Does that mean it would cost me .002 * 60 * 30 = $3.60 for one 30 min data sync? That's not including any downstream etl I might do that would potentially multiply the cost. Curious if that's accurate or if I'm misinterpreting something.

rubenfiszel1 reply#
You do not need the enterprise license to run this self-hosted, only if you want the commercial license version of AGPLv3 + support/SLA and some high scale plugins like our dependency cache syncing.

Your calculation is correct and I agree it is a bit of a steep pricing. Most companies have small scripts to run and we wanted to bill according to the value they were extracting of the product and do transparent enterprise pricing instead of the usual "contact us". Unfortunately, it is not a one-size-fits-all situation. For data heavy/IO bound workflows, we should bill per number of GB transferred rather than per computation. In any case, we are very open to do price capped contracts depending on your use case: ruben@windmill.dev

Continue this thread — 1 reply

udkl#
> Essentially, a way for me to present my customers with a plethora of integrations out of the box without having to build them all myself.

This is an itch I'm waiting for someone to scratch

daniil_b#
We do exactly this at https://integration.app, including ability to manage flows via API.

We are focused on CRMs / Marketing tools for the next couple of months though.

robbiemitchell4 replies#
Speaking as a tech-forward "business user" who uses Zapier _a lot_: a key benefit of Zapier is that it enables business users to work independently. Moving triggers and actions behind "developer-friendly" (i.e., developer-required) tooling caps how fast an organization can move on anything outside the critical path for product and strategy.

- Core transactional email flow? Great.
- Alerting Slack for non-critical activities elsewhere? Ehh...

aliqot1 reply#
and suddenly at least one of us realizes why zapier costs money. the cycle continues.
carrja992 replies#
Comes up all the time. There was another tool like this (huggin?).

I think what often gets missed and what gives zapier great power is the developer platform that can let devs build anything! I have a lot of custom integrations with apps that support use cases that afaik only I have. It is incredible effective.

eddieroger#
I had a lot of bots in Huginn, but the amount of tending that the garden required versus and the developer experience were never good enough that I kept them going. I found myself doing all the JS editing I needed in VSCode and coping it back and forth, which is a bad experience. It definitely saved my butt a few times over the last few years, but I am anxious and excited to swap it out for this.
lolinder1 reply#
They already address that specifically:

> We found current workflow / automation tools like Zapier and n8n are good for simple tasks, but not for more advanced use cases.
This isn't intended to replace Zapier for your use case.
Speaking as a developer who's been asked to set up integrations before, I'm glad to see more competition in this space with a developer focus!

robbiemitchell1 reply#
The first example on the homepage is "Create an email drip feed campaign in under 2 minutes"

This is not an advanced use case to be developed in house and owned by developers. This is bread and butter marketing or product engagement email flows using anything from Mailchimp to customer.io to HubSpot.
The developer side would involve capturing the identities and events from your system and sending them (typically via something like Segment) to the downstream tools, where business users will manage those campaigns: flows, templates, content, integration with other flows, and reporting.
The next example is "Sync GitHub issues to Linear". Again, this is a fairly simple Zapier use case, probably using built-in integrations, or falling back to Python if needed. Zapier would store the credentials to both security and use a trigger/action flow.
I can see trigger.dev being more useful for things like:
- Schedule-based tasks, or super high-volume tasks. (These are expensive on platforms)
- That are driven primarily by code, not pre-built integrations
- Using private data (such as authorization tokens) you don't want to expose in plain text
Given there is undoubtedly a market of developers who want to bring things back into their standard codebase and code release practices, I suggest targeting the examples to situations to those more typically owned by developers.

mattaitken#
Thanks, this is great feedback. You're right that these examples don't highlight the real advantage of our platform vs no-code tools. We're going to add some new examples to our site based on what our customers are building.

The three categories of problems you identified that are best solved with a code tool are what we're seeing with our early customers. Plus a lot of notification use cases like when developers want to be notified in Slack when something important/bad happens.

eallam1 reply#
Zapier is great for non-developers, and as developers we've even used Zapier in the past because in some simple cases it's actually easier and more reliable than writing the code yourself! It's not easy to write code that connects even just a few services together, and handles transient errors and server interruptions, usually it takes some kind of infrastructure and maintenance, and can no longer be written in the normal way (and good luck with delays!).

We wanted to bring the convenience of Zapier (you describe the request you want to do, they figure out how to do it!) back into our codebases, without having to manage a bunch of infrastructure (that's where trigger.dev comes in).
While we were at it we built this as a general purpose event-driven system, complete with AWS Event Bridge like event pattern filtering, and also added the ability to listen for webhooks reliably without having to use a tunnel to your local machine when testing locally.

michaelmior#
> It's not easy to write code that connects even just a few services together, and handles transient errors and server interruptions, usually it takes some kind of infrastructure and maintenance, and can no longer be written in the normal way (and good luck with delays!).

Based on the example shown, it looks like Trigger.dev handles all this while allowing you to write code pretty close to what I would call "in the normal way." I haven't tried it myself, but if the examples work as advertised, it looks pretty attractive to me.

bradgessler#
It’s not hard to imagine a template library or code generator that sits on top of this code layer that’s more approachable to non-technical users.

If done well, that would be an advantage over Zapier since a non-technical user can start something basic, then have a dev look at it if they need to get more sophisticated.
This is what has made Excel and Access so successful—a biz person can get it started and have something tangible to hand off to a dev.

cube22221 reply#
Looking at the long delays, do I understand correctly that this is something similar to Temporal[0] or AWS Step Functions?

My first sentiment was "when I'm already writing code, why not just use Lambda", but it looks like these delays are kind of the selling feature, and it looks like the UX is better than step functions.
I'd be curious about your selling points over Temporal, as I can't seem to find any comparison.
Good luck!
[0]: https://temporal.io

eallam1 reply#
Yup I've done the AWS Step Functions thing in the past, and it usually was about 90% wrangling with AWS and 10% writing code... we wanted to flip that ratio around (that's the goal at least!)

As for temporal, we are pretty similar to them, although I think we have more of a focus on making it easy to trigger (sorry) the workflows from third party events (webhooks, etc.) and then making reliable requests once you are in a workflow.
Thanks for the feedback though, we'll try and add service comparison docs soon!

ElFitz2 replies#
> Yup I've done the AWS Step Functions thing in the past, and it usually was about 90% wrangling with AWS and 10% writing code... we wanted to flip that ratio around (that's the goal at least!)

That was the final straw what led a friend and me to try to do what you’ve done.
We had started off using Zapier, and it’s horrendous objects & arrays handling, then moved on to Step Functions, then gave up on what we were initially doing to try and build a workable alternative.
With a cumulated grand total of 6 months of experience, we had no idea what we were getting into.
Anyway, the point is: thanks for making this.

rangledangle1 reply#
Now that AWS App Composer is a thing is this still an issue though? I felt that pain in the beginning, but once you get the hang of Step Functions it doesn't seem so bad. I never found a good alternative. My company is using Workato and it's a nightmare.

Continue this thread — 1 reply

Continue this thread — 1 more reply

Load more comments