237 points · by sacrosanct · 3y ago · 99 comments
One of the downsides is that we have sporadic errors which we just live with, with retries. Probably will be fixed in the foreseeable future.
I, personally, don't have interest with this tool, I prefer proper programming stack. However I can suggest this kind of tool for someone with lacking programming skills (however it's expected that you understand some SQL, some databases fundamentals, some HTTP fundamentals).
We self host it within our kubernetes cluster, it's not a worst thing I had to deal with. Of course free version is quite restricted when it comes to user management, etc, can't even think about oidc integration. But we're cheapos, don't have money for software, so better than nothing.
It's an interesting dilemma. End users who are directly generating the requirements can do amazing things when empowered by these tools. But they have zero understanding of some of the unreducible complexities that bedevil almost any system that gets beyond a toy level size. Transactions ... error handling... race conditions ... throttling / load balancing ... computing costs etc etc.
We use Apache Camel for something similar to this and it's a full programming stack (mostly JVM based so you have to be in that scene really). You can get diagrams out the other end. It's not too bad if you want to do all this programmatically. But the end users have zero mechanism to do anything. I wouldn't mind having something that was hybrid and we had a graceful / gradual mechanism to let users build simple things and then onramp them to fully engineered solutions.
- you have an FTP node, but it doesn't work with FTP over TLS
- you have an AWS SES node, but cannot attach files to the email
- you have a Salesforce node, but it only has very few options available
Just to name a few that I remember now, we were quite disappointed. It is a great software crafted with care, but the integration nodes seem to be built on a hurry to say "over N integrations available".
Maybe it changed now that it reached 1.0, I don't know but they need to invest a bit into it.
So basically "source available", but still proprietary.
<three hours later>
Okay, not really, but it has been something like 20-30 minutes, and I'm still nowhere near being able to test this one action.
Can I upload a file manually from my computer? Seems not.
Can I read it from Google Drive? There's an action for that, but authentication hell took five minutes of my life and did not succeed.
Just getting set up took several minutes.
So, yeah, it's not looking good for me at this point.
By the sound of it Node-RED has simpler licensing, its completely open source.
When checking n8n the impression was that it's like a v2 of NodeRed that learned from what NR did wrong. Lots of tools an capabilities you end up wishing for in NR are built into n8n.
For example:
* data flow is simplified, no one global "msg" var that gets clobbered by every 2nd custom script * you can fairly easily test flows * you can see execution history, including in/out data * you can see exacting flows
I wonder why programs have to be textual when we have tools that can make them visual and thereby more inclusive.
How does making code visual make it more inclusive?
I feel like the sweet spot it hits is neither developer- nor newbie-friedly, but somewhere in between where it's equally bad for both target groups. Workflows get out of hand very quickly, making me need more blocks than lines of Python I'd have to write to achieve the same thing. You need to really understand their logic gates to do stuff, and the docs you'll be relying on range from not great to very bad, incomplete, or just plain incorrect. You'll have to rely on their (Discourse) community forum quite a bit.
If you're one of those people that are strict about open source definitions (I'm personally not one of them), then it's not open source, as you'd need the enterprise license to run it in production for commercial purposes. But, to make it worse, you'll reach some of those enterprise features in your personal projects as well: global variables, Git version control, bash scripts, custom nodes, workflow history (so that you can revert if you mess something up)... all behind an unobtainable license for personal use.
With that out of the way, it is the closest thing to what I want out of such a tool, so I keep on using it despite its flaws. Managing credentials is very easy, you can make custom HTTP requests, sharing and importing workflows is very straightforward, debugging them is easy (most of the time), it's easy to self-host using Docker, it supports many of the APIs I want to use that other similar tools don't (okay some of the cloud ones do, but they're pretty unobtainable .
Overall, I'd say 6/10? It's good, but it could be so much better.
(Just to avoid misunderstandings. "It" in "sweet spot it hits..." is not crystal clear)
n8n is great because their UX is simple and they have many well-made integrations, including an automatic way of setting up the webhooks in your github account for instance to trigger automation on changes to your repo.
Windmill is less about having many integrations, and more about being able to write real code-based workflows, running on your infra and with potentially long-running jobs that you can assign easily to bigger nodes. It's a compromise between n8n and temporal for the workflow part.
Anyway, n8n was a precursor in many aspects and a great inspiration for all of us building workflow engines.
For a developer, it seems like a great low code tool with the right flexibility to write whatever script you need.
- Write regular code
- Test locally
- Then deploy
This is one of the key aspects we're fixing at https://www.inngest.com — you can write regular TS (or Go, or Elixir) code as a function, create simple workflows, test locally, and have your functions automatically triggered by events.
I still think there's room to go with improving automations here, and it's going to be an interesting few years as things develop.
The SDKs are lightweight, work in any language (we only support a few right now), and you can live-migrate long running functions across languages at any time. Long running state is automatically transferred across those SDKs.
One of our foundational aspects is to make long running state, queues, events really easy, and that means we need to make multi-cloud and multi-lang migrations easy, too.
The basic premise is that you can send Inngest events (for free) then start writing functions hosted in your own API at any time, with local testing, branch deploys, etc.
My favourite is a flow to pull HTML-formatted newsletters out of my email and push them to Wallabag. I then use Wallabag's RSS feature with Calibre to turn them into an ebook I can read on my Kindle.
My other major use case is centralized notifications. For a lot of things (e.g. backups), I have a webhooks in Huginn that then push out a notification via Gotify to my phone.
I've also used Huginn to scrub/clean up RSS feeds, since it can pull the feed, apply transforms to it, and then republish it.
I ask because I'm also curious what I can use these sort of tools for. I installed Node Red before and other than visual smart home automation, was at a loss of ideas. As someone who can write bash scripts (and nowadays ChatGPT does all the scripting for me), how can they make my life easier?
It’s not open source, it’s source available with commercial restrictions.
If you want to do a basic task like download and load a file into a database, n8n doesn't work well unless the file will fit entirely into memory.
I'm sure it's great for other use cases, but that limitation ruled it out for me (for this use case).
https://docs.n8n.io/hosting/scaling/binary-data/
https://docs.n8n.io/hosting/environment-variables/environmen...
N8N_DEFAULT_BINARY_DATA_MODE: filesystem
Dockerized apps run with almost no overhead, it's not like using a VM.
Take 2 hours to learn it, trust me it's worth it. This isn't some "Cloud Scale!" hype. It's useful even for someone with just a Pi at home. Just stick to the basic Docker commands (exec, run, compose if you want to be fancy). Don't bother with that Google-scale stuff like Kubernetes unless this becomes your career.
you can just take their dockerfile and run the infra however you wish too, probably.
Haven't checked n8n on a while
Actually. says npm OR docker right there in their docs https://docs.n8n.io/hosting/installation/
I’ve yet to find a need for Zapier, etc but know it’s hugely popular & generates a ton of revenue.
Normally you would have to integrate with each of those third-party services directly. With n8n, Zapier, etc., you can write one integration and let your customers decide what to plug it into. So you get thousands of integrations “for free” by integrating one service.
The same goes in reverse – maybe something happens in a third-party service and your customers want something to happen in your product as a result. Instead of requiring all those third-party services to integrate with you, they can just integrate with n8n, Zapier, etc.
Because services like n8n and Zapier provide a common interface between very different services, it sidesteps a combinatorial explosion of integrations needed to wire everything up to everything else explicitly.
For instance “when somebody buys something from our Shopify store, I want to add them to a private Slack channel”. Shopify aren’t going to spend time building an integration like that, Slack aren’t going to spend time building an integration like that, and a customer isn’t going to want to commission bespoke software to wire it all up. But if they both integrate with n8n or Zapier, then customers can do it themselves.
E.g. if x happens on y platform, get relevant data, process it, send me a text message if it's during the day or email me if it's at night/weekend.
It's frequently faster than building out the integrations yourself, and is more accessible to inexperienced programmers/ less technical folks.
In terms of ease of use, I'd rank it: Zapier (top), Make, n8n. Same ranking for available apps. Complexity of workflows I'd rank those in reverse though. You can do more with n8n.
N8N comes with a webhook listener, and it was easy enough to cobble something together with the built-in nodes and coding custom ones with javascript (they just released a python node that I haven't tried yet).
N8n.io – Workflow automation alternative to Zapier - https://news.ycombinator.com/item?id=21191676 - Oct 2019 (196 comments)
DX based on cause and effect is a.lot more intuitive for users and reasoning agents
[0] https://github.com/n8n-io/n8n/blob/master/packages/cli/READM...
Not really OSS.
Check out: https://www.activepieces.com/
MIT open source.
Like say I wanted to gather attendees from my Google Meet, Zoom, Webex, etc and send them to salesforce. I’d look at Zapier and see they work with Google. Then I’d look for Google Meet and see there’s nothing there.
I get that these connectors can only integrate with existing endpoints. I’m not criticizing. I’m just confused. How do people actually use these services?
We run every piece of client-specific custom integration work through it.
Plumbing a few systems together is a piece of cake - either triggered by webhook or scheduled cron-like.
There are tonnes of out the box nodes for common services, but for everything else the JavaScript code block and HTTP request nodes fill in any missing gaps.
We’ve tried Zapier, Integromat and loads of others - N8N has nailed the UX for us.