How to save Output temporary files

Hello friends (@rkelchuri, @Rammohan91, @balupad14, @vvaidya, @loginerror, @aksh1yadav, @MAHESH1, @Florent_Salendres, @Dominic ),

I have to develop a process defined by the following steps:
• Access to the website;
• For each line of the input excel file, performing some actions on the website;
• Save result for each excel row of input in an excel output file.

The problem is that you need to log out from the portal every 6 lines of the input excel file.
The output file is updated with each transaction and it contains the word “temporary”, until the end of the process, when it is saved as “Final output”.
The problem I encounter, in the project I am attaching to you, is the fact that the output file is renamed every 6 lined of the input adding always a “temporary” word; for example, after 12 transactions, it is called “temporary-temporary-temporary-input", instead of “temporary-input”.

  1. Could you kindly provide me with a suggestion (example of flow), on how to perform these steps and correctly name the output file?

Thank you so much for your precious help.