1. In SharePoint, first confirm your columns:
- Grant Agreement = Choice column (Yes/No)
- Department = Choice column
2. Create a new Automated Cloud Flow in Power Automate
3. Use trigger:
- “When an item is created or modified”
4. Add a Condition action:
- Left side = Grant Agreement Value
- Operator = is equal to
- Right side = Yes
5. In the YES branch:
- Add a Switch action
6. In the Switch “On” field use:
- Department Value
If Power Automate creates an Apply to each, delete it and instead use this expression in the Switch field:
text triggerOutputs()?['body/Department/Value']
7. Add Switch cases:
- Case 120
→ Add “Send an email (V2)”
→ Send to staffperson120@email.com
- Case 130
→ Add “Send an email (V2)”
→ Send to staffperson130@email.com
- Case 141
→ Add “Send an email (V2)”
→ Send to staffperson141@email.com
8. In each email action, customize subject/body as needed.
9. Save the flow and test by editing a SharePoint item:
- Set Grant Agreement = Yes
- Select a Department number
- The correct email should send automatically.
If the loop still appears, it means the Department column is still configured as multi-select in SharePoint.