If Then Statements?
I'm trying to build a custom field with a IFF statement….not sure if this is possible in Pipedrive.
Basically if the Deal Orgin is X then multiply deal value by 123, if not then mulitply deal value by 234.
Comments
-
Hi @Dustin , automation branching is coming very soon, which will allow for this kind of setup. Your feedback has been sent to our product team.
0 -
This is quite tricky to do in the current Pipedrive automations system, but one approach is this:
- Create a custom data field called "Value Multiplier" (numerical)
- Set your current deals to have a value for this field
- Create another custom field "Calc Value" (monetary)
- Tick "Apply formula to deals" and in formula you want to use #Deal value * #Deal Value Multiplier
- Tick the last box as long as you have a value for Value Multiplier in every existing deal.Then you want to setup 2 automations:
- When Deal Updated
- Instant condition - Deal Origin is X
- Update Deal fields
- Value Multiplier to YThere's no "Else" so you just save this automation, duplicate it, and change the values of X and Y.
Then you make a 3rd automation that is triggered when Deal Updated, and condition Calc Value is changed, and update Value to Calc Value's value.1