web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / export email (how not ...
Power Automate
Unanswered

export email (how not to include images)

(0) ShareShare
ReportReport
Posted on by

Hi, I need to export an email with attachments to a sharepoint list, I already have the steps shown below that do this first task, the thing is I don't need to include images that are on the email body, only the files attached (pdf, excel, etc),

SP9.PNG

 In my sharepoint list I am getting those undesired images:

Image.PNG

 Is there a way to exclude them in my flow?

 

After this, I need to rename each of the attachments saved in my sharepoint list and save them in another folder on the same sharepoint site, what steps should I use?

 

Thanks

Categories:
I have the same question (0)
  • Verified answer
    v-duann-msft Profile Picture
    on at

    Hi @Anonymous 

     

    Thank you for posting.

     

    According to your description, you would like to export attachments from email and attach them into according item in list. But don’t want to keep image file.

     

    If that’s the case, we can use condition to get rid of image type file as below:

     

    The whole flow (You just need to pay attention to the configuration in ‘apply to each’)

    v-duann-msft_0-1622429530960.png

     

    v-duann-msft_1-1622429530969.png

     

    Once running the flow, I’m able to exclude image files.

    Received email:

    v-duann-msft_2-1622429530991.png

     

    Flow results:

    v-duann-msft_3-1622429531000.png

     

    Created item:

    v-duann-msft_4-1622429531005.png

     

    To rename each of the attachments saved in my SharePoint list and save them in another folder on the same SharePoint site. We need to refer 'create file' action.

    v-duann-msft_0-1622437925067.png

    To save all attachments including images, we need to use 'create file' before condition. To only keep files excluding images, we can configure 'create file' after 'add attachment' action.

     

    Hope the content above may help you.

     

    Best regards,

    Anna

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard