I am working on a flow to add users to new lists.
Long story, I have a list (A) for a user to add names using a Person column. This kick starts the workflow to use a bunch of differnet Send HTTP reuquests to sharepoint to create a new list based off a template list/remove the default Groups/Visitors memberships.
I've got everything working, with the exception of adding the specifically added user to the new list with a custom permission. I was able to get the custom permission ID as well as the user ID for the SharePoint ID. But the Send HTTP request keeps failing and I'm starting to strike out on this one.
This is the step I'm stuck on:

The PrincipalId is pulling from a Filter array on the group members of the site (which I am having a previous step add the user to the members group). and ther roleDefId is pulling the ID from the custom permission group.