Using Zoho CRM Skill to Build Widgets

Using Zoho CRM Skill to Build Widgets


Hello everyone!
Welcome back to another exciting Kaizen post.
In the previous Kaizen posts, we introduced the zoho-crm skill.md and explored how it can help with Zoho CRM APIs, Client Scripts, complex COQL queries, and Skill to build Queries.

In this post, we will use the Zoho CRM skill to build a complete Zoho CRM Widget: a sales pipeline visualization that opens in a Zoho CRM Web Tab. The Widget retrieves Deal data, displays key metrics, and visualizes the pipeline using charts and filters.

Table of Contents

  1. Prerequisites
  2. What is a Zoho CRM Widget?
  3. Use Case
  4. New to Zoho CRM Skill?
    1. Creating the Widget with the Zoho CRM Skill- Prompt
    2. Preparing the Widget Workspace Automatically
    3. What Happens After You Submit the Prompt?
  5. Testing the Widget Locally
  6. Registering the Widget in Zoho CRM
  7. The Final Result
  8. Packing the Widget for Internal Hosting
  9. Conclusion
  10. Related Links

Prerequisites

Make sure that:
  1. Node.js and npm installed.
  2. Developer permissions enabled for your Zoho CRM profile.
  3. Permission to create Widgets in Zoho CRM.
  4. An AI coding agent with the zoho-crm skill installed.

What is a Zoho CRM Widget?

A Zoho CRM Widget is an embedded, iframe-based user interface built using HTML, CSS, and JavaScript.

Widgets can be used in several CRM locations, including:
  1. Web Tabs
  2. Dashboards
  3. Custom Buttons
  4. Custom Related Lists
  5. Wizards
  6. Blueprints
  7. Signals
  8. Settings
In this post, we will use the Web Tab placement.

Web Tab - Widget

A Web Tab allows us to open a custom interface from the CRM navigation menu. This makes it suitable for a full-page sales pipeline experience. The completed Web Tab will look like a dashboard, but it will be opened as a Web Tab Widget, not placed inside a CRM Dashboard.

Use case

Sales managers often need an overview of their pipeline without opening several modules and reports.
For this demonstration, we will build a Web Tab called Data Visualization.

The Widget will display:
  1. Total number of Deals
  2. Total pipeline amount
  3. Deals grouped by Stage
  4. A Deal Stage funnel chart
  5. Closing Date filters
  6. Pipeline filters
  7. A relationship graph connecting Deals to their related Accounts and Contacts through CRM lookup fields, with zoom/pan, hover tooltips showing a record's key details, and click-to-open navigation into the record's CRM module
  8. Loading, empty, and error states
  9. An Apply button that refreshes the funnel and graph together.
The Widget will retrieve data from these CRM modules:
  1. Deals
  2. Accounts
  3. Contacts
For this use case, the skill identifies Widget as the appropriate primitive because we need a custom user interface embedded within Zoho CRM.

New to Zoho CRM skill?

If you are new to the skill, see Kaizen #258: Getting Started with zoho-crm SKILL.md for an overview of supported agents, installation options, and project- or global-level installation.

Creating the Widget with the Zoho CRM skill

Prompt
Here, /zoho-crm is the skill. 
Quote
/zoho-crm  Build a Web Tab Widget called "Data Visualization Sandbox" that shows a Deals-by-Stage funnel and a graph of how Deals relate to Accounts and Contacts, with Closing Date and Pipeline filters.

Interaction requirements for the relationship graph:
  1. Support zoom in/out and pan
  2. On hover over a node, show a popup with the record's key details
  3. On click, navigate to/open that record in its respective CRM module
This prompt specifies the Widget placement, data source, functionality, and development workflow. 

Note: The developer must still review the generated code, verify API names, test the Widget, and configure the Web Tab in Zoho CRM.

The following video shows the prompt being submitted and the skill building the Widget.
View the video in full-screen mode


Preparing the Widget workspace automatically

