Hi all, I wasn't sure of the best place to post th...
# suitetalkapi
n
Hi all, I wasn't sure of the best place to post this but wanted to share something that I've found incredibly useful. There is a free, open-source tool called N8N (n8n.io) for low-code automation. I've put together a custom node that allows you to integrate with the REST API v1. I'm working on documenting it now, but feel free to ping me if you'd like to try it out.
👀 1
s
do you know if this tool supports TypeScript, or alternately can you upload javascript files (i.e transpile locally, upload JS)
n
Custom nodes like the one I built can be done in TypeScript or JavaScript
you can set up any code block in the app to allow built-in or external npm modules so you can use require() to load them
s
is the main programming experience just a texbox in a web UI?
n
the code blocks themselves don't support typescript directly
the main programming experience is the drag and drop low-code stuff
when you're using a function node it uses a Monaco editor in the web UI
s
Maybe I only work with complex customers, but I have yet to see a project that I could drag-n-drop without code somewhere.
n
Oh for sure, but mostly for the integrations. That's why I've written the NetSuite node
but we are doing lots of things with just the built-in flow nodes and set/merge nodes
We primarily develop with Node and publish to npm so integrating has been very straightforward
s
There are lots of options in this low-code space - did you consider others, and if so what motivated your choice to ultimately choose this one?
n
we're able to leverage a lot of the javascript we've already written
s
I'm personally not interested in plain JS these days. If a tool doesn't support TypeScript either directly or indirectly then it's missed the boat imho
too bad I guess - monaco supports TS so all they'd have to do is transpile it behind the scenes
anyway, not your fault 🙂
n
it looks like they use this to execute the code in a Function/FunctionItem node: https://github.com/patriksimek/vm2
looks easy enough to add TS support
I'll work on a PR later
we've used several low code platforms in the past, including Zapier, Boomi, and Mulesoft. We always found them to be too expensive or inflexible. We're using n8n mostly for devops things right now, but we selected it mostly because it's open source and fits well into our existing toolset
s
are you hosting it yourself, or using their cloud option?
n
we're self-hosting on AWS
s
10-4
In intrigued by Mulesoft - haven't used it professionally but I like what I've seen, relative to some of the other solutions
I presume n8n is quite a bit less expensive though
n
Quick example workflow that utilizes the SuiteQL endpoint to query and built reports
👍 1
s
nice NS icon 🙂
I assume that is the 'netsuite' node you created?
n
correct
👍 1
m
I've been playing around with Micrsoft Power Automate for some none NetSuite related automation tasks the past couple of days and would love to see a NetSuite connector