How to save only a specific file type using Save Attachment activity in UiPath

0 votes

Hi all, I need to save only excel files from an email attachment. How can do it?

I found there is a Filter property in Save Attachments activity? Is that right option to use? If yes, help me with the Syntax to use Filter property.

Nov 6, 2019 in RPA by anonymous
• 1,110 points
2,843 views

1 answer to this question.

0 votes

Hey, the Filter property from Save Mail Attachment will filter on which attachments should be saved. The filter should be in RegEx format. For your scenario, you can use “.xlsx” filter.

If you want to download only Excel files, use this in the Filter property of the Save Attachment Activity.

".*(.xlsx|.XLSX|.xls|.xls)"

It will download only excel file.

answered Nov 7, 2019 by Abha
• 28,040 points

Related Questions In RPA

0 votes
1 answer

How to extract specific type of files from a directory using UiPath?

Hey @Avani, if you want to extract ...READ MORE

answered Mar 13, 2019 in RPA by Anvi
• 14,150 points
6,101 views
0 votes
0 answers

HOW to extract a column data and save it in the new sheet using UIPATH

Sep 12, 2019 in RPA by anonymous
• 120 points
963 views
0 votes
4 answers

How to find the sum of 2 columns of an excel and display it in a 3rd column using UIPATH?

These are the steps to add two ...READ MORE

answered Aug 2, 2019 in RPA by Shivi Singhal
8,174 views
+3 votes
1 answer

How to extract data from a website and save it to excel using UiPath?

Hi Piyush, if you want to extract ...READ MORE

answered Mar 8, 2019 in RPA by Anvi
• 14,150 points
15,923 views
0 votes
1 answer

What is Get IBM Notes Mail Messages activity in UiPath Studio and how it can be used?

Hey Apeksha, this activity is used to ...READ MORE

answered Oct 24, 2019 in RPA by Rizvan
739 views
0 votes
1 answer

How to filter messages in Get Outlook Mail Messages activity in UiPath?

Hey, you can use a RegEx expression ...READ MORE

answered Nov 7, 2019 in RPA by Abha
• 28,040 points
5,422 views
+1 vote
0 answers

Get filename from Outlook attachment

Hi everyone! I want to automate a process ...READ MORE

Sep 24, 2020 in RPA by RandomDude
• 260 points
427 views
0 votes
1 answer

Identify a Column in a database in UiPath Studio

There are two options to identify a ...READ MORE

answered Feb 11, 2019 in RPA by Sahiti
• 6,380 points
1,631 views
0 votes
1 answer

How to scrap only numbers from a pdf file using UiPath studio?

Hi, to scrap only numbers from a ...READ MORE

answered Oct 16, 2019 in RPA by Abha
• 28,040 points
430 views
0 votes
1 answer

How to make a text hyperlink in word using Uipath Studio?

Hi there, you can make a text ...READ MORE

answered Oct 24, 2019 in RPA by Abha
• 28,040 points
1,595 views