@sashamasha
You just use "convert text to number" action where it will automatically takes conversion string to number in background.
Please refer the below example with screenshot:
Checking value and type after executing my first line code:

After conversion:
data type automatically changed from text to string.

Thanks,
Deenuji Loganathan 👩💻
Automation Evangelist 🤖
Follow me on LinkedIn 👥
-------------------------------------------------------------------------------------------------------------
If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers 🚀