This Zoho connection allows users to migrate data from Zoho CRM.
This connection type supports the following task types:
This connection can be used in a Data Migration.
| Usable as Source | Usable as Target | Usable as Incremental Source | Usable as Incremental Target |
|---|---|---|---|
| ✔ | ❌ | ❌ | ❌ |
| Template Name | Description |
|---|---|
| Zoho CRM | Zoho CRM configuration requires a Region, Scope, InstanceType, InitiateOAuth, OAuthClientId, OAuthClientSecret, OAuthAccessToken, and OAuthRefreshToken. See more here. |
Important: The authorization code returned in this step is only valid for ten minutes, so you need to exchange it quickly in Step 3.
Construct the authorization URL and open it in your browser:
https://accounts.zoho.com/oauth/v2/auth?
scope=ZohoCRM.modules.READ,ZohoCRM.coql.READ,ZohoCRM.bulk.read,ZohoCRM.users.READ,
ZohoCRM.settings.READ,ZohoCRM.org.READ,ZohoCRM.notifications.READ&client_id=YOUR_CLIENT_ID&response_type=code&access_type=offline&redirect_uri=https://localhost/callback
Key Parameters:
https://accounts.zoho.comhttps://accounts.zoho.euhttps://accounts.zoho.inhttps://accounts.zoho.com.auhttps://accounts.zoho.jphttps://accounts.zoho.com.cnhttps://accounts.zoho.caConstruct the curl command and run it in Windows CMD:
curl -X POST "https://accounts.zoho.com/oauth/v2/token" ^
-H "Content-Type: application/x-www-form-urlencoded" ^
-d "grant_type=authorization_code" ^
-d "client_id=YOUR_CLIENT_ID" ^
-d "client_secret=YOUR_CLIENT_SECRET" ^
-d "redirect_uri=https://localhost/callback" ^
-d "code=AUTH_CODE"
Important Notes:
https://accounts.zoho.comhttps://accounts.zoho.euhttps://accounts.zoho.inhttps://accounts.zoho.com.auhttps://accounts.zoho.jphttps://accounts.zoho.com.cnhttps://accounts.zoho.caThe response will look like this:
{
"access_token":"1000.xxxxxxxx",
"refresh_token":"1000.xxxxxxxx",
"scope":"ZohoCRM.modules.READ ZohoCRM.coql.READ ZohoCRM.bulk.read
ZohoCRM.users.READ ZohoCRM.settings.READ ZohoCRM.org.READ
ZohoCRM.notifications.READ",
"api_domain":"https://www.zohoapis.com",
"token_type":"Bearer",
"expires_in":3600
}
Critical values to save:
The Loome Zoho CRM Connector will use the refresh token to automatically fetch new access tokens when jobs run. While the initial access token must be supplied; it does not matter if it has expired.
Create or update your Zoho CRM connection string with the following properties:
OAuthClientId=YOUR_CLIENT_ID;
OAuthClientSecret=YOUR_CLIENT_SECRET;
OAuthAccessToken=INITIAL_ACCESS_TOKEN;
OAuthRefreshToken=REFRESH_TOKEN;
InitiateOAuth=REFRESH;
InstanceType=Production;
Region=US;
Scope=ZohoCRM.modules.READ,ZohoCRM.coql.READ,ZohoCRM.bulk.read,ZohoCRM.users.READ,
ZohoCRM.settings.READ,ZohoCRM.org.READ,ZohoCRM.notifications.READ;
UseCOQL=false;
APIType=Bulk;
Parameter Details:
Save the connection and you can then use it in tasks.