Hi,
You need to bind a snapshot parameter to the "remove snapshot" action. If you look in the existing workflow " Library / vCenter / Virtual Machine management / Snapshot / Create a snapshot", you would find the "vim3WaitTaskEnd" has an Output to an "Out parameter".
Transfert this "Out parameter" to an attribute and use it as an Input in your "removesnapshot" action.