I have a Form to Pipedrive Zapier automation, and I want to assign each lead to one of two contact owners randomly. Can Zapier split the leads evenly between the two owners?
Hey
Glad to know you were able to get it sorted! Also, thank you for posting the solution for other members to use.
If you have any other questions, please don’t hesitate to reach out!
Thanks for letting me know, what I ended up doing before seeing this was get a python code that basically gives out the output heads or tales on a random basis and instead of the output being “head” & “tails”. I swapped them to “Contact owner 1” and “Contact owner 2”.
Here’s the code for it incase anyone is looking for it
import random
outcomes = /"contactowner1", "contactowner1"]
result = random.choice(outcomes)
print(result)
Hi there,
You could try adding a Formatter (Numbers > Spreadsheet-Style Formula) action to the Zap to output either 1 or 2. Then use those numbers to determine which owner to assign the lead to. This approach is explained further in a related topic in Community here:
Alternatively, you could set up a Round Robin style of Zap to assign the leads to the different owners. which might be better if you intend on having more owners in the future. We have this help guide on setting up Round Robins as well as an tutorial in Community that you might find useful in setting it up:
Hopefully that helps to point you in the right direction, and please keep us updated on how you get on with this!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.