Sending txt file from FlutterFlow to Buildship (newbie here)
My ultimate goal is to send a txt file from FF to BS, and run custom nodes on the content of the txt file (as a string). I created an upload page in FF, first the file is uploaded to local state, then sent via API (Multipart, From Variable (<-- uploaded local file)) to BS. The snackbar says the API call is successful, but cannot really know as it is hard to test the result. I created a very basic BS workflow for testing (one rest api and one return node returning the whole request). (See the result attached)
I've spent the whole day trying to find a way to access the content of the txt file on BS as a string (to feed the string to other nodes), i would really really appreciate any tips. (Note: the actual uploads will be 100Mb-1Gb size, so pasting to a TextField and sending the text as string may not be viable (test crashed for much smaller volume), sending files is probably the way to go(?))
Solution
Hey @LuigidaBP, we recently added a new rest api file upload trigger that supports multipart form uploads (files). And we have a template to help you get started with it: https://buildship.app/remix?template=basic-file-upload