Process email messages in Outlook Action(Power Automate Desktop)
An action that does any of the following to an incoming email in Outlook
- Unread
- Delete
- Move folder
You must have an email account set up in Outlook to use this action.
How to use
Drag "Process email messages in Outlook" from "Outlook" under "Actions."
However, this action has an order of setup.
- Launch Outlook
- Retrieve email messages from Outlook
- For each
- Processes email messages in Outlook
- Close Outlook
This action targets the Variables produced by "Retrieve email messages from Outlook".
Variables produced are a List of Outlook email messages. (default variable name is RetrievedEmails).
Set it to "Value to iterate" in "For each" and loop through it.
Then, in "For Each", put in place "Process email messages in Outlook".
The "Retrieve email messages from Outlook" is therefore a condition for the mail to be processed.
However, depending on the properties of the Outlook mail message, it may not be possible to make a judgment by itself, In such a case, "IF" or something else should be added to "For Each".
Parameter
Outlook instance
Specify the target Outlook with Variables produced by "Launch Outlook".
If the relevant variable exists, it will be preset automatically.
Account
Specify the target Outlook account.
Depending on the configuration, this is often the email address by default.
Email message to process
Specify the target Outlook Mail message.
In most cases, the Variables produced by "For each" (default variable name: CurrentItem) will be used.
Operation
Specifies the operation to be performed on the target.
- Delete email messages
- Moves email message to mail folder
- Mark as unread
Delete may completely delete the message (without moving it to the recycle bin) in some environments, so be careful when using it.
Move additionally specifies the destination folder.
For example, to search from folder A under Inbox, specify "Inbox\folderA".
For those who want to learn Power Automate Desktop effectively
The information on this site is now available in an easy-to-read e-book format.
Or Kindle Unlimited (unlimited reading).
You willl discover how to about basic operations.
By the end of this book, you will be equipped with the knowledge you need to use Power Automate Desktop to streamline your workflow.
Discussion
New Comments
No comments yet. Be the first one!