Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File Upload widget -> How to send the uploaded file directly to destination? #389

Open
jayv-tech opened this issue May 22, 2023 · 0 comments

Comments

@jayv-tech
Copy link

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:

image

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant