Contact__cContact__rrelationship toContactobject.Vivint_Employee__cVivint_Employee__rrelationship toVivint_Employee__cobject.Personalized_URL__cFormula field that tacks
Username__conto the end of eitherhttps://referrals.vivintsolar.com/orhttps://referrals.stage.vivintsolar.com/Username__cUnique text field
First_Name__cText field
Last_Name__cText field
Email__cEmail field
Default_Lead_Generator__cDefault_Lead_Generator__rrelationship toVivint_Employee__cobject.Default_Sales_Rep__cDefault_Sales_Rep__rrelationship toVivint_Employee__cobject.
- Create
Referrer__crecord for everyContact- Default the
Username__cfield to the contact email. - Default
Default_Lead_Generator__candDefault_Sales_Rep__cwith sales rep fromOpportunity
- Default the
- Create
Referrer__crecord for everyVivint_Employee__cthat is not a Dealer- Default the
Username__cfield to the employeefirstname.lastname(e.g.alex.ford) - Default
Default_Lead_Generator__candDefault_Sales_Rep__cwith themselves. Circular relationship back to theVivint_Employee__cthisReferrer__crecord is being created for.
- Default the
- Create
Referrer__crecord for everyVivint_Employee__cthat is a Dealer- Default the
Username__cfield to the dealer email address. - Default
Default_Lead_Generator__candDefault_Sales_Rep__cwith themselves. Circular relationship back to theVivint_Employee__cthisReferrer__crecord is being created for.
- Default the
- Create a
Referrer__crecord for any customer Okta record whose email does not match aContactrecord.- Populate
First_Name__c,Last_Name__c, andEmail__ctext fields. - Default
Username__cfield to customer Okta email.
- Populate
- Update
Username__cfields for allReferrer__crecords that have already customized personal URLs in our Amigo CouchDB table.