I am using the Call API feature, and I am getting back the RAW data for PDF files, but Glide doesn’t know how to handle this information to use as a viewable file.
Yes, if I put this info into a doc with a .pdf extension it does work as expected.
Is there a workflow or Integration that someone would know of or be able to share that could turn this to a usable PDF?
You will have to use a third party to upload the file data,
I use a tool called Xano which is able to do this + database managment + easy API creating. Which lets me upload the file data and get the url to use in glide all from one tool.
- Convert file data to base64
- prefix data:application/pdf;base64, to the converted data
- Create attachment metadata / upload file
- Depending if the attachment metadata you created was public or private you may have to sign the response path to generate a useable url in glide otherwise there should be a url created in the previous step.
2 Likes