Migrating from Salesforce to Zoho CRM can be seamless, but what happens when records created post-migration cutoff slip through? In this guide, we'll tackle importing ~900 missed records with attachments, avoiding duplicates, and ensuring data integrity. Whether you're a business user or IT admin, these solutions will get your CRM back on track.
| Component | Detail |
|---|---|
| Scale | ~900 records with attachments |
| Root Cause | Records added to Salesforce after the initial migration cutoff |
| Core Challenge | Zoho's import tool lacks native upsert (update-or-insert) for merging |
| Secondary Challenge | Attachments must link to parent records |
| Constraint | Manual recreation isn't feasible at this scale |
Leverage Zoho CRM's REST API upsert endpoint to insert new records or update existing ones based on duplicate-check fields. This directly addresses the duplication issue.
import requests
import json
headers = {
"Authorization": "Zoho-oauthtoken YOUR_TOKEN",
"X-DUPLICATE-CHECK-FIELDS": "Salesforce_ID"
}
records_payload = {
"data": [
{
"Last_Name": "Smith",
"Email": "smith@example.com",
"Salesforce_ID": "0031000000XXXXX"
}
],
"duplicate_check_fields": ["Salesforce_ID"]
}
response = requests.post(
"https://www.zohoapis.com/crm/v8/Contacts/upsert",
headers=headers,
json=records_payload
)record_id = "ZOHO_RECORD_ID"
files = {'file': open('attachment.pdf', 'rb')}
requests.post(
f"https://www.zohoapis.com/crm/v8/Contacts/{record_id}/Attachments",
headers={"Authorization": "Zoho-oauthtoken YOUR_TOKEN"},
files=files
)Use tools like Skyvia or Trujay for no-code Salesforce-to-Zoho transfers with built-in deduplication.
If records aren't in Zoho, clean your data first to avoid imports.
import pandas as pd
zoho_df = pd.read_csv('zoho_export.csv')
sf_df = pd.read_csv('salesforce_export.csv')
new_records = sf_df[~sf_df['Email'].isin(zoho_df['Email'])]
new_records.to_csv('records_to_import.csv', index=False)Resource: Zoho Import Guide.
For complex migrations, engage experts. Find partners at Zoho Partner Directory. Costs: $500-$3,000.
Attachments are tricky—handle via API or tools. For API method:
| Method | Attachment Support | Effort |
|---|---|---|
| Zoho API | Full control | High |
| Skyvia | Supported | Low |
| Zoho Import | Not supported | N/A |
Do you have a developer?
Start with Zoho CRM at Zoho CRM Signup.
Need expert help? Contact Creator Scripts for Zoho migration services: Creator Scripts Services.
Check our blog for more CRM tips: Creator Scripts Blog.