Hi! I am new to OpenBlocks. I am trying to figure out how to get the uploaded file from the users.
For example, I have a Text Input and File Upload widget and a button to send the data through API to my n8n instance. Once the user fills in the input, uploads a file, and clicks on the button to submit, I want the page to send the file to my n8n instance. Or to Airtable or to Baserow directly through their API. I can only get the Base64 data from the uploaded file and not the actual file itself.
I am trying to upload .pdf and .docx files through the app. Can anyone please guide me on how to go about doing this? Attaching a screenshot for reference:
I don't want the 'String' data here. I want the actual PDF file that a user uploads.
Also, is there a way to create a direct link to the uploaded file if that's impossible?
Hi! I am new to OpenBlocks. I am trying to figure out how to get the uploaded file from the users.
For example, I have a Text Input and File Upload widget and a button to send the data through API to my n8n instance. Once the user fills in the input, uploads a file, and clicks on the button to submit, I want the page to send the file to my n8n instance. Or to Airtable or to Baserow directly through their API. I can only get the Base64 data from the uploaded file and not the actual file itself.
I am trying to upload .pdf and .docx files through the app. Can anyone please guide me on how to go about doing this? Attaching a screenshot for reference:
I don't want the 'String' data here. I want the actual PDF file that a user uploads.
Also, is there a way to create a direct link to the uploaded file if that's impossible?