You must be an admin to create triggers. However, all Sell users can cause a trigger event that prompts the evaluation of conditions and carries out the predefined action if the trigger conditions are met.
This article covers the following topics:
Related articles:
Creating the conditions of a trigger
You can define conditions to specify when trigger actions are implemented after a trigger event occurs. Every time it occurs, the sales triggers that use it will evaluate their conditions against the object that caused the trigger event. Trigger actions are carried out every time a trigger event occurs and the trigger conditions are met.
To create a trigger
- On the sidebar in Sell, click Settings > Business rules > Triggers.
- On the Triggers page, click Add trigger.
- In the Name field, name your trigger (for example
Deal owner updated
). - Select the Set as active checkbox if you want this trigger to be active.
- Under When, click the event that will cause the trigger (for example,
Deal is updated
). - Under If, click +Add condition.
- Enter information about the trigger in the following fields:
- Object - Deal is the only object currently supported.
- Field - choose the type of field you want the object to refer to (for example,
Value
). - Operator - choose from the dropdown menu that relates to the field you've chosen (for example,
Is greater than
). - Value - enter the value that relates to your choice from the Field menu (for example
Greater than 1000
)
- Click Add.
Setting the actions of a trigger
After setting the trigger event and conditions, you can determine the actions that will happen if the trigger evaluation is successful.
Actions perform on objects that are the subject of the trigger event and have met the trigger conditions that you specified for it.
You select which fields of an object you want to add values for, or update. For example selecting the “Owner” field and “Valerie Golden” as the value will cause the owner of the deal to change to Valerie Golden every time a trigger event happens and the conditions are met to incur that action.
To create the action for the trigger
- Under Then, click Add action.
- Under Update, in the Object to update field, choose an object from the dropdown menu (Deal is currently the only supported object).
- Under Update field values, enter information about the actions that the trigger will set into motion:
- Field to update - choose from the dropdown menu (for example
Owner
). - Value - choose from the dropdown menu the value that relates to your choice from the Field to update menu (for example the name of the person you want the deal to be owned by)
- Field to update - choose from the dropdown menu (for example
- Add as many relevant fields and values as is necessary for your trigger (up to 200). When you are finished, click Add.
- Click Save.
To avoid repetitive triggers, if trigger A, for example, carries out actions on object B, then object B causes a trigger event and the trigger A conditions are met, you want to ensure that the actions will not be carried out again and again.
The following sample recipe avoids this sort of problem. The sales trigger conditions assign any deal that is updated to a worth of 1,000 or more in value to be assigned to the sales rep in New York, Valerie Golden.
When
Deal is updated
If
(Deal.Value is greater than 1000 AND Deal.Owner is not Valerie Golden)
OR
(Deal.Country is USA AND Deal.Source is Tradeshow AND Win likelihood is greater than 80 AND Deal.Owner is not Valerie Golden)
Then
Update Deal Owner to Valerie Golden
Using 'and' 'or' operators
After you've added the first condition, an AND operator appears beneath it. The operator determines the relationship between conditions. You can set it to AND or change it to OR.
AND - use this operator if you have two or more conditions that must be met for the trigger evaluation to succeed. You can also use the AND operator to connect conditions across clauses.
OR - use this operator when you have two or more conditions in a clause, but only one of the conditions must be met for the trigger to be successful.
The following example, uses a set of conditions that evaluate to true in two independent scenarios:
- 1st scenario: Requires only one condition to be met: if the Deal Value is greater than 1000.
- 2nd scenario: If three conditions are met: the Deal Country is the USA, the Deal Source is a Tradeshow, and the Deal primary contact is VIP Company.
If
Deal.Value is greater than 1000
OR
(Deal.Country is USA AND Deal.Source is Tradeshow AND Deal primary contact is VIP Company)
0 Comments
Please sign in to leave a comment.