PowerShell Workflow - Remove from Group

Hi Team.

I have a workflow that sets a user's temporary membership to one hour when they are added to a Security group. After one hour, the user is automatically removed from the group. 

At the moment, I have a separate workflow I am trying to get working. I need to capture the user DN or SamAccount name that is being removed from the group but I also need to use this within a Powershell Script in the workflow. 

Operation: Remove member from group

Operation Request from Everyone

Filtering :Distinguished Name of workflow target equals AD Security Group Name

I am getting bit muddled up on this one. 


Thank in advance