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.
Solved! Go to Solution.
Hey @MidwayC11
I setup a very quick example... I've added a label to a screen set the formulae to: Office365Users.MyProfile().Mail
More 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):
And the flow is configured:
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!
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:
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!
Hey @MidwayC11
I setup a very quick example... I've added a label to a screen set the formulae to: Office365Users.MyProfile().Mail
More 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):
And the flow is configured:
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!
Thanks again for the great help!! That did it!