the ‘inputs parameters’ of workflow operation ‘Send_an_email_(V2)’ of type ‘openapiconnection’ is not valid

In this Power Automate tutorial explains how to fix the error, the ‘inputs parameters’ of workflow operation ‘Send_an_email_(V2)’ of type ‘openapiconnection’ is not valid.

the ‘inputs parameters’ of workflow operation ‘Send_an_email_(V2)’ of type ‘openapiconnection’ is not valid

We have a SharePoint list named ‘Baked Goods’ with different types of columns like :

Data Type Column Name
TitleRenamed to the Name of the item
Item IDSingle line of Text
Price Currency Column
Purchased DateDate and time Column
Quantity of ItemsNumber Column
Delivery Date Date and time Column
Delivered to A single line of Text
Payment Mode Choice Column

Along with all these data type columns, we have a Person or Group column named Approver of the item.

Send an Email (V2) Action of Power Automate Automated flow

As per our requirement, we have created an Automated cloud flow. The flow is regarding when we create an item in the SharePoint Online list, the flow will trigger and send an email notification about the item to the user for whom we specified.

  • Trigger: When an item is created
  • Action: Send an email (V2)

Send an email (V2) action: We have given the Approver of the item display name in the To Parameter of Send an email (V2).

send an email (V2) flow action Property in Power Automate

Once it is done, click on Save. It will pop up a successful notification as your flow is ready to go. we recommend you test it. Click on the Test icon at the top right of the flow as shown in the screenshot below:

Use Parameters of Send an email (V2) action of Power Automate

Then, it displayed that Your flow run failed and got an error, as we can see from the screenshot below:

the 'inputs parameters' of workflow operation 'Send_an_email_(V2)' of type 'openapiconnection' is not valid

Error Details:

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 ‘””‘ to be converted doesn’t have the expected format ‘string/email’.

Solution:

In the To parameter, we have taken the Approver of the item Email from the dynamic content. So, it will take the format of Email/string.

Send an email (V2) parameter of Power Automate

Then Click on Save -> It will show your flow is ready to go. we recommend you test it. Click on the Test icon on the top right side of the flow.

How to use Send an email (V2) property in Power Automate

Then the flow runs successfully as shown in the below screenshot.

the 'inputs parameters' of workflow operation 'Send_an_email_(V2)' of type 'openapiconnection' is not valid

After that, it will send an email notification about the created item as shown in the screenshot below:

Power Automate Flow action 'Send an email (V2)'

This is how we resolved what has occurred in Send an email (V2) action of Power Automate.

Conclusion

I hope you got an idea of how to fix the error, the ‘inputs parameters’ of workflow operation ‘Send_an_email_(V2)’ of type ‘openapiconnection’ is not valid.

You may also like: