Hi @56565 ,
On click of that button call Power Automate to check if list is present or no. You can send response back to power app from power automate about the list presence.
Steps involved in power automate :
. Trigger flow on button click
. Use http action to get all the lists present in your site
Api : {{site collection address}} + /_api/web/lists
. Use Filter action to check the presence of your list name. Or you can add the filter in above api url as well
? filter = Title eq {{list name }
. If response contains data that means list is already present. If reponse contain empty array that means no data is present.
. You can send this response back to your power app.
If this post helps you with your problem, please mark as Accepted solution.If you like my response, please give it a Thumbs Up.
Thanks