Hello everyone!
I'm currently making a power Automate flow that automatically sends an email to a teacher when a student tries to change something on a sharepoint list.
The following function is working:
Approval.Run(User().Email; "teacher email")
// The contents are: Approval.Run( Sender; receiver), I've removed the other informations for clarity
However as you can see the theacher email is hardcoded and I would like it to be dynamic.
The students are stored in a sharepoint list called Students, one of its column is called "TeachersProfils" and contains the Office365 profiles of every teachers that are linked to a specific student.
I would like the mail to be sent to every teachers of the student who clicks the button. Unfortunately I truly have no idea where to start despite my research.
Does anyone have a hint on where to start or what to use?