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 / Attach a document crea...
Power Automate
Answered

Attach a document created by a flow to an email

(0) ShareShare
ReportReport
Posted on by

Hi

 

The below flow creates a document from a word template in a SharePoint document library. The document has place holders and the form content populates those place holders.

 

The problem is, the only way you can see the info added to the place holders is if you view the document in the desktop app!

 

What next steps can i add to this flow to attach the document to an email?

 

 

LukeSykes_0-1656510423268.png

 

Categories:
I have the same question (0)
  • v-yujincui-msft Profile Picture
    Microsoft Employee on at

    Hi @LukeSykes ,

     

    Do you want to send a SharePoint file as email attachment?

    I have made a simple test for your reference.

     

    Here is my Flow.

    vyujincuimsft_2-1656669802658.png

    Or

    [
    {
     "Name": "filename",
     "ContentBytes": @{body('Get_file_content')}
    }
    ]
    body('Get_file_content')

    vyujincuimsft_1-1656669553029.png

    Result Screenshot:

    vyujincuimsft_0-1656669466805.png

     

    In addition, here is a link that for your reference.

    https://docs.microsoft.com/en-us/microsoft-365/community/power-automate-send-sharepoint-files-as-attachments

     

     

    Best Regards,
    Charlie Choi

  • LukeSykes Profile Picture
    on at

    Thank you for this - i have redefined my question in this post. Its actually the get file content bit that's not working

     

    Get File Content from file in SharePoint document ... - Power Platform Community (microsoft.com)

  • Verified answer
    v-yujincui-msft Profile Picture
    Microsoft Employee on at

    Hi @LukeSykes ,

     

    Maybe you could try as below:

    vyujincuimsft_0-1656671218412.png

    vyujincuimsft_1-1656671268181.png

    Result Screenshot:

    vyujincuimsft_2-1656671405069.png

     

     

    Best Regards,
    Charlie Choi

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
Haque Profile Picture

Haque 639

#2
Valantis Profile Picture

Valantis 392

#3
11manish Profile Picture

11manish 350

Last 30 days Overall leaderboard