Send an Outlook Email with Attachment

I’m unable to come up with any working actions that would attach an excel file to an Outlook email and send it. Constantly getting error “NoSuchWindowException: Window is not defined yet. Please switch to some window before.” after I open Outlook and attempt to click the “New email” option using window control. Any tips or a sample action flow will be appreciated!

Hi Geri, can you share your recording or the screenshot of the Switch to window action that fails?

Hi Alesia, I was able to figure it out and your question confirms that I was supposed to use the Window action to tell the bot what to “look” at. Even though the application window was open on my screen I realized it wouldn’t automatically pick that up. Thank you very much for addressing my inquiry!

1 Like

@gstoyanova Glad it got solved :+1: