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 / Send an email from a s...
Power Automate
Answered

Send an email from a shared mailbox (v2) and attach a file from SharePoint

(0) ShareShare
ReportReport
Posted on by 249

I have a very simple Power Automate Flow (when a new email arrives in a shared mailbox (v2)) --> (Send an email from a shared mailbox (v2)).

This is working just how it needs to, however, I have now been asked to add an attachment to the outgoing email. This has become problematic. The attachment the needs to be attached is located in my SharePoint Online document library. I have tried using Get file content, and this sent the email with a .xmIPK attachment. The file I am trying to attach is a .docx.

 

I am at a loss as to what I am missing to get this to attach to the email. Any assistance is greatly appreciated

Categories:
I have the same question (0)
  • PriyankaGeethik Profile Picture
    3,320 Super User 2024 Season 1 on at

    Hi @techtudoor,

     

    Would you try with Get files properties 

     

    PriyankaMadan10_0-1627929504852.png

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • techtudoor Profile Picture
    249 on at

    @PriyankaGeethik thank you for the suggestion. However when I try to do this, the email contains a text document with just the item ID as the name and no data

  • PriyankaGeethik Profile Picture
    3,320 Super User 2024 Season 1 on at

    @techtudoor in the run history of the flow did you get the correct file properties ? No data files are usually due to file extension or content mismatch.  

  • Verified answer
    ScottShearer Profile Picture
    25,270 Most Valuable Professional on at

    @techtudoor 

    It sounds like the same file will be attached all the time.  If so, add the ID column to a view of your library.  Make note of the ID of the document that you want to attach.

    Then, follow my example below and let me know if you have any questions.  Don't worry that there is a loop - only 1 email will go out.

    image.pngimage.pngimage.png

     

     

  • techtudoor Profile Picture
    249 on at

    @ScottShearer , thanks so much that worked great. I really appreciate the assistance

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 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard