Writing code

I am being bombarded by people telling me to move to n8n because of the writing code feature but I am reluctant and I don’t want to learn a new platform, add a new subscription, create a new team of freelancers.

Is there a way I can run natively JS with make.com or is this something the team at make is working towards?

You mean something like this?

I mean running something like:

const groups = {};

items.forEach(item => {
const key = ${item.practitioner}_${item.week};
if (!groups[key]) {
groups[key] = { f2f: 0, nftf: 0, travel: 0, km: 0 };
}
if (item.type.includes(“face-to-face”)) groups[key].f2f += item.hours;
// etc.
});

return Object.entries(groups).map(([key, data]) => ({ json: data }));

Well that module allows you to do that in Make without sending the code anywhere outside of Make. Scroll down to the “Here is an example using a free module that can run JavaScript code” section.

I’m sure others would agree that this is a nice feature to have. You can submit this suggestion to the Idea exchange, under App Ideas. However, do search for a similar request (and also upvote), just in case it has already been suggested to avoid duplicates.