Appearance
Zoho CRM Integration
Overview
The Zoho CRM integration allows your MyChatBot agent to create and manage leads, deals, and contacts directly in your Zoho CRM account. This enables your AI assistant to perform CRM operations without human intervention, streamlining your sales process and customer management.
App Creation on Zoho
- Log in to your Zoho CRM account as an administrator and go to Zoho Developer Console - https://api-console.zoho.eu/
- Click Add Client
- Select Server-based Applications

- Fill in the required information:
- Client Name: MyChatBot Integration
- Homepage URL: https://app.mychatbot.app
- Authorized Redirect URIs: https://app.mychatbot.app/integration
- Description: AI assistant integration for Zoho CRM

- Click Create to generate your client credentials
- Copy ClienID and Client Secret
- Check box to allow use the Multi-DC

Creating Integration on MyChatBot
- Navigate to the Integrations tab in your MyChatBot dashboard - https://app.mychatbot.app/integration?integration=Zoho
- Select the agent you want to connect to Zoho CRM

- Scroll down to find Zoho CRM in the integrations list
- Click the Connect button
- You'll need to provide the following credentials:
- Client ID: From your Zoho developer console
- Client Secret: From your Zoho developer console
- Access Token: Generated token for API access
- Refresh Token: Token used to refresh access token when expired

- Click Submit to save your integration
Entities & Data Fields Configuration
After connecting your Zoho account, you'll need to configure which entities and fields your agent can access: 
- In the "Entities & Data Fields Configuration" section, you can:
- Toggle Use Leads to enable lead management
- Toggle Use Deals to enable deal management
- For each entity type, you can select:
- Standard fields from Zoho CRM
- Custom fields that exist in your CRM
- Click Apply fields to save your configuration
Understanding Entity Types
Zoho integration supports multiple entity types:
- Leads: Potential customers who have shown interest
- Deals: Sales opportunities with associated contacts and products
- Contacts: Individual people associated with your leads and deals
Field Types
Each entity has two types of fields:
- Standard Fields: Default fields provided by Zoho
- Custom Fields: User-defined fields specific to your CRM setup
Special Fields
Several special fields require specific attention:
Lead_Status/Status
- For leads: Represents the current stage in the lead pipeline (e.g., "New", "Contacted", "Qualified")
- Must match exactly with statuses defined in your Zoho account
Lead_Source/Source
- Identifies where the lead originated
- Automatically set to "AI-" + name of your assistant
- This helps track which leads came from your AI assistant
Description/Chat Link
- Automatically populated with a link back to the conversation
- This allows your team to review the AI conversation that generated the lead/deal
Closing_Date
- Required for deals in Zoho
- Must be provided in a valid date format when creating deals
Working with Custom Fields
Zoho allows you to create custom fields for specific business needs:
When your agent attempts to use a custom field that doesn't exist:
- The system will attempt to create it automatically
- There is a limit of 10 custom fields per module
- A notification will appear if the field limit is exceeded
Custom field types supported:
- Text fields (up to 150 characters)
- Date fields
- Number fields
- Choice/dropdown fields
Available Tools
After connecting Zoho CRM, your agent will have access to four powerful tools:
1. create_crm_lead
This tool allows your agent to create new leads with the following parameters:
- full_name: Lead's full name (required)
- phone: Lead's phone number
- Status/Lead_Status: Current status in your sales pipeline
- Custom Fields: Any additional fields you've configured
All fields you select in the "Entities & Data Fields Configuration" section will be available as parameters for this function.
When a lead is created:
- The source is automatically set to identify your AI assistant
- A chat link is included for reference
- If a matching phone number is found, a contact is linked
2. edit_crm_lead
This tool enables your agent to update existing leads:
- full_name: Update the lead's name
- phone: Update the lead's phone number
- Status/Lead_Status: Update the lead's status/stage
- Custom Fields: Update any field values as needed
All fields you select in the "Entities & Data Fields Configuration" section will be available as parameters for this function.
3. create_crm_deal
This tool creates new deals with associated contacts:
- full_name: Contact's full name (required)
- phone: Contact's phone number (required)
- Closing_Date: Expected closing date (required)
- Amount: Deal value
- Custom Fields: Any additional fields you've configured
All fields you select in the "Entities & Data Fields Configuration" section will be available as parameters for this function.
When a deal is created:
- A contact is created or found based on phone number
- An account is created or found based on name
- The source is set to identify your AI assistant
- A chat link is included for reference
- If applicable, the existing lead is updated
- The order information is tracked by MyChatBot internal system
4. add_crm_client_contact
This tool enables your agent to add contact information:
- full_name: Contact's full name (required)
- phone: Contact's phone number (required)
All fields you select in the "Entities & Data Fields Configuration" section will be available as parameters for this function.
This tool is useful for capturing contact details even before creating a lead or deal. The client status is tracked by the internal MyChatBot system.
Configuration in Agent Instructions
Creating Leads
Include these examples in your agent's instructions to enable lead creation:
When a new customer contacts us, use create_crm_lead in Zoho with:
- Their full name
- Phone number
- Set status to "New"
- Add any additional information they provide to custom fieldsUpdating Lead Status
Include these examples to enable status updates:
When a customer shows increased interest:
1. Use edit_crm_lead to update their lead status to "Qualified"
2. Add notes about their specific interests
When a customer requests more information:
1. Use edit_crm_lead to update their lead status to "Contacted"
2. Add details about what information they requestedCreating Deals
When a customer is ready to make a purchase:
1. Use create_crm_deal with their contact information
2. Include their full name and phone number
3. Set the closing date to 7 days from today
4. Add the deal amount based on their product selection
5. Include any special requirements in custom fieldsManaging Contacts
When gathering customer information:
1. Use add_crm_client_contact to record their details
2. Ensure you capture their full name and phone number
3. Inform them that their information has been recordedBest Practices
Lead Status Progression: Design your agent to move leads through your sales pipeline logically:
- New leads should start with "New" status
- Progress to "Contacted" after initial conversation
- Move to "Qualified" when specific criteria are met
Data Completeness: Encourage your agent to collect:
- Complete contact information (name, phone, email)
- Specific needs or requirements
- Timeline for purchase decision
Deal Creation Timing: Create deals when:
- Customer shows clear buying intent
- Specific products/services have been selected
- Pricing has been discussed
Custom Field Usage: Use custom fields for:
- Industry-specific information
- Customer preferences
- Special requirements
- Source of referral details
Troubleshooting
Authentication Issues:
- Ensure your access and refresh tokens are current
- If authentication fails, regenerate tokens in Zoho
Field Creation Limits:
- If you hit the 10 field limit, prioritize which fields are most important
- Consider using existing fields for multiple purposes with clear formatting
Data Mapping Problems:
- Ensure field names match exactly between your agent instructions and Zoho CRM
- Check for case sensitivity in field names
Date Format Issues:
- Use standard date formats for Closing_Date (YYYY-MM-DD)
- For future dates, use clear relative instructions in your agent setup