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 / Pulling Document from ...
Power Automate
Suggested Answer

Pulling Document from Sharepoint to send as an email attachment

(2) ShareShare
ReportReport
Posted on by 4
Hi,
 
I'm trying to pull a document that is within a SharePoint Table and have it attached to an email. Is there a good way to do this?
 
Currently I'm using the "Send an email" Block.
Categories:
I have the same question (0)
  • Suggested answer
    Haque Profile Picture
    2,415 on at
    Hi @BB-11112101-0,
     
    When you say SharePoint Table - does it mean SharePoint Document library or SharePoint list? However, to attach a document from a SharePoint list (or library) to an email, we can use Power Automate flow, you need to make sure you’re pulling the file content correctly, not just the metadata. 
     
    • Power Automate Trigger - Whatever suits your scenario (manual, scheduled, or when an item is created/modified in the SharePoint list).

    • Get Item (SharePoint) - Use the Get item action to retrieve the record from your SharePoint list. Make sure the column that stores the document is either a Hyperlink/URL or an Attachment field.

    • Get File Content

      • If the file is stored in a document library:

        • Use Get file content using path or Get file content.

        • Input: the file path or ID from your list item.

      • If the file is stored as an attachment in a list item:

        • Use Get attachments → then Get attachment content.

        • This gives you the binary file content.

    • Send Email (Outlook or Gmail connector)

      • Use the Send an email (V2) action.

      • In the Attachments section:

        • Name: @{outputs('Get_item')?['FileName']} (or whatever field holds the name).

        • Content: @{outputs('Get_file_content')} (this is the binary content).

    Referefces: Here is the method from MS document. 
     

    I am sure some clues I tried to give. If these clues help to resolve the issue brought you by here, please don't forget to check the box Does this answer your question? At the same time, I am pretty sure you have liked the response!
  • Suggested answer
    11manish Profile Picture
    1,963 on at
    You can follow tbelow youtube video for your requirement 
     
  • Haque Profile Picture
    2,415 on at
    Hi @BB-11112101-0, 
     
    I was following up on this, did you manage to complete the flow to achieve the goal?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 820

#3
Haque Profile Picture

Haque 505

Last 30 days Overall leaderboard