Skip to main content

Notifications

Power Apps - Connector Development
Unanswered

Send an email V2 action

Posted on by 2
Hello all,
I have been getting the following error for my auto flow on Power Apps. Can someone please answer why this error is there and what to do? the emails are being getting send and also I have more than 300 recipients for this automation.
 
The 'inputs.parameters' of workflow operation 'Send_an_email_(V2)' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'emailMessage/To' is required to be of type 'String/email'. The runtime value '"\nHoward.H.Lee@kp.org"' to be converted doesn't have the expected format 'string/email'.
Categories:
  • Suggested answer
    FLMike Profile Picture
    FLMike 23,361 on at
    Send an email V2 action
    HI,
     
    The issue is, your string has an \n in it, so you need to do
     
    trim(replace(mystring, '\n', ''))
     
    and in mystring put your input or variable or whatever. and your problem should go away
     

Helpful resources

Quick Links

Welcome to the Power Platform…

We are thrilled to unveil the newly-launched Power Platform Communities!…

Community Update Sept 16…

Power Platform Community Update…

Welcome to the new Power Platform Community!…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 140,745

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,355

Leaderboard

Featured topics