File and Folder Automation via Email

Description

I have set up my workflow in Studio X. Each case, saving attachments, moving attachments, has been successful per the run. However, when I go into the folder, nothing is there. I am a bit confused. Is there something I need to consider with my properties. Plesae advise.

Link

https://academy.uipath.com/learning-plans/desktop-automation-citizen-developer-foundation5.Activities" xmlns:umame=“clr-namespace:UiPath.MicrosoftOffice365.Activities.Mail.Enums;assembly=UiPath.MicrosoftOffice365.Activities” xmlns:umamm=“clr-namespace:UiPath.MicrosoftOffice365.Activities.Mail.Models;assembly=UiPath.MicrosoftOffice365.Activities” xmlns:usau=“clr-namespace:UiPath.Shared.Activities.Utils;assembly=UiPath.MicrosoftOffice365.Activities” xmlns:x=“http://schemas.microsoft.com/winfx/2006/xaml”><ClipboardData.Data><scg:List x:TypeArguments=“x:Object” Capacity=“1”><umam:MoveEmailConnections BrowserFolder=“{x:Null}” BrowserFolderId=“{x:Null}” ConnectionAccountName=“{x:Null}” ConnectionId=“{x:Null}” ContinueOnError=“{x:Null}” Email=“{x:Null}” FolderIdBackup=“{x:Reference __ReferenceID0}” Mailbox=“{x:Null}” MailboxBackup=“{x:Reference __ReferenceID1}” ManualEntryFolder=“{x:Null}” Result=“{x:Null}” x:Name=“__ReferenceID2” AuthScopesInvalid=“False” BodyAsHtml=“False” DisplayName=“Move Email” VirtualizedContainerService.HintSize=“434,285.3333333333333” SelectionMode=“Browse” UseConnectionService=“True” UseSharedMailbox=“False”>umam:MoveEmailConnections.MailFolderArgument<umamm:MailFolderArgument BrowserFolder=“{x:Null}” BrowserFolderId=“{x:Null}” ConnectionDescriptor=“{x:Null}” ConnectionKey=“{x:Null}” ManualEntryFolder=“{x:Null}” SelectionMode=“Browse”>umamm:MailFolderArgument.Backup<usau:BackupSlot x:TypeArguments=“umame:ItemSelectionMode” x:Name=“__ReferenceID0” StoredValue=“Browse”>usau:BackupSlot.BackupValues<scg:Dictionary x:TypeArguments=“umame:ItemSelectionMode, scg:List(x:Object)” /></usau:BackupSlot.BackupValues></usau:BackupSlot></umamm:MailFolderArgument.Backup></umamm:MailFolderArgument></umam:MoveEmailConnections.MailFolderArgument>umam:MoveEmailConnections.MailboxArg<umamm:MailboxArgument SharedMailbox=“{x:Null}” UseSharedMailbox=“False”>umamm:MailboxArgument.Backup<usau:BackupSlot x:TypeArguments=“umame:MailboxSelectionMode” x:Name=“__ReferenceID1” StoredValue=“NoMailbox”>usau:BackupSlot.BackupValues<scg:Dictionary x:TypeArguments=“umame:MailboxSelectionMode, scg:List(x:Object)” /></usau:BackupSlot.BackupValues></usau:BackupSlot></umamm:MailboxArgument.Backup></umamm:MailboxArgument></umam:MoveEmailConnections.MailboxArg></umam:MoveEmailConnections></scg:List></ClipboardData.Data><ClipboardData.Metadata><scg:List x:TypeArguments=“x:Object” Capacity=“4”><scg:List x:TypeArguments=“x:Object” Capacity=“1”><x:Reference>__ReferenceID2</x:Reference></scg:List></scg:List></ClipboardData.Metadata>

Date

2025-11-18

Related UiPath products

StudioX

Hello @marcia_coleman,

Yes maybe it is in your properties,
Can you share a screenshot of your properties?
or, can you share your project folder compressed into a ZIP file?

Regards.

@marcia_coleman

Welcome to the community

May be the loop itself dint run..please check the same

cheers

You are running your workflow in StudioX, and it shows that the attachments were saved or moved successfully. But when you open the folder, nothing is there. This usually happens because StudioX does not always save files where you think it will. It might be saving them in a different location without showing any error.

There are a few simple reasons for this:

You may be using a short or relative folder path like “Attachments” or “Downloads”. StudioX then assumes the folder is inside the project folder, not your real Windows folder. So the files get saved inside the project directory instead of the folder you expect.

Your PC may be using OneDrive, which moves your real Desktop, Downloads, and Documents to OneDrive. So StudioX actually saves files in OneDrive folders like:
C:\Users<User>\OneDrive\Documents
You might be checking a local folder while the file is stored in OneDrive.

If the folder you selected does not exist, StudioX automatically creates it inside the project, not in your real Documents folder. So the run shows “success”, but the files are somewhere else.

Some email activities save attachments to temporary folders (like AppData) if the final folder path is not set correctly.

To fix this, always use full, complete folder paths, for example:
C:\Users\xyx\Documents\MyAttachments
Use the Browse button to select the folder.

In short, your workflow is working fine, but the files are being saved to a different folder than the one you are checking.

If you send me a screenshot of your Save Attachments activity (only the properties panel), I’ll tell you EXACTLY where it is saving.