---
title: "Connect iChatUp to Zoho CRM with Deluge and Webhooks"
url: https://ichatup.com/works-with/zoho-crm
description: "There is no native iChatUp extension for Zoho CRM. Send WhatsApp templates from a Deluge custom function, and bring leads in through a webhook flow."
source: iChatUp
---

Works with

# Using iChatUp with Zoho CRM

There is no native iChatUp extension for Zoho CRM. Zoho can call the iChatUp API itself: a workflow rule runs a Deluge custom function whose invokeurl task posts to the messages endpoint with your key. Leads travel the other way when an automation tool catches the iChatUp webhook and creates Zoho Leads from lead.created events.

## At a glance

|  |  |
| --- | --- |
| Type | Through webhooks and the API |
| Direction | Both |
| Plan | Webhook and API on every iChatUp plan; promotional templates need Marketer |
| Needs | Zoho CRM workflow rules with custom functions; an iChatUp API key |

## Worked example: deal won, welcome on WhatsApp

Create a workflow rule on Deals that fires when the stage becomes Closed Won, and attach a custom function with arguments for the contact’s mobile, first name and deal name:

```
headers = Map();
headers.put("Authorization", "Bearer YOUR_API_KEY");
headers.put("Content-Type", "application/json");
headers.put("Accept", "application/json");
body = Map();
body.put("phone", mobile);
body.put("template", "deal_won_welcome");
body.put("variables", {firstName, dealName});
response = invokeurl
[
    url :"https://ichatup.com/api/v1/messages"
    type :POST
    parameters :body.toString()
    headers :headers
];
info response;
```

The template must be approved first. A success returns status `accepted` and an id you can check later.

## Bringing WhatsApp leads into Zoho

Point an automation tool’s [webhook](https://ichatup.com/glossary/webhook) trigger at iChatUp. On `lead.created`, search Zoho Leads by mobile and create the lead if it is missing, with Lead Source set to WhatsApp. On `conversation.needs_person`, create a Zoho task for the lead owner holding `data.reason` and `data.reply_link`.

## Practical notes

Keep the key in a Zoho connection or an encrypted variable rather than pasted into many functions. If the function may run twice for the same deal, add an `Idempotency-Key` header built from the deal id; see [idempotency](https://ichatup.com/docs/idempotency).

## Questions

**Can Zoho’s workflow webhook action call iChatUp directly?**

A custom function is the dependable route, because it controls the exact headers and JSON body the iChatUp API expects.

**Will Zoho see every WhatsApp message?**

No. It receives the business events iChatUp sends, such as new leads and hand-over requests, not each chat line.

## Read next

- [Send a template message](https://ichatup.com/docs/messages)
- [Idempotency](https://ichatup.com/docs/idempotency)
- [HubSpot](https://ichatup.com/works-with/hubspot)
- [Zapier](https://ichatup.com/works-with/zapier)
- [Make](https://ichatup.com/works-with/make)
- [n8n](https://ichatup.com/works-with/n8n)

---
Source: https://ichatup.com/works-with/zoho-crm
