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

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
    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
    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

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard