I am trying to create a flow that will send out an email notification to the team member assigned to the shift when a shift is created, updated, or deleted. Not sure where to start with this one. Thank you
I have created a example for you below.
1. Add the When a shift is create, update or deleted trigger action. Select your Shifts Team
2. Add a Get a Shift action, use the Resource Id dynamic value for the Shift ID
3. Add a Get user action, use the Shift Assigned To User ID for the User Id field
4. Add a Send an email (V2) action, use the mail for the To field. You can of course change the subject and body fields of that e-mail action to whatever you want.
The end result should look something like this.
Hope this helps a bit to get you started?
ok, I see the real problem. I checked my sent items in my outlook and the flow is still sending the email to ALL MEMBERS of the team, even people who did not have any changes to their shift. It also looks like there are 2 emails going out. There is only one email in the whole bunch that has the dynamic info of the shift listed in it. I have posed some screen shots.
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
Check out the community blog page where you can find valuable learning material from community and product team members!