I have a list of people in a gallery and I want to email them an invitation. On sending the email I want the field "Status" to read "asking" another field to show date and time email sent and who sent it. If possible a link that the recipient would click to accept or decline the invitationI would change the status label from Asking to Yes or No.
I don't know where to begin but I do have an email that works from a button in gallery.
Look forward to some direction with thanks.
1. Is this based on an SP list
2. Are you using PowerAutomatefor the email?
There is an send email with options Office365Outlook.SendMailWithOptions() choice but I am not sure how that works.
If I do this I use PowerAutomate to send an email with options which is pretty easy to create. depends on how the data is retrieved.
Can you please be more specific about the "Status" and "asking" fields? Also, do you have a template of how you want the email to look like? Are you using Power Automate to send the email or are you sending it directly from the application?
Yes it is a SP list. It is a list called HostSearch My Email was set up using the following method.
Office365Outlook.SendEmail(LookUp(HOSTFAMILIESTest,ID=ThisItem.HostID,HostEmail),"Test from Gallery ID: "&ID,"Test Message")
I can set something up with PowerSAutomate if that's the way to go.
You can this in PowerAutmate using teh PowerApps Trigger.
Thank you for this explanation. I have only made one automate before so just got a bit stuck.
I managed to get to stage 4...
From here where do I go? Maybe there is some videos I can watch?
Next step in the Apply to each add a condition action. You have given yourself 3 Options so I would put the main option in teh condition. EG: Selected Option Contains Yes would like to host this group
No when user clicks it will travel down teh true side and the other option will go via the false. On the false side you can do another condition based on those answer if you like.
Here is one of mine to look at
I have made some progress. I made one condition which did not report any errors but when testing it asks me for Getitems_LimitEntriestoFolder. If I enter the name of the SP list i want the flow to run and enter an ID of the test item it starts the test. I do receive an email and I have the options appear in the email. If I click YES I get another email asking the same thing and the test status in flow is still running.
I know I need to make more conditions for the other 2 options but do you know any reason for the repeating email?
If you selected a field from the get items list, then it is likely it is put your email in a for each loop. This will be the reason that when you approve or whatever the action is the email will fire again if there is more than one record in the get items list.
Keep up to date with current events and community announcements in the Power Apps community.
A great place where you can stay up to date with community calls and interact with the speakers.
Check out the latest Community Blog from the community!