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

    Nederlandse Hulpbronnen


      • Recent Topics

      • WhatsApp Business Calling API

        Dear Zoho SalesIQ Team, I would like to request a feature that allows users to call WhatsApp numbers directly via Zoho SalesIQ. This integration would enable sending and receiving calls to and from WhatsApp numbers over the internet, without the need
      • Zoho Desk MCP doesn't expose all functions

        Hello, I'd like to be able to draft (rather than send) ticket replies using Claude Cowork. However, the Zoho Desk MCP doesn't currently offer that, despite it being available in the API (https://desk.zoho.com/DeskAPIDocument#Threads#Threads_DraftEmailReply).
      • Email-Data Synchronization with Zoho Analytics

        Hello, Enterprise Support Community! We're excited to announce the availability of Email Data Synchronization with Zoho Analytics! This highly requested enhancement allows you to sync email data from Zoho CRM into Zoho Analytics, making it easier to analyze
      • Keeping phone number text format exporting from Books to Sheet

        We have a custom function that copies data from our customers in Books to Sheets. In the process the customers' phone numbers (unless they contain a space) get treated as numeric values, so leading zeros get stripped off, and in some cases scientific
      • #22 I Sent It to the Wrong Person

        Meera was sending an invoice to a client when she mistyped the email address. She noticed the mistake a week later, when the payment had not come in. She corrected the email address on the customer record and waited for the payment to arrive. But nothing
      • Build a historical inventory snapshot in Google BigQuery using Zoho DataPrep

        Businesses using Zoho Inventory may want to transfer their inventory data to Google BigQuery to maintain an up-to-date data warehouse. While scheduled pipelines help keep BigQuery updated with the latest inventory data, businesses that also need to track
      • Zoho writer tabs

        I'm trying to post a list of actions for my team to share online. For this I need to set tabs -- can't find a way of setting tabs anywhere. Would prefer not to go to the formality of a table. Can anyone tell me how to set tabs? greigg
      • Ability to Set Text Direction for Individual Cells in Zoho Sheet

        Dear Zoho Sheet Team, We hope you are doing well. We would like to request an enhancement in Zoho Sheet that allows users to set the text direction (right-to-left or left-to-right) for individual cells, similar to what is available in Google Sheets. Use
      • Keep Zoho Books data in sync with Google BigQuery

        Businesses using Zoho Books may need to transfer their financial data to a data warehouse like Google BigQuery for reporting and analysis. Zoho DataPrep helps automate this process by preparing Zoho Books data and syncing it with BigQuery at scheduled
      • What's New - October 2026 | Zoho Backstage

        Hello everyone, The last few months of the year are usually the busiest for events, with more people to reach and more details to manage. This month, we’ve made a few changes that should save you some time and back-and-forth along the way. Here’s what’s
      • Introducing user-based authentication across Zoho CRM

        We have introduced two enhancements to simplify authentication and enable user-specific access when working with Connections and executing CRM operations across different developer tools. 1. Enable user-based authentication for Connections Connections
      • Set connection link name from variable in invokeurl

        Hi, guys. How to set in parameter "connection" a variable, instead of a string. connectionLinkName = manager.get('connectionLinkName').toString(); response = invokeurl [ url :"https://www.googleapis.com/calendar/v3/freeBusy" type :POST parameters:requestParams.toString()
      • Allow Multiple usage units to items while adding them to sales/purchase transactions

        The usage unit of items added in zoho books are static right now and can not be changed. But certain items are received or sold in multiple usage units. One example is fabric. It can be bought in Meters, inches, kgs or other units. Another example would
      • Zoho Inventory – Stock Allocation and Warehouse ManagementAs we implement Zoho One in our organization, we are currently facing a challenge with stock allocation and warehouse management. While the wa

        As we implement Zoho One in our organization, we are currently facing a challenge with stock allocation and warehouse management. While the warehouse management part can be handled in Zoho Inventory, our main requirement is the customer-wise stock allocation
      • How to restore deleted campaigns?

        I accidentally deleted my first campaign that went out today (08/21/18). How do I restore it?
      • Using IMAP configuration for shared email inboxes

        Our customer service team utilizes shared email boxes to allow multiple people to view and handle incoming customer requests. For example, the customer sends an email to info@xxxx.com and multiple people can view it and handle the request. How can I configure
      • New in Cadences: Option to Resume or Restart follow-ups when re-enrolling records into a Cadence, and specify custom un-enrollment criteria

        Managing follow-ups effectively involves understanding the appropriate timing for reaching out, as well as knowing when to take a break and resume later, or deciding if it's necessary to start the follow-up process anew. With two significant enhancements
      • Automatic Invoice Number generation for createRecord

        Hello, while testing some custom Buttons in my Zoho Books application, I noticed that I get an error that previously did not occur. After some further digging I found that the automatic transaction numbering of invoices no longer work in my organization.
      • Stop completed task lists from disappearing?

        Is there any way to stop projects from making tasks lists disappear when all the tasks in the list are completed? That's one of those little things where we're constantly fighting the product. For instance we have some projects which are ongoing - no start and end date. We use Kanban view to show the various task lists. We don't want the kanban list to disappear every time the items on it happen to be closed out. Thanks
      • Approval Processes, Now in Standard and Professional

        We encourage existing Approval Process users to switch to the new UI to access enhanced capabilities, including naming each rule and stage, setting stage-specific field updates and tasks, sending email notifications upon rejection, and tracking progress
      • Zoho Inventory - Backorder Report

        I am requesting a backorder report in Zoho Inventory to show all backorders by Sales Order and/or Customer, including the quantity of each line item ordered and quantity fulfilled. This is important for businesses who operate a lean business model and
      • Can we do Image swatches for color variants?

        We want to do something like the attached screenshot on our new zoho store. We need image swatches instead of normal text selection. We want to user to select an image as color option. Is this doable? I don't see any option on zoho backend. Please h
      • Email-Data Synchronization with Zoho Analytics

        Hello everyone, Thanks to Chad and everyone who shared their feedback. We're excited to announce support for email data synchronization with Zoho Analytics. We have been working hard to bring this highly requested feature to life, and we'd like to walk
      • Update on Using Extensions in Custom Modules

        Extensions in Zoho Projects now support custom modules. You can add extensions to custom module records and configure where each extension appears and who can access it during installation. Supported Extensions: Checklist, Google Drive, SharePoint Configure
      • 【初開催】Zoho Mail / Workplace 活用勉強会 |11/27オンライン・無料

        ユーザーの皆さま、こんにちは。 ゾーホージャパンの中野です。 11月27日(金)、Zohoコミュニティでは初めてとなる「Zoho Mail / Workplace 活用勉強会」をオンラインで開催します! すでにZoho Mail / Workplaceをご利用中の方はもちろん、Zoho Oneをご利用中で、Zoho Mailの利用を検討している方も歓迎です。 Zoho社員が製品の概要に触れながら、具体的な利用場面に沿って活用方法をご紹介します。 ■ メール対応のミスや手間を減らす 添付忘れや誤送信の対策など、日々のメール業務に役立つ便利機能を取り上げます。
      • Trigger a Workflow Function if an Attachment (Related List) has been added

        Hello, I have a Case Module with a related list which is Attachment. I want to trigger a workflow if I added an attachment. I've seen some topics about this in zoho community that was posted few months ago and based on the answers, there is no trigger
      • Breaking Change Announcement: Users API Response Restricted for Client Portal Users

        Hi all, We are introducing a breaking change to the Users API when it is accessed by Client Portal users. Status: Live This change is now live in production. Please review your integrations and make the necessary updates. Affected endpoints: GET /users
      • automatic email reminder

        in need of an email reminder to participants having trained for a course but have not paid
      • Sharedmail box access via an api

        Hi, I am trying to access a sharedmailbox via an API. I am the moderator and creator of this shared mailbox. I have created a self client but when when i try to get list of all emails, it does not list the sharedmailbox. Help me to resolve this or provide
      • Duplicate Record Creation

        Hello Team, I would like to check whether there are any options available in Zoho FSM to prevent duplicate record creation in the following modules: Assets Companies Contacts Ideally, we would like the system to check for existing records before allowing
      • Hiding old CRM Contacts in Desk

        I have an issue with contacts in Desk.   We sync contacts from CRM with DESK and we have old contacts, eg staff members that have left businesses.  The issue is when adding a ticket (most of our tickets are raised over the phone), staff sometimes pick
      • CC'd User Receiving Both Regular Email Chain Response & Reply Notification

        Hi, I am trying to set up the notifications for users and I'm a bit confused. I'm testing with personal accounts and my Desk agent, and I'm noticing that CC'd users are receiving both the regular email chain that the requester (contact) receives, but
      • Default View for Email Sent

        Hi, can the default view for email sent to candidates be "ALL" instead of the current user? I have to click the dropdown menu every time so that I can see if other recruiters have already sent an email to a candidate.  Thanks!
      • KB Articles - Can't See Content or Trigger Immediate Sync

        Once a file has been submitted to the KB, there's no way to check what it actually contains. There's also no way to force an immediate sync with the source document. These are issues when one is developing and testing an agent. It makes troubleshooting
      • Enable Screen Recording in Zoho WorkDrive Mobile Apps (Android & iOS)

        Hi Zoho WorkDrive Team, How are you? We are enthusiastic Zoho One users and rely heavily on Zoho WorkDrive for internal collaboration and content sharing. The screen-recording feature in the WorkDrive web app (similar to Loom) is extremely useful- however,
      • Add Comprehensive Accessibility Features to Zoho Writer

        Hello Zoho Writer Team, We hope you are doing well. We would like to submit a feature request to enhance Zoho Writer with a full set of accessibility tools, similar to the accessibility options already available in the Zoho Desk agent interface. 🚧 Current
      • Problem with currency field in Zoho CRM

        Hi Guys Zoho Books has a feature in currency fields that automatically converts decimal numbers with commas ( , ) to period format ( . ) when pasting them. For example: R$ 2,50 --> R$ 2.50 Is this behavior available in Zoho CRM? I couldn't find any configuration
      • Ability to Attach Images When Reporting Issues to Zoho Projects from Zoho Desk

        Hi Zoho Desk Team, Hope you’re doing well. We’re using the Zoho Desk–Zoho Projects integration to report bugs directly from support tickets into the Zoho Projects issue tracker. This integration is extremely useful and helps us maintain smooth coordination
      • Is it possible to convert regular pick-list to multi-select pick list?

        I have a regular drop-down pick-list and we realized that we need this info as a multi-select pick-list.  I don't think there is a way to convert from one type to the other, but what is the simplest way of moving the data over?  Meaning, whatever value
      • Make Camera Overlay & Recording Controls Visible in All Screen-Sharing Options

        Hi Zoho WorkDrive Team, Hope you are doing well. We would like to request an improvement to the screen-recording experience in Zoho WorkDrive. Current Limitation: At the moment the recording controls are visible only inside the Zoho WorkDrive tab. When
      • Next Page