You do not run the following commands yourself before prompting the agent. The zoho-crm skill's Widget workflow runs them automatically as its first step and informs you as each step completes.
  1. zet --version: Checks whether the ZET CLI is already installed
  2. npm install -g zoho-extension-toolkit: Installs the CLI, but only runs if the version check shows it's missing.
  3. zet init: Creates the Widget project, selects Zoho CRM as the service, and derives the project name from the Widget name specified in the prompt.  In this example, the project name is Data_Visualization.
  4. zet validate: After creating the Widget, the Skill automatically validates it using the zet validate command while processing your prompt. You do not need to run the validation command manually. The validation checks the Widget code and configuration for errors, structural issues, and rule violations.
Points to remember: 
  1. Zoho CRM skill  automatically handles the ZET CLI setup and Widget project initialization required for the Widget workflow.
  2. For manual initialization and execution of Widget, refer to the Kaizen index for Zoho CRM Widgets.

What happens after you submit the prompt?

After you submit the prompt, the AI coding agent uses the zoho-crm skill's Widget guidance to implement the requested functionality in your local project. The agent may ask for permission to create or modify files or run commands. Once you approve the requested permissions, it proceeds with the implementation.

The project structure may look like this:

The key files include widget.html, app.js, and style.css; D3.js is included under vendor. Review the code to confirm the requested functionality is implemented. The folder structure alone does not verify that the Widget works as expected.

You can see the important code here.

Testing the Widget locally

From the project directory, start the local development server: zet run

ZET will display a local URL, similar to http://127.0.0.1:5000/app/widget.html. Use the URL shown in your terminal, the address or port may differ.

To test CRM data access and the embedded SDK, register the local URL in Zoho CRM using External Hosting, then open the Widget from CRM. Opening the URL directly in a browser is useful for basic UI checks, but CRM features may require the Widget to run inside CRM.

At this stage, verify that:
  1. The Widget loads without a blank screen.
  2. The loading state is displayed.
  3. CRM data is retrieved.
  4. Key Performance Indicators (KPI) values are shown.
  5. Filters update the results.
  6. The funnel renders correctly.
  7. The relationship graph is readable.
  8. Empty and error states behave as expected.

During development, register the Widget in CRM using External Hosting so that you can test it within the CRM environment.

Registering the Widget in Zoho CRM

After the local Widget is ready:
  1. Open Setup in Zoho CRM.
  2. Go to Developer Hub.
  3. Open Widgets.
  4. Select Create Widget.
  5. Enter Data Visualization as the name.
  6. Select Web Tab as the placement.
  7. Choose External Hosting.
  8. Enter the local Widget URL.
  9. Save the Widget.


Associate the created Widget with the Web Tab
Go to Setup > Customization > Web Tab:
View the video in full-screen mode


The Final Result

The Widget can then be opened from the CRM navigation menu as a Web Tab. The important distinction is that this is a Web Tab Widget. It is not added as a component inside the CRM Dashboard.
Open the new Web Tab and test the complete experience.
View the video in full-screen mode


The final result is a custom sales pipeline workspace that runs inside Zoho CRM without requiring users to switch to another application.

Packing the Widget - only for internal hosting

Once the Widget has been successfully validated, ask the Skill to pack it. For example: Pack the widget for internal hosting.

The SKILL validates the project and packages it for you, using the correct command(zet pack). You don't need to know or run any commands yourself.


Note: 
  1. You only need to ask the Skill to pack the Widget if you plan to switch it to Internal Hosting. CRM requires a ZIP file to be uploaded for Internal Hosting.
  2. If you continue using External Hosting, as described in this post, you can skip the packaging step. The Widget configuration will continue to point to your running server URL.
  3. The zet pack command creates a ZIP archive, typically in the dist directory. You can upload this ZIP file in the Widget configuration when switching from External Hosting to Internal Hosting.

Automatically handled by Skill
  1. Setting up the ZET CLI
  2. Creating the widget project
  3. Writing the widget code
  4. Validating the widget
  5. Packing it for Internal Hosting (on request)
Developer/user handles
  1. Review generated code
  2. Test the Widget
  3. Configure/register the Widget in CRM
  4. Upload the generated ZIP (from the dist folder) in the Widget configuration if Internal Hosting is required.

Conclusion

In this post, we used the Zoho CRM skill to build a sales pipeline visualization as a Web Tab Widget. The Skill helps developers turn their requirements into a Widget by guiding them toward the appropriate Zoho CRM patterns and references.

