> For the complete documentation index, see [llms.txt](https://docs.fastn.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fastn.ai/connectors/catalog/crm-sales/zoho-crm.md). Agents can also search and read this documentation through its [MCP server](https://docs.fastn.ai/~gitbook/mcp).

# Zoho CRM

Zoho CRM is a cloud CRM. Create, update and delete leads, contacts, accounts, deals, tasks and notes.

![Zoho CRM logo](https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-3cb8f1a589d01e1c4bc85260ff48cf872dde268b%2Fzoho-crm.png?alt=media)

|                    |                                                                          |
| ------------------ | ------------------------------------------------------------------------ |
| **Category**       | [CRM and sales](https://docs.fastn.ai/connectors/catalog/crm-sales.md)   |
| **Website**        | [zoho.com](https://zoho.com)                                             |
| **Authentication** | OAuth 2.0                                                                |
| **Slug**           | `zohoCrm`                                                                |
| **On fastn.ai**    | [Embed Zoho CRM in your product](https://fastn.ai/integrations/zoho-crm) |

## Setup guide

This guide shows you how to register your own Zoho CRM OAuth client in the Zoho API Console and add it to Fastn, so your customers sign in to Zoho CRM through your app.

### Before you start

* You need the Owner, Admin or Developer role in Fastn.
* You need a Zoho account that can sign in to the Zoho API Console at <https://api-console.zoho.com/>.
* Have Fastn's redirect URL ready: `https://oauth.live.fastn.ai`

### Create your Zoho CRM app

1. Go to the Zoho API Console at <https://api-console.zoho.com/> and click **GET STARTED** (or **Add Client** if you already have clients).
2. Choose the **Server-based Applications** client type and click **CREATE NOW**.

<figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-8f36045fbeecc6e0c68b247e9de797a058a46bbe%2Fclient-type.png?alt=media" alt="Choose Server-based Applications as the client type"><figcaption><p>Choose Server-based Applications as the client type</p></figcaption></figure>

3. Fill in the client details:
   * **Client Name**: a name your customers will recognize, such as your product name.
   * **Homepage URL**: your product's website.
   * **Authorized Redirect URIs**: enter `https://oauth.live.fastn.ai` exactly, with no trailing slash.

<figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-79cf2957c82cc3691bf0df566a9d6f2922beecb1%2Fcreate-app.png?alt=media" alt="The Create New Client form with the Fastn redirect URI"><figcaption><p>The Create New Client form with the Fastn redirect URI</p></figcaption></figure>

4. Click **CREATE**. You can check or change the redirect URI later on the client's **Client Details** tab.

<figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-56f37b36edd167419b50bb560cbbeb7231ac5c47%2Fredirect-url.png?alt=media" alt="The client&#x27;s Client Details tab with the authorized redirect URI"><figcaption><p>The client's Client Details tab with the authorized redirect URI</p></figcaption></figure>

5. Open the **Client Secret** tab and copy the **Client ID** and **Client Secret**. Keep the secret private.

<figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-ab36368aabee8255805cfde545e4bddf54c658f2%2Fcredentials.png?alt=media" alt="The Client Secret tab, where the Client ID and Client Secret are shown"><figcaption><p>The Client Secret tab, where the Client ID and Client Secret are shown</p></figcaption></figure>

6. Note the scopes Fastn requests for Zoho CRM. Zoho takes scopes on the sign-in request, so you add them in Fastn in the next section:
   * `ZohoCRM.modules.ALL`
   * `ZohoCRM.settings.ALL`
   * `ZohoCRM.users.ALL`
   * `ZohoCRM.org.ALL`

### Add your app to Fastn

1. In Fastn, go to **Build → Integrations → Connectors** and open **Zoho CRM**.
2. Open the **Auth** tab and click **Manage providers**.

<figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-3ede06b5cc4ded5963757ae1ea7714f26d4a44e1%2Fauth-tab.png?alt=media" alt="The connector&#x27;s Auth tab with Manage providers"><figcaption><p>Open the connector's Auth tab, then Manage providers.</p></figcaption></figure>

3. Click **+ Create Provider**.
4. In the **New Auth Provider** form, enter a **Name** and an optional **Description**, then paste the **Client ID** and **Client Secret** you copied from Zoho.
5. In **Scopes**, add `ZohoCRM.modules.ALL`, `ZohoCRM.settings.ALL`, `ZohoCRM.users.ALL` and `ZohoCRM.org.ALL`.

<figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-3397dfe36d6198ebc9ac3ea4f1708dbe1099ca0e%2Fnew-auth-provider.png?alt=media" alt="The New Auth Provider form"><figcaption><p>The New Auth Provider form: paste your app's Client ID and Client Secret.</p></figcaption></figure>

6. Save the provider, then choose **Use this app** so it becomes the Preferred app.
7. In your widget, set the Zoho CRM connector's **Auth provider** setting to your app instead of **Use platform default**.

Customers who connect without your own app sign in through Fastn's shared Zoho CRM app.

### Connect in Fastn

Your customers connect Zoho CRM from your widget. To connect an account yourself:

1. Go to **Build → Integrations → Connectors** and search for **Zoho CRM**.
2. Select **Connect** on the Zoho CRM card.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-586dd03cdc0c6904263f58928d7a531eae2f85df%2Fconnect-search.png?alt=media" alt="The Connectors page in Fastn with ServiceNow typed in the search box and the ServiceNow card showing a Connect button"><figcaption><p>Search for the connector, then select Connect on its card. ServiceNow is shown here.</p></figcaption></figure>
3. Keep the **Default** auth provider, or choose your own OAuth app if you added one. Pick the **Scopes** you need, select **Authorize**, then sign in to Zoho CRM and approve access in the window that opens.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-0e2bbdd7109cec207402cf6883484b8525b7fbf5%2Fconnect-oauth.png?alt=media" alt="The Connect Salesforce dialog for OAuth 2.0 with the Default auth provider, an optional account name, the Scopes selector and an Authorize button"><figcaption><p>A connect form for OAuth 2.0. Salesforce is shown here.</p></figcaption></figure>
4. Check that the connection appears under **Operate → Connections** with the status `Active`. Your workflows can now use Zoho CRM's actions.

For more detail, see [Connect an app](https://docs.fastn.ai/build/integrations/connectors/connect-an-app.md).

## Actions

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Create Account</td><td><code>createAccount</code></td><td>Create an Account record. Account_Name is required; all other fields optional and omitted from the request when not supplied.</td></tr><tr><td>Create Contact</td><td><code>createContact</code></td><td>Create a Contact record. Last_Name is required; all other fields optional and omitted when not supplied.</td></tr><tr><td>Create Deal</td><td><code>createDeal</code></td><td>Create a Deal record. Deal_Name and Stage are required; all other fields optional and omitted when not supplied.</td></tr><tr><td>Create Lead</td><td><code>createLead</code></td><td>Create a Lead record. Last_Name and Company are required; all other fields optional and omitted when not supplied.</td></tr><tr><td>Create Note</td><td><code>createNote</code></td><td>Create a Note record. Pass a 'record' object (Note_Title, Note_Content, Parent_Id, se_module). To attach to a record set Parent_Id + se_module (Leads/Accounts/Contacts/Deals).</td></tr><tr><td>Create Task</td><td><code>createTask</code></td><td>Create a Task record. Subject is required; all other fields optional and omitted when not supplied.</td></tr><tr><td>Delete Account</td><td><code>deleteAccount</code></td><td>Delete an Account by ID.</td></tr><tr><td>Delete Contact</td><td><code>deleteContact</code></td><td>Delete a Contact by ID.</td></tr><tr><td>Delete Deal</td><td><code>deleteDeal</code></td><td>Delete a Deal by ID.</td></tr><tr><td>Delete Lead</td><td><code>deleteLead</code></td><td>Delete a Lead by ID.</td></tr></tbody></table>

<details>

<summary>View 18 more actions</summary>

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Delete Note</td><td><code>deleteNote</code></td><td>Delete a Note by ID.</td></tr><tr><td>Delete Task</td><td><code>deleteTask</code></td><td>Delete a Task by ID.</td></tr><tr><td>Get Record</td><td><code>getRecord</code></td><td>Retrieve a single record by id from any Zoho CRM module, such as Leads, Contacts, Accounts, Deals, Tasks or Notes.</td></tr><tr><td>Get Users</td><td><code>getUsers</code></td><td>List org users. Pass type = AllUsers, ActiveUsers, DeactiveUsers, etc.</td></tr><tr><td>List Accounts</td><td><code>listAccounts</code></td><td>List Account records with pagination.</td></tr><tr><td>List Contacts</td><td><code>listContacts</code></td><td>List Contact records with pagination.</td></tr><tr><td>List Deals</td><td><code>listDeals</code></td><td>List Deal records with pagination.</td></tr><tr><td>List Leads</td><td><code>listLeads</code></td><td>List Lead records. Returns a page of records with pagination info.</td></tr><tr><td>List Modules</td><td><code>listModules</code></td><td>List all modules available in the Zoho CRM org (metadata).</td></tr><tr><td>List Notes</td><td><code>listNotes</code></td><td>List Note records with pagination.</td></tr><tr><td>List Tasks</td><td><code>listTasks</code></td><td>List Task records with pagination.</td></tr><tr><td>Search Records</td><td><code>searchRecords</code></td><td>Search records in a Zoho CRM module by criteria, email address, phone number or a free-text word. Exactly one of criteria, email, phone or word must be supplied.</td></tr><tr><td>Update Account</td><td><code>updateAccount</code></td><td>Update an Account by ID. Only the fields you supply are sent, so this is a partial update.</td></tr><tr><td>Update Contact</td><td><code>updateContact</code></td><td>Update a Contact by ID. Only the fields you supply are sent, so this is a partial update.</td></tr><tr><td>Update Deal</td><td><code>updateDeal</code></td><td>Update a Deal by ID. Only the fields you supply are sent, so this is a partial update.</td></tr><tr><td>Update Lead</td><td><code>updateLead</code></td><td>Update a Lead by ID. Only the fields you supply are sent, so this is a partial update.</td></tr><tr><td>Update Note</td><td><code>updateNote</code></td><td>Update a Note by ID. Only the fields you supply are sent, so this is a partial update.</td></tr><tr><td>Update Task</td><td><code>updateTask</code></td><td>Update a Task by ID. Only the fields you supply are sent, so this is a partial update.</td></tr></tbody></table>

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.fastn.ai/connectors/catalog/crm-sales/zoho-crm.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
