Skip to main content

Zoho

What it does​

Sends new submissions of a form to Zoho in one or both of two ways: as a lead in Zoho CRM, and as a ticket in Zoho Desk. You switch each on per form.

What Zoho receives:

  • CRM lead: the email address, the first and last name, the Lead Owner and Lead Source you chose, and the fields you map. The name comes from the customer account when a signed-in customer sends the form. For a guest, the submitter name of the form goes in the last name, or Guest when the form has none. See Submission Identity in Form settings.
  • Desk ticket: the submission title as the subject, with the reference number in front when the form has one (a field with Hide in Submissions only when its Allow in Staff Email Subject is on); the email address; the department, status, owner, channel, classification, priority and language you chose; and the fields you map. The ticket's description is the whole submission: every answer except those of fields with Hide in Submissions switched on, including answers of fields you deleted from the form later. When Contact is -- Auto --, the visitor's name and email are sent as the ticket's contact.
  • Files: a File or Image field you map to a file field in Zoho is uploaded with the record. In Zoho CRM, a field mapped to Lead Image becomes the lead's picture. In Zoho Desk, map files to File Attachments.

A field with Hide in Submissions stays in the ticket's subject when its Allow in Staff Email Subject is on, as in the subject of emails to your team. With Contact set to -- Auto --, Zoho Desk opens the ticket in the visitor's name. Switch that setting on only for a value the visitor may see.

To keep an answer out of a Desk ticket, switch on Hide in Submissions for its field and leave Allow in Staff Email Subject off. That also hides the answer wherever a submission is displayed: in the admin, the customer account, emails and PDFs. See General field settings.

Install​

composer require mageme/module-webforms-addon-zoho
bin/magento setup:upgrade

Settings​

Connect your Zoho account​

Go to Stores → Configuration → MageMe Extensions → WebForms, expand Integrations, then Zoho:

  1. In Domain, select the Zoho data centre your account is in: US, AU (Australia), EU, IN (India), CN (China), JP (Japan), CA (Canada), SA (Saudi Arabia), UK or AE (UAE). WebForms talks to Zoho only over HTTPS, and follows at most three redirects, also over HTTPS only.
  2. Enter the Client ID and Client Secret of the client you registered with Zoho, and the Code you generated there with the scopes listed under Code.
  3. Click Save Config, then click Generate Token. WebForms fills Token.
  4. Click Check Availability in the Zoho CRM and Zoho Desk rows to check that WebForms can reach each service.

The connection is the same for every store view. See Settings: Integrations for the duplicate protection of leads.

Choose what a form sends​

  1. Go to Content → WebForms → Manage Forms and click the form's name.
  2. Under Form Information, click Zoho CRM Integration Settings to create leads, or Zoho Desk Integration Settings to create tickets.
  3. Select Yes in Create CRM Lead or Create Desk Ticket.
  4. In Customer Email, keep Default or pick the form's email field. Default is the address in the form's Submitter Email setting, or the customer account's address.
  5. For a lead, pick the Lead Owner and Lead Source. For a ticket, pick the Department and the other ticket settings.
  6. Under Fields Mapping, click Add for each Zoho field you want to fill. Pick it in Zoho CRM Lead Attribute or Zoho Desk Ticket Attribute, and the form field in Field.
  7. Click Save.

The attribute lists always offer Zoho's standard fields, such as Company and Phone for a lead or Phone Number and Category for a ticket. Owners, sources, departments and your own fields come from your Zoho account: on a saved form, click Refresh Lists in the section to load them. Until then the section says "Lists load after Refresh Lists."

Zoho CRM Integration Settings before the lists are loaded: Refresh Lists with its notice, empty Lead Owner and Lead Source, Fields Mapping with Add

How it works​

When a visitor submits the form, WebForms saves the submission and then queues it for Zoho, once for the lead and once for the ticket. The queue is worked through by Magento's scheduled tasks (cron), so the records appear in Zoho shortly after the visit. A form set to Do Not Store Submissions sends during the visit instead. Editing a submission later doesn't send it again. A ticket needs a Department: without one, the ticket is skipped.

To send submissions that already exist, or to send one again:

  1. Go to Content → WebForms → Manage Forms.
  2. In the form's row, click Select in the Actions column, then click Browse Results.
  3. Select the checkboxes of the submissions.
  4. Click Actions, then Create Zoho CRM Lead or Create Zoho Desk Ticket, and confirm.

WebForms reports how many submissions were sent, skipped and failed. Each action is in the menu only while that part is switched on for the form and the connection is saved, and only for admins with the Edit Result permission.

A repeated send creates a second lead unless Deduplicate Leads by External Key is Yes in the store configuration. A repeated ticket send creates a second ticket.

To check that it worked, look for the lead or ticket in Zoho. WebForms doesn't mark a submission as sent.

Troubleshooting​

  • Nothing reaches Zoho. Check that Create CRM Lead or Create Desk Ticket is on for the store view the form was sent from. In the store configuration, click Check Availability for the service. Ask whoever runs your server to check that Magento cron is running and to search Magento's system log for "Zoho" in any letter case. The lines about sending start with "WebForms integration" and name the service in lowercase.
  • Zoho no longer accepts the token. Generate a new Code in Zoho, enter it, click Save Config and Generate Token, then send the waiting submissions again from the list.
  • Zoho refused the record, for example because a required field is empty. WebForms doesn't try again. Map a form field to the missing Zoho field, save, and send the submission again from the list.
  • Zoho didn't answer, or answered with a server error or "too many requests". WebForms tries again, up to three tries in all, waiting longer before each one. After the third failure it gives up and writes an error to the log.
  • A list in the form's settings is empty. Click Refresh Lists. If a message says the lists couldn't be refreshed, check the connection with Check Availability.

What's next​

Applies to WebForms 4Last reviewed November 24, 2026