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 File as attachmen...
Power Automate
Unanswered

Send File as attachment in Email from File System triggered from PowerApps?

(0) ShareShare
ReportReport
Posted on by 68

I'm trying to grab a file from the file system and send this file as attachment in an email and triggering this from Power Apps? would something like this be possible to accomplish?

 

Thanks in advance for your help.

Categories:
I have the same question (0)
  • Jay-Encodian Profile Picture
    2,920 on at

    Hey @MidwayC11 

    Absolutely possible 🙂

    You'd use the 'Get File Content' action from 'File System' connector to obtain the actual file: https://docs.microsoft.com/en-us/connectors/filesystem/

    Use the 'Get file metadata' action from the 'File System' connector to get file information... such as the filename

    Then simply use the 'Send an Email (v2)' action from the Office 365 Outlook connector to create the email and send the file: https://docs.microsoft.com/en-us/connectors/office365/

    Quick example:

    1.png

     

    Of course you're going to need some logic to determine which will to pickup from the file system... I guess you'll simply pass this information from your PowerApp to PowerAutomate?

    HTH

    Jay

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • MidwayC11 Profile Picture
    68 on at
    Thanks very much for replying to my question here. That's awesome explanation with the sample shot here. That's very good and all but now in the To field in the send an email control, I need to pass an email address from PowerApps, I think i have to use the Aks in PowerApps control at the beginning?

    Thanks very much for your help.
  • Verified answer
    Jay-Encodian Profile Picture
    2,920 on at

    Hey @MidwayC11 

    I setup a very quick example... I've added a label to a screen set the formulae to: Office365Users.MyProfile().Mail

    1.pngMore details on getting user data here: https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/connections/connection-office365-users

    I then connected a button to a Flow and configured the formulae as follows... (it sends the value of the label to Flow):

     

    2.png

     

    And the flow is configured:

    3.png

     

    I hope this provides some useful high level steps to pass data from your PowerApp to Flow 🙂

    This article may also be of use... the scenario is different, but it does provide detailed step by step guidance on how to pass data from PowerApps to Flow: https://blog.encodian.com/2019/09/reduce-the-size-of-images-generated-by-powerapps-with-flow/

    HTH
    Jay

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     
  • MidwayC11 Profile Picture
    68 on at

    Thanks again for the great help!! That did it!

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