Skip to main content
The Zoho CRM integration allows you to connect your Zoho CRM account and import your existing data (contacts, deals, tickets, notes, and activities) into G-Tateth CRM.
All API endpoints are documented in the API Reference tab. This guide focuses on concepts, workflows, and integration examples.

Overview

With the Zoho CRM integration, you can:
  • Connect Zoho Accounts - Securely connect multiple Zoho CRM accounts via OAuth 2.0
  • Import Historical Data - Import contacts, deals, tickets, notes, and activities
  • Data Mapping - Automatic mapping of Zoho fields to G-Tateth CRM entities
  • Incremental Imports - Import data for specific date ranges
  • Progress Tracking - Monitor import progress in real-time

How It Works

Data Flow

  1. Connect: Authorize G-Tateth to access your Zoho CRM account
  2. Configure: Choose what data to import (contacts, deals, tickets, etc.)
  3. Import: Data is imported asynchronously in the background
  4. Monitor: Track progress and review results

Data Mapping

Zoho Contacts → G-Tateth Customers
  • Email, name, phone, company information
  • Custom fields preserved in customFields.zoho_*
Zoho Deals → G-Tateth Conversations
  • Deal name becomes conversation subject
  • Deal stage mapped to conversation status
  • Deal amount stored in metadata
  • Notes imported as messages
Zoho Tickets → G-Tateth Conversations
  • Ticket subject becomes conversation subject
  • Ticket status and priority mapped
  • Description and notes imported as messages

Complete Integration Flow

Here’s the complete flow for integrating Zoho CRM via API:
  1. Get OAuth URLGET /api/zoho/connect
  2. Redirect user → User authorizes in Zoho
  3. OAuth callback → Integration is created automatically
  4. Get Integration IDGET /api/zoho/integrations to retrieve the _id
  5. Use Integration ID → Use _id in all subsequent API calls

Quick Start

1. Connect Your Zoho Account

You can connect Zoho CRM through: Dashboard UI:
  1. Go to Apps → Integrations
  2. Click Connect Zoho CRM
  3. Authorize access in Zoho
  4. Integration is connected automatically
API:
Getting the Integration ID: After the OAuth callback completes, call GET /api/zoho/integrations to retrieve the newly created integration. Use the _id field as the integration_id in subsequent API calls.

2. Get Integration ID

After connecting, you need the integration_id to perform operations. Get it by listing all integrations:
Response:
Multiple Integrations: If you have multiple Zoho accounts connected, you’ll see multiple items in the array. Use the _id of the integration you want to work with.

3. Start Importing Data

Once you have the integration_id, you can import your Zoho data: Via Dashboard:
  1. Go to Settings → Integrations → Zoho
  2. Click Start Import
  3. Select what to import (contacts, deals, tickets, etc.)
  4. Optionally set a date range
  5. Click Start Import
Via API:

4. Monitor Import Progress

Imports run asynchronously. Check status:
Response includes:
  • Current status (idle, in_progress, completed, failed)
  • Progress metrics (total, processed, successful, failed)
  • Results (customers created, conversations created, messages created)
  • Any errors encountered

Import Options

What Can Be Imported

  • Contacts → Customers in G-Tateth
  • Deals → Conversations (sales pipeline)
  • Tickets → Conversations (support cases)
  • Notes → Messages in conversations
  • Activities → Call logs and tasks (optional)

Date Range Filtering

Import only data from a specific time period:
Use Cases:
  • Incremental Imports: Import only recent data
  • Historical Import: Import all historical data (omit dateRange)
  • Testing: Import small date range to test before full import

Selective Import

Choose what to import:

Data Mapping Details

Contacts → Customers

Deals → Conversations

Tickets → Conversations

Workflows

Complete Integration Flow (API)

Here’s a complete example showing how to connect and use Zoho integration via API:
Server-Side Flow: If you’re building a server-side integration, you’ll need to:
  1. Store the state parameter when initiating OAuth
  2. Set up a webhook or polling mechanism to detect when OAuth completes
  3. Call GET /api/zoho/integrations to retrieve the new integration ID

Full Historical Import

Import all data from Zoho:

Incremental Import

Import only recent data:

Testing Import

Test with a small dataset first:

Managing Integrations

List All Integrations

Get Integration Details

Disconnect Integration

Best Practices

1. Test Before Full Import

Always test with a small date range first:

2. Monitor Progress

Poll the status endpoint every 3-5 seconds during import:

3. Handle Errors

Review the errors array in the status response:

4. Use Date Ranges for Large Imports

For accounts with thousands of records, use date ranges to import in batches:

5. Preserve Data Integrity

  • Don’t re-import: Re-importing the same data creates duplicates
  • Check before import: Review what will be imported
  • Backup first: Ensure you have backups before large imports

Troubleshooting

Import Stuck or Slow

  • Large datasets: Use date ranges to import in smaller batches
  • Rate limits: Zoho API has rate limits; imports may take time
  • Check status: Use the status endpoint to see current progress

Missing Data

  • Check date range: Ensure date range includes the data you want
  • Verify Zoho access: Ensure integration has proper permissions
  • Review errors: Check the errors array in status response

OAuth Issues

  • Reconnect: Disconnect and reconnect the integration
  • Check permissions: Ensure Zoho app has required scopes
  • Verify redirect URI: Ensure redirect URI matches Zoho app settings

API Reference

For complete API endpoint documentation, see the API Reference tab. Key endpoints:
  • GET /api/zoho/connect - Initiate OAuth flow
  • GET /api/zoho/integrations - List integrations
  • POST /api/zoho/integrations/:id/import - Start import
  • GET /api/zoho/integrations/:id/import/status - Get import status
  • GET /api/zoho/integrations/:id/import/history - Get import history

Support

Questions about Zoho integration?
  • Email: api-support@g-tateth.com
  • Documentation: https://docs.g-tateth.com
  • API Reference: See the API Reference tab for endpoint details