Have you used Widgets to build custom CRM dashboards, Web Tabs, or record-level tools? Share your use cases in the comments.



    • Sticky Posts

    • Announcing the new SKILL.md for Zoho CRM and the updated OAS repository!

      We are introducing a new zoho-crm skill to make working with Zoho CRM Developer tools (like APIs, functions, widgets, client scripts, queries etc) easier and faster, with the help of AI in your preferred AI harness like Claude Code, Codex, Cursor, VSCode
    • Kaizen #261 : Using Zoho CRM Skill to generate complex COQL queries

      Hello everyone, In the previous Kaizen posts, we introduced the zoho-crm SKILL.md and discussed how it can help you when you are working with Zoho CRM APIs and Client Script. In this Kaizen, we will focus on using the Zoho CRM `SKILL.md` with GitHub Copilot
    • Kaizen #256 - Build an Arrival Readiness Web Tab in Zoho CRM

      Hi everyone! Welcome back to the Kaizen series! In the post, we discuss a use case in hospitality industry: how an Arrival Readiness web tab widget can be used to let reception staff identify and resolve issues before arrival of guests. Use case In the
    • Kaizen #198: Using Client Script for Custom Validation in Blueprint

      Nearing 200th Kaizen Post – 1 More to the Big Two-Oh-Oh! Do you have any questions, suggestions, or topics you would like us to cover in future posts? Your insights and suggestions help us shape future content and make this series better for everyone.
    • Kaizen #226: Using ZRC in Client Script

      Hello everyone! Welcome to another week of Kaizen. In today's post, lets see what is ZRC (Zoho Request Client) and how we can use ZRC methods in Client Script to get inputs from a Salesperson and update the Lead status with a single button click. In this
    • Recent Topics

    • Backorder For Composite Items

      Hello If i released SO for composite item and use backorder feature of zoho inventory then it should backorder child item items of composite and not composite item.This is basic of backordering.I conveyed this to zoho call center but no solution yet.
    • Global Constants / Variables

      It would be great if there were a Global Constant feature. The idea here is for managing constants that are used in multiple Flows and Subflows, but might change over time. The idea is that the change could be made in one place and cascade to all future
    • emails?

      Why can't I send emails from my account anymore
    • Deal Activity Tracking - By Time

      Hello, I am trying to figure out a way to implement a time tracking ability within the CRP that will provide a line item on the final invoice in books. Would the Cases module be of good to use in this scenario? Want to integrate into Books as well. I
    • time tracking on zoho crm cases

      Is there a time tracking feature in zoho crm cases? I need calculate time spent in calls, tasks and events Thanks in Advance  
    • Time Card Tracking For Employees

      Does ZOHO have an add-on or app that my employees can use to clock in & out on a daily basis. In the past we had used a third party solution, but it was hard to use and pricey. We would really like to use your time tracking feature if you have one......if
    • Logging time within Time Tracking

      At the moment I use the call logging feature of CRM to log time spent on clients work. Its nice to be able to start, stop and pause the timer and record how many hours I need to bill the client. Any chance of implementing this in Zoho Invoice's time tracking feature The same interface as CRM would be great or a simple start/stop/pause/restart timer.
    • 3rd Party/Easy Time Tracking Integration with Zoho

      We are new customers using Zoho One with Zoho Project/CRM/Desk being the 3 big applications we will use. The majority of our work is done in the field and we need accurate and easy time tracking for our workers on mobile phones. aka TSheets type functionality. but tied to Zoho. Zoho is outstanding overall so I am surprised at how laborious, inefficient and disconnected time tracking is mobile devices. Adding time to a project task on a mobile phone can be a 10+ click task and that's not an exaggeration!
    • TrueSync for Windows 5.16+ breaks Excel save in "Shared with Me" (temp file writes fail) – workaround: pin 5.15.1

      Hi all, After TrueSync for Windows auto-updated past 5.15.1, some of our users can no longer save Excel files that live under "Shared with Me". We isolated it to a client-side regression and found a workaround. Sharing in case it saves someone a few hours
    • Introducing PRM: Build, manage, and scale your partner ecosystem

      Growing a partner ecosystem is a good problem to have. What starts as a handful of partners can quickly turn into a maze of spreadsheets, emails, and disconnected processes. More partners mean more opportunities, greater reach, and new ways to grow
    • Purchase Requisition in Zoho Books

      I want to understand if Zoho Books is having the following workflow: PR ( Purchase Requisition ) >> PO ( Purchase order) >>  GRN/SRN ( Goods/Services receipt note) >> Bill
    • Enhancement Request: Preserve Canceled Zoho Bookings Meetings in CRM

      I recently worked with Zoho Support on ticket 170383788 regarding what happens in Zoho CRM when an appointment is canceled in Zoho Bookings. Support confirmed that the current behavior is intentional: when a Bookings appointment is canceled, the corresponding
    • Introducing the Markdown editor in Zoho Learn

      Hello everyone, We're excited to announce the release of the Markdown editor in Zoho Learn. With Markdown editor, you can create and import articles as Markdown. You can write content using simple Markdown syntax and see how it looks with the built-in
    • When will Bigin's latest AI features be available in Europe?

      Hi, As I previously raised this question in the post “Introducing Bigin's latest AI features, built for the way you work!”, but received no response, I am bringing it up again here. It has now been five months since the announcement, and these AI features
    • Function #50: Send Mass emails to your customers

      Hello everyone, and welcome back to our series! We have reached a milestone of 50 Functions, which means that we have automated 50 different tasks in Zoho Books. Every Friday, we have shared a nifty function aimed at either automating a task or streamlining
    • Time tracking

      Hi there We are looking for a simple, intuitive but powerful time track application. We bill our clients by the time we spend, and so need to link Clients<>Projects<>Tasks or Activities<> Time spent. Is there an app in Zoho we could use? Many thanks.. Morri
    • Staff Tracking in

      Hi , I would like to see what activity my staff does over Zoho CRM and over Zoho Mail . I need to know which deals in CRM haven't been touched or had an activity on by a particular staff member . Basically need to establish what work.gets done by WFH
    • Zoho Projects connector with Zoho CRM (Related List module) features

      Hi community, I use Zoho Projects connected to Zoho CRM, where we associate Projects with Deals, clients, etc.. I am looking to change/edit the fields that are available in the integration. Currently it shows Project Status, Project Completion, Milestones,
    • Report: avg time to visit each lead

      We are on zoho one. our sales team visits leads using the ZohoCRM app. They track their hours using the zoho books timer. So the results in zoho books look like this: -total hours worked: 8 In ZohoCRM we have a custom date/time field in each lead record
    • Creating a Stop Start Timer for Custom Moduel

      Hello, I am trying to track Maintenance of internal Assets through Zoho CRM (I have tried the FSM, Projects, Inventory apps nothing is working the way I need it to). I have it all built in the CRM where I have internal work orders where i can keep track
    • Logging time to a Sales Lead in CRM

      Hi, Is there a way to log time against a Sales Lead / Deal in CRM before it is won and becomes a project? Our employees often do work for sales opportunities and need to log time against them at any point of the sales cycle, before it is won. Thanks, Atif
    • Hourly Billing in Zoho CRM Deals, Books, and Projects?

      We bill on an hourly basis and need that time added into a client's invoice in Books. A client might have multiple deals open with us that we are working on, and billing separately, and thus need separate invoices for each. The functionality of Projects
    • Time taken on a task

      I notice that you can record the length of a call, but not an event or a task. When a potential progresses from beginning to end it is just a series of tasks/calls/events in a process.  I have most of it automated depending on the type of sale and triggered by updating the sales cycle field. It follows that you should be able monitor the time of each of them so that you actually know how much time you spend on each potential. This gives an idea of profitability of each potential. I would think this
    • Timesheets from Deals

      Hi Guys, new Zoho One customer here with only a few employees. I run a small software company and currently our small number of employees are creating manual timesheets in excel. There is a column for a job number (that relates to a Zoho Deal) and they just put in the time taken to perform the work. As an example, they might spend 1 hour running some barcodes for a particular client (and deal). Then they may do a support all for another client and that takes 2 hours (This client would have a yearly
    • Timesheet option in zoho crm

      Recording a timesheet against a job is very crucial for every business because it will help them in billing the client accordingly and also it keeps a track on how much time a user is exactly taking in marking the job as cloed. Currently in crm there
    • Portal access is now available in the Zoho CRM mobile app

      Hello everyone, Zoho CRM Portals provide a secure space for sharing selected records with people outside your organization. These portal users can include customers, vendors, partners, or anyone who needs access to specific CRM data. Previously, portal
    • Field of Lookup - 5 Field Association Limit.

      This query relates to the post at: https://help.zoho.com/portal/en/community/topic/introducing-the-field-of-lookup-in-crm-public-early-access-2023 My simple (and common) scenario: I select an account / customer lookup and want their address pulled into
    • Zoho Forms API

      Is there any way to get all form entry list using API? Looking forward to hear from you
    • Multiple locations

      I have many customers (accounts) that have multiple locations, like bank branches. How can I manage them under one account?
    • Calendar won't load

      I run into this problem about once a week, where I try to open my Zoho calendar in a web browser, and it just gets stuck, waiting forever to load (see attached screenshot). I'm usually using Edge or Duck-Duck-Go browser. Sometimes it loads just fine,
    • Feature Request: Enhance Zoho Books Customer Approvals with WhatsApp, Multiple Approvers, Automated Reminders, and Workflow Automation

      Product: Zoho Books Module: Time Tracking → Customer Approvals Category: Feature Enhancement / Workflow Automation / Omnichannel Communication Description I would like to suggest several improvements to the Customer Approvals module in Zoho Books, particularly
    • Feature Request: Extend Zoho Books Customer Approvals API and MCP Support

      Product: Zoho Books Category: API Enhancement / OAuth Scopes / MCP Integration Feature: Customer Approvals (Timesheet Approvals) Description I would like to suggest an enhancement to the integration and automation capabilities of Zoho Books, specifically
    • Tip: #14 Save words and phrases in Writer for faster writing!

      As you start working with more documents everyday, you'd find yourself using certain words and phrases across documents quite often. In this week's tip, let's discuss two easy ways to train Writer to remember your commonly used words—equipping you to
    • Zoho ERP | Product updates | October 2026

      Hello users, A new month, a fresh set of updates in Zoho ERP. This month brings Netting, enhancements across our verticals, and more updates to help streamline your everyday work. Explore this month’s updates and see what’s new. Compliance with Revised
    • Zoho Forms - Feature Request - Embed iFrame or Dynaic URLs in Description fields

      Hi Zoho Forms team, I'm working with a client who uses Zoho Forms internally to collect information over the phone from potential work placement candidates. At the end of the form, the candidate needs to be booked in for an induction, which we've configured
    • BANK FEED - MAYBANK , provider from YODLEE IS NOT WORKING

      As per topic, the provider YODLEE is not working for the BANK FEED. It have been reported since 2023 Q3, and second report on 2023 Q4. now almost end of 2024 Q1, and coming to 2024 Q2. Malaysia Bank Maybank is NOT working. can anyone check on this issue?
    • Digest Octobre - Un résumé de ce qui s'est passé le mois dernier sur Community

      Bonjour chers utilisateurs, Bienvenue dans ce nouveau digest de la communauté Zoho France ! Vous y trouverez les discussions marquantes, les nouveautés produits, les conseils pratiques partagés et bien sûr les événements à venir. Le mois dernier, nous
    • Bank feeds - still a problem

      I'm really frustrated that the bank feeds only "sometimes" work.  I raised this problem once before and was advised that Zoho used Yodlee and feeds were only updated once a day.  That's fine but it only "sometimes" seems to work.  Eventually transactions appear but they sometimes seem to take days.  I know of other programs (Xero) that another business I am involved with uses Yodlee and they do not have this issue. My bank feeds are active,  I tried to manually refresh however Zoho tells me that
    • this is getting ridiculous

      My checking account bank feeds haven't worked since 6/4/21.  Multiple emails to Zoho since 6/10, and all they tell me is they have re-escalated my problem to their banking service provider team.  14 days and nothing is fixed. I'm just about ready to bail
    • No feedback from Zoho Books regarding Yodlee feeds for Investec

      I reported on 6 Feb 2025 that the Bank Feeds for Investec bank via Yodlee are not working. To date there has been no resolution. You are charging us for a suite of products where the functionality does not work. Please advise how you will refund me for
    • Next Page