I have a SharePoint Online document library and, via JSON view formatting, I have added a 'Run flow' button which when clicked runs a Power Automate workflow.
The JSON includes the relevant 'customRowAction' and 'executeFlow' parts as expected.
Everything works fine, but the issue I have is that once the button is clicked, there is a delay of about five seconds before the Power Automate side panel appears. Now, for me that is OK as I know that I have to wait five or so seconds for the panel to appear but, for end users, I can imagine this will cause problems - the user may think nothing has happened and then do one or many of the following unsavoury things: a) click the button again, b) refresh the page, c) punch the keyboard, d) click click click all over the page, e) walk away and moan about SharePoint, Power Automate, Microsoft in general.
Now, unsavoury thing e) is actually the one that might do the most damage as negativity to this solution could kill it so I'm putting it out there to the Power Automate community (and perhaps it is better suited to the SharePoint Online community but I'll start here and see what happens) to a) see if anyone also experiences this delay, b) whether anyone knows of a way of speeding up the time between clicking the button and the flow panel appearing, c) if there is no way of speeding the appearance of the flow panel, if anyone can suggest a good workaround.
Hope someone can help. Thanks.