We have a need to use "if this, then that" logic within the contact filtering of a CoPilot powerlist. Here is the situation:
We have two different "Roles with Company" that designate the contacts on an account that need to be informed of key information: Primary Technical and Decision Maker. A contact can only have one role at a time, but there can be multiple contacts with the same role on an account. We are working toward our SOC2 certification and have some notices that need to be delivered in a certain timeframe to certain customer. All of our accounts (should) have either a primary technical contact or a decision maker, but not necessarily both. For some notices, we would like to be able to say the following:
"If there is at least one primary technical, then send the notice to those contacts and DO NOT send a notice to the decision maker roles.
If there is not at least one primary technical, then send the notice to the contacts with the decision maker role"
Our predicament now is that some accounts are setup with CEO or CIO individuals as decision maker. We have gotten complaints that those individuals are annoyed by the notice, thus we are trying to solve that in situations where we can.
Any ideas?
Solved
Can you use "If this, then that" logic inside CoPilot contact filtering?
Best answer by manu_mittal
If you wish to do this with a custom rule, you could try out the following steps:
Rules Engine
[b] Contact -> Role = Decision Maker
[c] CustomerInfo -> # of Primary Technicals = 0
A OR (B AND C)
Hope this helps!
Rules Engine
- Create a custom Number field called '# of Primary Technicals' in Gainsight's 'CustomerInfo' object, with 'Default Value = 0'.
- Build a custom rule on the 'Contact' object.
- Pull in the 'Account Id' and also do a COUNT aggregation on 'Contact Id'.
- Apply a filter for 'Role = Primary Technical'.
- The output of this query would be a list of Accounts along with the count of how many Primary Technicals each Account has.
- Pick the 'Load to Customers' action.
- Map 'Account Id' to 'Account Id'.
- Map the COUNT to the custom field that you created in the beginning.
- Run one-time or create a schedule that works for you.
- Build your CoPilot PowerList with the following criteria:
[b] Contact -> Role = Decision Maker
[c] CustomerInfo -> # of Primary Technicals = 0
A OR (B AND C)
Hope this helps!
Sign up
If you ever had a profile with us, there's no need to create another one.
Don't worry if your email address has since changed, or you can't remember your login, just let us know at community@gainsight.com and we'll help you get started from where you left.
Else, please continue with the registration below.
Welcome to the Gainsight Community
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.