Lead object in Salesforce represents a potential buyer.
Required fields:
- LastName (required by Salesforce)
- Company (required by Salesforce)
- Email (required by PowerSync)
- Magento Website (required by PowerSync)
Info | ||
---|---|---|
| ||
If person account record types have been enabled, and if the value of Company field is null, the lead converts to a person account. |
Logic:
Primary goal is to find all Leads where "Email" field matches an email address of a Lead in Salesforce OR if a Lead exist where Magento ID field matches the Magento ID field value of a customer in Magento.
...