I have to create a complex lead distribution flow and I’m stuck in two steps of the Zap.
The flow is:
- Zap triggers when a Facebook Lead Ad is created.
- JS Script matches the lead with a cluster of partners separated by geolocation.
- Zap must search and return the partner in the cluster that has received the lowest volume of leads.
- Zap must increase by 1 the leads received by this partner.
- Zap must create a new lead assigned to this partner in salesforce.
I am having a hard time to build steps 3 and 4 in Zapier. Does anyone have any idea how to do this?