Can I get the Attachments saved in a new folder?
EX: Argentina has 2 mails and each contain 2 attachments. that 4 attachments need to be saved in a folder.
then for chile it has 2 mails and it contain 2 attachments as well. i need to put them in a seperate folder.
like this i need to do it for all country.
is it possible? if it is please help me up
cheers
Excel To Outlook mail filtering
use this topic for Q.N reference
Hi @abivanth.r
- Get Emails (IMAP or Outlook activities)
- For Each email
3. Extract Country Name (from mail body or Subject)
4. Create Folder activity for the country
5. Save Attachments activity to the country’s folder
With this the countries attachment won’t be saved on same folder
For Argentina it’ll be 2 folders
Hi @abivanth.r
Correct me If I am wrong
So Argentina has 2 Emails, and each email have 2 attachments .total attachment is now 4
So these 4 attachment will be save in a folder called Argentina
Chile has 2 emails and each email have 2 attachments .total attachment is now 4
So these 4 attachment will be save in a folder called Chile
If I am Correct about the above explanation then before creating a folder use activity called Folder exists and then use IF condition
If (FolderExists=True)
Then
Save the attachment in that folder
Else
Create folder
Save attachment
Hope this helps you
yes. it is what i want
Hope the above solution helps you
Hi @abivanth.r ,
The Logic is
- Get All the mail messages
- Loop through each of them
- Check if a folder name exists with the subject/Body mail
- If not then create a folder with that name
- Add all the attachments into respective folders
I have replicated your scenario in the below file
Saving Outlook Attachment in loop.zip (76.1 KB)
Hope it helps you out!
I am confused. i need to create a folder with the country name first and then i need to create a folder inside it and name it ‘the current date’- 03/15/2024 and save the Attachment there
HI @abivanth.r ,
I have created a workflow, just check if it satisfies
Saving Outlook Attachment in loop.zip (76.5 KB)
your requirement
Hope it helps you out!
Hi
please check this. i did the flow exactly like this.
i have a excel and need to get country names from it where i filter it.
Excel To Outlook mail filtering
please go through this once for better understanding
Hi
I need a solution, please help me on this
Cheers
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.