Ceate the flow trigger action with either "for a selected file" or "for a selected item" then save the flow.
The error will appear in any site collection below and this seems like a general system error right now.
Cannot read property 'indexOf' of undefined