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 |
| Title | Renamed to the Name of the item |
| Item ID | Single line of Text |
| Price | Currency Column |
| Purchased Date | Date and time Column |
| Quantity of Items | Number 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.

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).

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:

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

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.

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.

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

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

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:
- Convert String to Integer in Power Automate
- How to Initialize Float Variable in Power Automate?
- Unable to process template language expressions in action inputs at line ‘0’ and column ‘0’ in Power Automate

Preeti Sahu is an expert in Power Apps and has over six years of experience working with SharePoint Online and the Power Platform. She is the co-author of Microsoft Power Platform: A Deep Dive book. As a Power Platform developer, she has worked on developing various tools using Power Apps and Power Automate. She also makes Microsoft 365 videos and shares them on YouTube.