cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Lumi
Frequent Visitor

Creating a file and sending it by email

I'm creating a flow where an excel document is created with values from a sharepoint library,and sent by email.

 

But I'm having a problem to attach my newly created file : 

 

 

 

save failed with code 'OpenApiOperationParameterValidationFailed' and message 'Input parameter 'emailMessage' validation failed in workflow operation 'Send_an_email_from_a_shared_mailbox_(V2)': The API operation 'SharedMailboxSendEmailV2' is missing required property 'emailMessage/Attachments/0/ContentBytes'.'.

 

2021-02-24_0000.jpg

 

I tried with : 

  • using my created file "ID" in the attachment name field
  • using my created file "Name" 
  • get an intermediary step "Get attachment content" and using the output in my attachment field

.. all fail . 

 

Would you have an idea why it fail and what can be done to be able to send it as an attachment ? 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Lumi
Frequent Visitor

ok, in fact there is two field not one (written in it : One is "Attachment Name", the other is "Attachment content".

 

I don't know if I could have taken the content directly from the create >> if someone know which field it would have been I'm interested ! 

 

but as I still had a step "gett attachment content, I took the output and it worked 🙂 

View solution in original post

2 REPLIES 2
Lumi
Frequent Visitor

ok, in fact there is two field not one (written in it : One is "Attachment Name", the other is "Attachment content".

 

I don't know if I could have taken the content directly from the create >> if someone know which field it would have been I'm interested ! 

 

but as I still had a step "gett attachment content, I took the output and it worked 🙂 

View solution in original post

Hi,

 

Thanks for your follow up post! I am glad that you were able to get this working. Hopefully this will prove useful to future communities users.

 

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.

Helpful resources

Announcements
MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (46,826)