How do you handle multiple file uploads to an input

I can send multiple files to an input using the API, but I don’t understand how to handle that with the nodes.
Sometimes I send one file, sometime multiple…

I know how to handle one file = one input.

thanks

Hey @Edouard_r! Could you share which node you’re using? That’ll help narrow things down.

In general, Gumloop supports loop mode(More Info here), which is designed for cases like this. When loop mode is enabled, you can pass in multiple files and the node will process each file one at a time automatically.

Loop mode is available on most nodes by default. If you need more control, you can also create a custom node and define whether it should accept a single input or multiple inputs. When building a custom node, you can specify to Gummie that it should support looping or handle multiple files natively, along with any other requirements you may have.

You can find more details on building custom nodes here: https://docs.gumloop.com/nodes/custom_node_details

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.