How can I use several files in a "Rest API File Upload" Workflow-Trigger?
If I add several files to my formdata and POST to a "Rest API File Upload" workflow, what Input variable do I have to set? There is only a singular "File" type and nothing like "Files".
4 Replies
AI Support Bot Information
<@1227983829856157809> you can react on the relevant answer (message) with a ✅ in this thread when you think it has been solved, by the bot or by a human!
Anyone can react on this message with a ❌ if the GPT bot is unhelpful or hallucinating answers.
Please note: Team members will review and answer the questions on best efforts basis.
AI Response
To handle multiple files in a "Rest API File Upload" workflow, you should use the
Files
input type where you can upload files. The documentation suggests that the File type can indeed handle multiple files uploaded as part of the form data【4:10†buildship-docs.json】. If you encounter issues regarding the integration, reviewing documentation or support forums may provide further insights or potential troubleshooting steps .
For further clarification or if issues persist, consider submitting a support request via the in-app support options .
BuildShip AI Support
HI @Brian The current file upload trigger is designed to input one file only, we can think of enhancing it with the upcoming file type cc @Colin
@Brian handling multiple files at a time is a bit tricky. Handling urls is much easier. Depending on the file size you could work with base64 files as well. We'll see what we can do!