DocTransform

Salesforce won't import your leads file?

Fix the errors Salesforce shows when importing leads, then import clean every week.

Required fields are missing

REQUIRED_FIELD_MISSING:Required fields are missing: [Fieldname__c]:FieldName__c --
Salesforce help centre

Invalid email format

Enter an email address that matches the format myemail@company.com
Salesforce help centre

What Salesforce's importer checks

  • Every field your org marked required must have a value. Salesforce help centre

    we point out a blank in a column you mark required in the Health panel’s Configure Field step

  • Each email address must match name@example.com. Salesforce help centre

    we point out an invalid address once you mark the column required; typing "clean the Email column" trims spaces and fixes case, but a badly-formed address is yours to fix

  • Dates must be YYYY-MM-DD or MM/DD/YYYY. Salesforce help centre

    DocTransform fixes this: type "format date as YYYY-MM-DD"

  • Up to 90 fields per record; the file up to 100 MB; each record up to 400 KB; 50,000 records per import. Salesforce help centre

Before and after

12,480 leads

crm_leads_export.csv
CompanyEmailSignedCountry
Acme GmbH 1 Lena@ACME.example207.03.20263DE
Acme GmbH4lena@acme.example7 Mar 2026DE
Nord ASole.berg@nord.example2026-03-09NO
Brio Studioanna.rossi@brio.example2026-03-10IT
Kaya Retailjames.kaya@kaya.example2026-03-11GB
Moreau et Filschloe.moreau@moreau.example2026-03-12FR
Delta Logisticstom.bakker@delta.example2026-03-13NL

    Fix it by hand in Excel or Sheets

    1. Trim the stray spaces in Company and Email with TRIM(), then paste the values back over the column.
    2. Rewrite every date as YYYY-MM-DD by hand, or reformat the column with Format Cells → Custom → yyyy-mm-dd.
    3. Sort by Email and delete the duplicate row underneath each repeat.
    4. Check each email address by eye for a missing @ or domain, and fix it directly in the cell.

    Fix it in DocTransform

    1. 1. Upload crm_leads_export.csv into DocTransform.
    2. 2. Apply the fixes: type "clean the Company and Email columns" to trim stray spaces and fix case, "format date as YYYY-MM-DD" for Signed, and "remove duplicates by Email" to drop the repeat lead.
    3. 3. Download the cleaned file as CSV, ready for Salesforce’s importer.

    Save this fix once, then rerun it on next week’s export with one click.

    Questions

    Does DocTransform split my file if it's over Salesforce's limits?
    No — DocTransform doesn't split files. If your export is over 50,000 records or 100 MB, split it by hand before uploading.
    Will DocTransform know which fields Salesforce requires?
    No — DocTransform doesn't know Salesforce's schema. Tell it which fields are required in the Health panel, and it flags the blanks for you.
    Can I reuse this fix next time I export leads?
    Yes — save it once in DocTransform and rerun it on next week’s export.
    Fix your Salesforce file free

    Free plan, no card required.

    Salesforce, HubSpot, Shopify and QuickBooks are trademarks of their owners. DocTransform is not affiliated with them.