# Zoho CRM

> Let workflows create and update Zoho CRM records and start when records change.

Source: https://docs.getlinkai.com/integrations/zoho

Zoho CRM connects your CRM to Link AI so [Workflows](https://docs.getlinkai.com/agents/workflows) can create and update records, add notes and tags, convert leads, and start when something changes in Zoho. It works with Zoho CRM accounts in any data center.

## What you can do

**Triggers** (events in Zoho that start a workflow). A webhook is registered automatically for each trigger you use.

| Trigger | When it fires |
|---------|--------------|
| **Record Created** | A new record is created in the module you select (Leads, Contacts, Accounts, Deals, and others). |
| **Field Changed** | A field value changes on a record in the selected module. |
| **Record Deleted** | A record is deleted in the selected module. |
| **Lead Converted** | A lead is converted to a contact, account, or deal. |
| **User Created** | A new active user is added to the connected Zoho CRM org. |

Record triggers include `{{recordId}}`, `{{recordName}}`, `{{email}}`, `{{recordUrl}}`, and field values you can insert as `{{fields.Email}}`.

**Actions**:

| Action | What it does |
|--------|-------------|
| **Create record** | Create a record in a Zoho module and fill in fields. |
| **Update record** | Update fields on an existing record. |
| **Upsert record** | Create or update by a unique field (default Email). |
| **Find record** | Find a record by one or two field values. |
| **Get record** | Load a record by ID. |
| **Add note** | Add a note to a record. |
| **Add / remove tag** | Tag or untag a record. |
| **Convert lead** | Convert a lead to a contact, account, and optional deal. |
| **Relate record** | Link two records (for example, a contact to an account). |
| **Add attachment** | Attach a public file URL to a record. |
| **Delete record** | Permanently delete a record. |

Selectors load your live modules, fields, tags, and related lists, so you don't need Zoho IDs.

## Before you start

- A Zoho CRM user who can see the modules you want to use.
- Permissions requested: read modules and fields, create and update records, add notes, and subscribe to record notifications.

## Connect

### Open the integration
Open **Integrations** → **Zoho CRM** and click **Connect**.

### Approve access
Sign in to Zoho and approve access. You return to Link AI with Zoho connected.

You should see your Zoho modules and fields in workflow triggers and actions.

## Use it in a workflow

A typical pattern: find or create the CRM record, then notify someone or update Link AI.

**New form submission → Zoho lead**

1. Trigger: **Form Submitted**
2. **Upsert record** on Leads, matching Email, with name and source from the form
3. **Send Email via Gmail** to your sales inbox with `{{zoho_record_url}}`

**Zoho deal created → follow up**

1. Trigger: **Zoho CRM Record Created** on Deals
2. **AI Transform**: draft a short congratulations note
3. **Add note** on that deal
4. **Send to Ally**: "A new deal was created: {{recordName}}"

**Tip:**
When you ask Ally to generate the workflow, leave module and field IDs blank. Pick the real module and fields in the editor.

### Action outputs

Use these in later steps and conditions:

| Variable | From |
|----------|------|
| `{{zoho_record_id}}`, `{{zoho_record_url}}`, `{{zoho_record_name}}` | Create, update, upsert, find, get |
| `{{zoho_found}}` | Find / get (true or false) |
| `{{zoho_created}}` | Upsert (true when a new record was created) |
| `{{zoho_note_id}}` | Add note |
| `{{zoho_contact_id}}`, `{{zoho_account_id}}`, `{{zoho_deal_id}}` | Convert lead |
| `{{zoho_attachment_id}}` | Add attachment |
| `{{email}}`, `{{fields.Email}}` | Find / get, and most record triggers |

## Troubleshooting

**Modules or fields don't load**
Reconnect Zoho CRM. Confirm the Zoho user can see those modules in Zoho.

**Trigger never fires**
The workflow must be **Active**. Link AI registers a Zoho webhook for the trigger automatically. If you changed the module, edit and save the trigger.

**Find record returns nothing**
Check the module and the field you search on. Email is the most reliable unique key.

**Wrong data center**
Zoho OAuth follows the account you sign in with. Use the same Zoho org you work in day to day.

## Next steps

**[Workflows](https://docs.getlinkai.com/agents/workflows)**:
Build triggers and actions in the visual editor.

**[Contacts](https://docs.getlinkai.com/products/contacts)**:
See the contact records your conversations create.

**[Custom Connections](https://docs.getlinkai.com/integrations/custom-connections)**:
Call APIs that Zoho doesn't cover.
