Thank you for taking the time to read my question.
I have a few lists in my SharePoint site. I also have a PowerApps app that adds records to one of the lists. I want to secure my data so I've added 2 groups to my SharePoint site. DataReader and DataWriter. Users are in DataReader so that they cannot go to the SharePoint site and edit the data.
What I want to do is use a Flow to add the data to my SharePoint list. To do this I want to send the users name to the Flow from my app, then I want to Grant them permissions to the list, add the record, then remove their permissions.
In Flow I see:
1. Grant Access to and Item or Folder
2. Stop Sharing and Item or File
In both cases I'm asked for an ID. I'm guessing this is the ID of the list in my SharePoint site. This value must be an integer not something from the URL of the SharePoint site.
I have no idea how to get this ID. Any help would be greatly appreciated.

Thanks