trigger not working
trying to send off a smart campaign. This trigger is not working for some reason. Let me explain what I'm trying to do:
I want to send out an email when an opportunity's stage is changed to "closed won"
As long as:
- deal type is new account
- team is one of the mentioned teams
- and the total closed seats on the account is at most 5
