How to add daily reports to a file that your bot already made

Hello,

I am new to RPA and was wondering how I would accomplish this task. I have set up my bot to pull daily reports and add the report into that same file I had the bot made. I am not sure how to set up the if file exists statement in order for me not to get the error of “file already exists”. For example if I have March 7th data already in the file, how can I add March 8th data below it? Thank you in advance!

This is how I have it set up so far.

Use the File Exists activity to check if the file already exists. Then you’ll use an If: if the file exists, then append to it; else write a new file.

Thank you so much!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.