LuigidaBP
LuigidaBP7mo ago

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(?))
No description
No description
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
BuildShip - Visual backend workflow builder
Visually build workflows and powerful backend logic for your apps. Powered by AI, connect to anything with or without code.
Jump to solution
3 Replies
Solution
Luis
Luis7mo ago
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
BuildShip - Visual backend workflow builder
Visually build workflows and powerful backend logic for your apps. Powered by AI, connect to anything with or without code.
LuigidaBP
LuigidaBP7mo ago
Hi, thanks, but if i start a workflow with that node or if i load the template, it has no endpoint url. Is that a bug, or i'm doing something wrong?
Gaurav Chadha
Gaurav Chadha7mo ago
Hi @LuigidaBP, you can access the url by clicking the link icon on the Trigger -
No description