I am trying to build a flow that pushes every attachment received from a specific mailbox to a specific folder in our Nextcloud.
So far I got the flow to take any e-mail attachment and push it to the Nextcloud. (This works via http put to the WebDAV Endpoint of the Nextcloud) The only Problems: The Files pushed to the nextcloud are base64-encoded and so can't be read by anyone using the cloud.
There are the functions
decodeBase64()
base64ToBinary()
within the functions for flows. The only problem: I can't get the Attachments to be pushed trough that function before pushing it to our cloud. When I enter those functions as dynamic content it's only offering me mail text, mail from eg. but not the actual mail attachment.
Any suggestions? Thanks in advance!