I think I've identified a bug whereby PowerApps does not read a Power Automate Flow definition correctly where there are multiple optional inputs to the Flow Trigger "PowerApps (V2)". The App is therefore not capable of triggering the Flow with all the inputs as the formula is marked as an error.
To replicate this, I created a test flow with 3 inputs; I left the first set to required and changed the other 2 inputs to optional:
{
"kind": "PowerAppV2",
"inputs": {
"schema": {
"type": "object",
"properties": {
"text": {
"title": "Input1",
"type": "string",
"x-ms-dynamically-added": true,
"description": "Please enter your input",
"x-ms-content-hint": "TEXT"
},
"text_1": {
"title": "Input2",
"type": "string",
"x-ms-dynamically-added": true,
"description": "Please enter your input",
"x-ms-content-hint": "TEXT"
},
"text_2": {
"title": "Input3",
"type": "string",
"x-ms-dynamically-added": true,
"description": "Please enter your input",
"x-ms-content-hint": "TEXT"
}
},
"required": [
"text"
]
}
}
}
Then when trying to run the Flow from a Power App with all the arguments, the error "Invalid number of arguments: received 3, expected 1-2" occurs:

I think this should accept 1-3 arguments.