Trigger Filters
Stop a Dataverse trigger from firing on every column change — narrow it to one column, then to one specific value, so the flow only reacts when an opportunity actually closes.
Exercises
01
Exercise 1 — Find the column's logical name
Trigger filters reference Dataverse columns by their logical name (e.g. cr977_opportunitystatus), not their display name — you'll need it in Exercise 2.
- In
https://make.powerapps.com→ Tables → Opportunity → Columns, open the Status column. - Expand Advanced options and copy the Logical name. Your prefix will differ from any example shown elsewhere — that's expected, it's tenant-specific.
02
Exercise 2 — Build the filtered flow
Task 2.1 — Create the trigger
- Select + Create → Automated cloud flow, name it
Opportunity Closed. - Search triggers for
Dataverse, choose When a row is added, modified, or deleted, select Create.
- Rename the step to
Opportunity changed. Change Type: Modified. Table Name: Opportunities. Scope: Organization.
- Add Send an email (V2), rename to
Notify by email. To: your tenant user ID. Subject:Opportunity closed. - Body: insert dynamic Opportunity Subject, then (via See more) Opportunity Status from Opportunity changed.
- On the trigger, set Select Columns to the logical name from Exercise 1 — this stops the trigger firing on unrelated field edits.
- Set Filter Rows to
<your logical name> eq 3(3 is the Closed choice value from Lab 2). Now the trigger fires only when status changes to Closed. - Select Save.
03
Exercise 3 — Test the trigger filter
- In
https://make.powerapps.com→ Tables → Opportunity, change any record's Opportunity status to Closed. - Open Outlook and confirm the "Opportunity closed" email arrived. Changing a different field, or setting status to New/Open, should not trigger anything.