Hello All,
I've made a flow that goes off on the trigger 'when a mail arrives' and saves the email as .eml and the attachments in a folder on SharePoint.
Now I had to adapt the flow to work on a shared mailbox, so ive created a new flow but with the 'when a mail arrives in a shared mailbox' trigger. However now I am unable to save my attachments to Sharepoint.
These are the relevant flow blocks:
simply put: if Attachments Name ends with PDF the file is saved. File name = Attachment name, File content = Attachment content.
This used to work but now i am receiving a template error as such:
InvalidTemplate. Kan de sjabloontaalexpressies niet verwerken in de invoer voor de actie Bestand_maken_8 op regel 1 en in kolom 2800: Voor de sjabloontaalfunctie base64ToBinary wordt verwacht dat de parameter een tekenreeks is. De opgegeven waarde is van het type Null. Ga naar https://aka.ms/logicexpressions#base64ToBinary voor informatie over het gebruik..
Rough translation:
Invalid Template. Can't proces the template language expression in the input for the action 'create_file_8' on rule 1 and in colum 2800: For the template language expression base64ToBinary a string parameter is expected; The given input is of type Null. Go to blabla etc for info.
So it seems that I'm not getting the mail's attachment contents at all since it says its null.. (i guess).
And Yes: In the trigger advanced options i selected 'Yes' on add attachments.
What can i do to save my files to SharePoint with this flow again? (with the shared mailbox trigger)
Solved! Go to Solution.
What i've noticed is that all in the Body element of the trigger block a maximum of only 2 attachments show up.
If i delete all images in my signature before sending the mail it does work. So there is still quite an issue right there as you can't expect everyone to always delete their signatures, and there will be cases where a mail contains several pdf attachments.
What i've noticed is that all in the Body element of the trigger block a maximum of only 2 attachments show up.
If i delete all images in my signature before sending the mail it does work. So there is still quite an issue right there as you can't expect everyone to always delete their signatures, and there will be cases where a mail contains several pdf attachments.
Hi,
Thank you for your post. It looks like you were able to get this figured out on your end. This is definitely odd. I will reach out to some resources on my end and see if maybe this is some kind of known issue.
Regards,
Alex
-------
Community Support Team _ Alex Rezac
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.