For the step 4 - Use the web-scrapping field to get desired data in the respective arguments.
For the step 5 - Use the file operation activity to create the .txt file and paste the content using windows automation.
Alternate approach for the step 5 - Use the below marketplace URL which consist the desired skill that gives the same functionality. You can use the same process to achieve this by using the re-use process activity.
Use the application activity and add your web-page url to it. Then use the setting option in that activity and capture the field using the play button in the desired arguments. Use that argument for further processing.