Hey! I'm going in circles here. I'm just trying to set up a simple email attachment rule in SharePoint to scan from my scanner into SharePoint.
All the templates I've tried are broken. They only create corrupt 1KB files.
Then I found this post (https://tomriha.com/how-to-avoid-corrupt-email-attachment-in-power-automate/) which offers two supposed solutions for exactly this problem, and neither of them works for me.
Get attachment does not change the fact that the file is currupted.
and the Base64to binary failes with the error:
An action failed. No dependent actions succeeded.
and
Unable to process template language expressions in action 'Create_file' inputs at line '0' and column '0': 'The template language function 'base64ToBinary' expects its parameter to be a string. The provided value is of type 'Null'. Please see https://aka.ms/logicexpressions#base64ToBinary for usage details.'.
i also tried a combination of both which also failed.
here is my flow:

Variant 1 with the currupt 1kb file:
or variant 2 with the "no dependent action succeeded" error
i already spent hours trying to fix this, i realy need your help