Why Is Data Missing From the COMPANY and LEAD_COMPANY Tables?
Question
Why is data missing from the COMPANY and LEAD_COMPANY tables?
Environment
Connector: Marketo
Answer
We populate the COMPANY and LEAD_COMPANY tables through the following process:
- While syncing the
LEADtable, we check each lead for a value in theexternalCompanyIdfield. If present, we consider the lead associated with a company. - We temporarily store the relationship between each lead ID and its company ID.
- Using the stored company IDs, we query Marketo for additional company details.
- We upsert the company data into the
COMPANYtable and create theLEAD_COMPANYtable based on the lead-to-company mappings.
We can't retrieve company information if the externalCompanyId field is missing or empty in the source data. Consequently, both tables remain empty.