Hi Folks,

I have to create a metabot. So first question is " Metabot" like a reusable component?

So this is one use case on which i m working on. Can anybody help me with this?

1.Before start create two folder “Bounce” and “Visited” folder outside the Inbox.

2.Bot opens the outlook using metabot.

  1. Bot clicks on Filter Email and selects Unread option

4.Bot reads the subject

  1. If the subject includes “Undeliverable:” then bot opens the mail. Reads the subject, body and logs it to a txt file.

6.And sends a notification mail to the owner with the txt file as an attachment. (using metabot)

  1. Bot will then move that mail to “Bounce” folder.

  2. If the subject includes “Order ID#” then the bot opens the mail, reads the body, subject, picks the data (e.g OrderID, Name, UserID, Contact no, and Email ) and add it to a csv file. (This csv file is created dynamically date wise which will be send at the end of the day)

9.Then moves the email to “Visited” folder
10. For all the other mails, the bot will move it to “Visited” folder

11.The bot will then continue with step 2 until the end time reached. The end time is coming from a config file which can be edited externally.

12.When the bot reached the end time, it will send a final mail with the csv file attached and stop the process. This csv file contains the details of all the orders.

Hey @jack_ass

Welcome to the community!

The email automation is slightly different from AA here :wink:

Reusable workflows can be used by Invoke Workflow Activity by passing arguments In/Out, it is just a XAML file what can be invoked in another to achieve code reusability

For email automation if outlook is configured you can directly Get Outlook Emails and Move Outlook Emails

If you are new to UiPath, I would strongly recommend to go through below resources, trust me it will be very useful

Rest after this, you can ask anything here anytime


1 Like

Thanks Prankur