Need to send email at specific time

Bot need to move a file from one folder to another and send that file through email at 6: 30 am ist everyday

you didn’t provide many details.
If you are using Orchestrator you can set the trigger a little bit before 6:30. Of course you have to make sure that you willl be have a machine not occupied by different process.
So then set the time trigger:

How will I add any xaml code to this


You have to deploy the process in orchestrator and create trigger with your process to run at the specified time so the process can sed email in that time frame. Thanks.

Hi @sruthesanju

Here is the steps for your requirement.

Step 1: create the business flow in UiPath studio to send out the email to specific email recipient. You can use ‘Send Outlook Email’ activity to send email(s)
Step 2: create a trigger in orchestrator to run the bot (email sending code) on specific interval.

The below video will help to configure triggers in UiPath Orchestrator.

Hope this will be helpful. Thank you.

How do I create business flow

HI @sruthesanju

You can use this expression as condition inside the “IF”
New DateTime(Now.Year, Now.Month, Now.Day, Now.Hour, Now.Minute, Now.Second) >= New DateTime(Now.Year, Now.Month, Now.Day, 06, 30, 0)

You need trigger from Orchestrator means

Refer this thread

  • Daily
  • Every dat at 6 Hr And 30 Min


Hi @sruthesanju

This article will help to create email sending flow

Thank you.

Hello! You can add this rule directly to your workflow using IF activity.

strTime = “6:30”
strCurrentTime = DateTime.Now.ToString(“hh:mm”)

In Then section just add to move your file and send via e-mail.