Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Add Attachments on condition

Hi there, 


I'd like to add to my app the ability to send users attachments they haven't selected themselves but based on what they are interested in. For example if someone is interested in dogs, after using the app they get an email saying: you might also be interested in this .. adding dog-related attachments. If they are interested in cats, they get the cats-related attachments etc.  

Is there a way to add documents to the attachment controls that is based on a formula and not because the user has selected them? 

thank you

Super User
Super User

Re: Add Attachments on condition

The best way to do is through flows.

You can pass interests and user email as a parameters from your PowerApps, The Flow will then go and search related documents from your repository and will send the information to the user in attachments
Resolver V
Resolver V

Re: Add Attachments on condition



PowerApps stores no real information and just does what you tell it to from many other sources.


What I would do is set up a process where you have a SharePoint table that stores the documents, image's, etc... (Files) then put a document type field in the table also. when the button is selected use your e-mail process and have the proper document type attached.


Just my thought off the top of my head



Helpful resources

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (5,939)