I've been able to let Copilot use a Power Automate flow where
1- Copilot passes to PA a string parameter (a product code)
2- the flow search for the parameter value in a column of a given excel file ("get a row" action)
3- when flow matches parameter and xlsx data, returns to Copilot a numeric value contained in another column (the product price).
4- Copilot shows a message like "price of product is xxx"
It works fine while parameter contains something present in xlsx file.
When parameter is not present in xlsx, the flow returns an error (I think it's because it try to return to copilot a blank value into the numeric output but I'm not sure), Copilot exits from current argument and switches to "On error" argument.
I'd like to avoid the switch -Copilot side- and show a message like "code not found"... any suggestion is welcome