Hi @ andymoon,
Could you please share a screenshot of the configuration of your flow?
Could you please explain more details about the error you meet when the flow runs?
I have made a test on my side and don't have the issue that you mentioned,
The screenshot of my flow as below:

The flow would run successfully as below:

Please share more details so we could provide a proper workaround for you.
Regards,
Alice Zhang