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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Outlook Group Email to...
Power Automate
Unanswered

Outlook Group Email to Sharepoint Site (of the same group email)

(0) ShareShare
ReportReport
Posted on by 4
I am trying to create a flow to take attachments (vendor quotations) from a group email, and put them into the sharepoint site of that group email. 

I have it sort of working? But not really.
I run a test and it pulls a random email that isnt even in the group, it pulls a email from my personal email?
It does pull the attachment correctly (along with 20 embedded jpegs from signatures)

So 2 part question here. Why is it not pulling the NEW emails that are going to this group email? It pulls this same random email EVERY TIME, not the new email.
 
 
How do I limit the attachment types to .docx , .pdf and .xlsx so it doesnt pull these embedded jpegs? 
 
Trigger is routed to correct group ID.
 
 
Get mails Parameters.
 
For Each Parameters
Apply to each parameters
Get attachment parameters
 
create file parameters
 
I have the same question (0)
  • Expiscornovus Profile Picture
    33,891 Most Valuable Professional on at
     
    You can use a Filter Array to filter the attachments array.

    Below is an example, if that helps?
     
    1. Use the Attachments array in the From.
     
    2. Edit the filter in advanced mode and add the below
     
    @or(or(endswith(item()['name'], '.docx'), endswith(item()['name'], '.pdf')), endswith(item()['name'], '.xlsx'))
    3. After that you can loop through the filtered items by using the Body field of the Filter Array action. 

    4a. In the File Name of the Create file action use
    item()['name']
    4b. In the File Content of the Create file action use
     
    item()['contentBytes']




     
    Happy to help out 😁

    I share more #PowerAutomate and #SharePointOnline content on my Blog, LinkedIn, Bluesky profile or Youtube Channel
  • BG-11031913-0 Profile Picture
    4 on at
    That should help the part with the filtering the unwanted files.
     
     
    Any idea why it isnt pulling the new emails in correctly?
     
    When I do a manual trigger by sending an email to the group, it pulls a random email from my personal email, rather than the group email.
     
    Why would it be doing this? 

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard