How do I split a multi-part file upload from a webhook?

Hi everyone, I’m trying to use a switch that sends files down a different flow depending on their type, it works great for one file, but I’m not sure how to get it to work for multiple files

Here’s my flow


Here’s an example of a multiple file upload in the switch node

Here’s what I’d like to achieve

Is there a way for me to split up these files then run a split in batches node without writing a custom function?

You would have to split the binary data of the one item, into different items. You can do that with a Function-Node.

The required code you can find here:

1 Like