I built a canvas Power App and I'd like to trigger a flow from a button. I built a flow and clicked on the Action tab in Power Apps Studio and selected Power Automate to add it to the app. In the Data panel, got the message "Looks like you haven't created any flows yet. To get started, select 'Create a new flow', below". I was not expecting this because I had created a flow whose trigger is Power Apps but I clicked to Create a new flow anyway and simply created a new one that also triggers from Power Apps and initializes a string variable.
I went back to the app to add the flow but still wasn't showing in the Data panel. I closed Studio and reopened and it still wasn't there. I then closed the whole window and it still wasn't there. Finally I decided to give it some time so I opened the App this morning (after about 16 hours from creating the flow) and it's still not there!
I am the owner and creator of both the flows and the Power App. I did double check that the flows are turned on. I am using the same O365 account in Power Apps and Power Automate. Is there anything else I can try or any other way to add the flow to my app?