ScottRoache
7 years agoQrew Member
Add file to QB from Microsoft Flow
I'm trying to run a MS Flow that posts a file to quickbase when a file is created in OneDrive for Business folder.
The file needs to be base64 encoded.
I can get the file to Quickbase but I cannot open it. This happens with Excel, or PDF's.
I'd like to get some thoughts out there on where I'm going wrong.
Here's a sanitized flow
Method HTTP POST
*Uri https://mydomain.quickbase.com/db/bjpvjalec?a=API_AddRecord
Headers Quickbase-Action API_AddRecord Content-Type application/xml
Body:<qdbapi> <udata>mydata</udata> <field fid="24" filename=" File name_"> _base64(triggerBody())_ </field> <usertoken>myAuthenticationToken</usertoken> </qdbapi>