Hi there !
I’m trying to get f.pdf files from quickbase. Im using an API call which works well and I receive a base 64 format as output (see attached). Right now, i want to upload this file on wordpress and / or an email attachment : question is : how can i do it from this format ?
I already investigate some things like :
- using a “get a file” module but it is for URL only
- It seems we can use cloud convert module but i do not want to use a third party module.
Can you guys help on this one ? thanks !
1 Like
Hi @Alter345
If you prefer to upload via email, you can include the data in the attachment file itself. Please ensure the file name follows the appropriate format, such as ‘image.img’ or ‘text.txt’. The system will accept the buffer data {{15.Body}}.
If you require additional assistance, please don’t hesitate to reach out to us.
MSquare Support
Visit us here
Youtube Channel
2 Likes
Hello @Msquare_Automation and thank you for your help
i did what you say, but whe i opened the .pdf, the .pdf is empty
i attached the input from email
thanks
OK as per your information, i tried many different things such as :
- toString(toBinary([mybase 64];base64)) ==> Does not work
- using a third party like pdf.co does not work
any other help ?
many thank s!
@Alter345
It seems correct only. It doesn’t require any other function or tool.Directly map Body to Data and make file name as test.pdf.
If the issue persists, we are ready for a quick call.
Feel free to connect us.
MSquare Support
Hi @Msquare_Automation
Great to see how eager to help you are! If you do end up taking the conversation off the forum, could you please come back into this thread and share a brief summary of the solution? It would benefit the community greatly.
Thanks
1 Like
Hi there, i made it work by using the following :
- First, “to string” function
- then convert UTF function
- then uploaded on the desired module
3 Likes
Heya @Alter345
Awesome to hear that you managed to get this up and running! Also, thanks so much for jumping in and sharing what did the final trick for you. This could be incredibly helpful to someone looking for similar information.
FYI: I marked your comment as a solution to keep the community organized and easy to search for answers.
1 Like