Skip to main content

Notifications

Power Automate - Using Connectors
Answered

Error encountered: Input parameter 'emailMessage/From' is required to be of type 'String/email'.

(0) ShareShare
ReportReport
Posted on by 11

Hello, I hope can someone help me on this error. I have a flow that when I saved a file on OneDrive Folder, It will send an email to a specific recipient. I used the "Last modified by" on From(Send as) field so that if I am leave, my back up will do the saving on the specific OneDrive Folder, but I've encountered this error: The 'inputs.parameters' of workflow operation 'Send_an_email_(V2)' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'emailMessage/From' is required to be of type 'String/email'.

 

Is there a solution for this? Appreciate your feedback.

  • Zerovirusity Profile Picture
    Zerovirusity 11 on at
    Re: Error encountered: Input parameter 'emailMessage/From' is required to be of type 'String/email'.

    Hello Levi, Thank you for this. It works for me. I added a Switch flow if in case a new user modified or saved on the OneDrive folder.

     

    Zerovirusity_0-1662577479342.png

     

  • Verified answer
    v-liwei-msft Profile Picture
    v-liwei-msft on at
    Re: Error encountered: Input parameter 'emailMessage/From' is required to be of type 'String/email'.

    Hi @Zerovirusity  

     

    Last modified by this dynamic content returns the user's name instead of the email.

    You can add Search for users to get emails.

     

    vliweimsft_1-1662453591277.png

     

     

    Best Regards,

    Levi

  • Zerovirusity Profile Picture
    Zerovirusity 11 on at
    Re: Error encountered: Input parameter 'emailMessage/From' is required to be of type 'String/email'.

    Thanks for this. I will try to play this Data Operation because the Output is still the same as Input. I will try to find another way to convert the Input to Output in an email address format

  • AbdulWahab Profile Picture
    AbdulWahab 517 on at
    Re: Error encountered: Input parameter 'emailMessage/From' is required to be of type 'String/email'.

    Hi Zerovirusity,

     

    Here you are

    AbdulWahab_0-1662147879264.png

     

    Let me know if I can provide you with more details.

     

    Thanks
    Regards,

    Abdul Wahab
    Power Platform/Customer Engagement Developer/Lead/Solution Architecture/Project Manager
    Direct/WhatsApp:+923323281237
    E-mail: abdulwahabubit@outlook.com
    Skype: abdul.wahabubit
    Linkedin: https://www.linkedin.com/in/abdul-wahab-a5b8b011a/

     

  • Zerovirusity Profile Picture
    Zerovirusity 11 on at
    Re: Error encountered: Input parameter 'emailMessage/From' is required to be of type 'String/email'.

    I will try but honestly I don't have idea how to do that data operations

  • AbdulWahab Profile Picture
    AbdulWahab 517 on at
    Re: Error encountered: Input parameter 'emailMessage/From' is required to be of type 'String/email'.

    Hi Zerovirusity,

     

    Grap it in data operations first and check its value. If it gives what you required then use that data operation there.

     

    Let me know if I can provide you with more details.

     

    Thanks
    Regards,

    Abdul Wahab
    Power Platform/Customer Engagement Developer/Lead/Solution Architecture/Project Manager
    Direct/WhatsApp:+923323281237
    E-mail: abdulwahabubit@outlook.com
    Skype: abdul.wahabubit
    Linkedin: https://www.linkedin.com/in/abdul-wahab-a5b8b011a/

  • Zerovirusity Profile Picture
    Zerovirusity 11 on at
    Re: Error encountered: Input parameter 'emailMessage/From' is required to be of type 'String/email'.

    Hi Abdul, thank you for your response and suggestion. can you please teach me how can I do that if I am using the dynamic content "Last modified by". please see below screenshot. I have to use this because I want the user who saved on OneDrive be the sender of the auto email on the recipient.

    Zerovirusity_0-1662145681710.png

     

     

  • AbdulWahab Profile Picture
    AbdulWahab 517 on at
    Re: Error encountered: Input parameter 'emailMessage/From' is required to be of type 'String/email'.

    Hi Zerovirusity,

     

    Error is not required more details as it is saying 'emailMessage/From' is required to be of type 'String/email'. Please input the value in its required format.

     

    Let me know if I can provide you with more details.

     

    Thanks
    Regards,

    Abdul Wahab
    Power Platform/Customer Engagement Developer/Lead/Solution Architecture/Project Manager
    Direct/WhatsApp:+923323281237
    E-mail: abdulwahabubit@outlook.com
    Skype: abdul.wahabubit
    Linkedin: https://www.linkedin.com/in/abdul-wahab-a5b8b011a/

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,422

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,711

Leaderboard

Featured topics