Date execution Bot

Hello friends,
@rkelchuri, @Ninett_Panfir, @Rammohan91, @balupad14, @Florent_Salendres, @vvaidya, @Palaniyappan, @ClaytonM, @vvaidya, @loginerror, @Ignacio_Insua_Feito

I need to setup a dictionary or something else so that the Bot works in this way.
i need to download from the provider portal the e-invoices created the day before the execution of the bot.

  1. The bot must be launched in the mornigns of working days (Monday)
  2. if it is monday I should work nand download e-invoices generated on Friday, Saturday and Sunday.

How can I do that?
Thank you so much,