Kaizen 256 Build an Arrival Readiness Web Tab in Zoho CRM

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 hospitality industry, every guest interaction is an opportunity to make a lasting impression. To ensure a smoother check-in process, reception staff should have access to information about which guests are arriving soon and be able to take the necessary action without hassle. The important question is:

                        "Which arrivals require action before the guest reaches the property?"

For example:
  1. A guest's ID verification is still pending.
  2. A guest has requested a service that has not yet been assigned.
  3. Other bookings are already ready for arrival.

Instead of making the reception staff open individual records and manually check these details, we can surface the information in a Zoho CRM Widget and provide an action directly from the dashboard. Without a focused dashboard, the team has to open each booking, inspect fields, and decide what to do. That takes time and increases the chance of missing something before guests arrive.

In this Kaizen, we'll build an Arrival Readiness Web Tab that:
  1. Retrieves bookings arriving within the next 48 hours.
  2. Determines the readiness of each booking.
  3. Displays a summary of arrivals requiring action.
  4. Allows staff to send an ID verification reminder.
  5. Allows staff to create a follow-up task for an unassigned special request.
  6. Updates the Booking record after the action is completed.


The solution combines CRM Widgets, Deluge Functions, REST API-enabled Functions, and CRM APIs.

To showcase this solution, we have created a custom module, Bookings, with the following custom fields:

Field Name
API Name
Data Type
Arrival Date Check_In DateTime
Departure Date Check_Out DateTime
Guest Name Guest_Name Single Line
ID Verification ID_Verification Single Line
Owner Owner1 Single Line
Payment Status Payment_Status Pick List
Readiness Readiness Pick List
Reminder Sent Reminder_Sent Boolean
Reminder Sent At Reminder_Sent_At DateTime
Request Status Request_Status Pick List
Special Request Special_Request Multi Line (Small)
Verification Link Verification_Link Single Line


We also have a web tab widget in which details are displayed.

Real-time flow inside the widget

When the widget loads:
  1. It calls 'getArrivalReadiness()'.
  2. The function fetches bookings and filters arrivals within the next 48 hours.
  3. Each booking is evaluated and assigned:
    1. readiness ('Ready', 'Action Required', 'Attention')
    2. issue
    3. recommended action
  4. The widget renders this as an actionable list.
  5. Staff can immediately trigger row-level actions:
    1. 'Send reminder' which then calls 'sendArrivalReminder(bookingId)'
    2. 'Assign task' which then creates a CRM Task and then calls 'assignArrivalTask(bookingId)'
  6. Booking fields are updated, and the widget refreshes to show status.

How the solution is split

We keep each responsibility separate:
  1. Three deluge functions
    1. getArrivalReadiness() that evaluates bookings and returns dashboard data
    2. sendArrivalReminder(bookingId) that sends reminder and updates reminder fields
    3. assignArrivalTask(bookingId) that updates booking request status after task creation
  2. Widget logic that renders UI, handles clicks, calls functions, refreshes view
This separation keeps UI logic in widget code and business rules in Deluge.

Step 1: Evaluate arrivals in the next 48 hours
When the widget loads, it calls getArrivalReadiness().
This function fetches bookings, filters arrivals within the next 48 hours, and evaluates each booking for readiness conditions.

Readiness rules:

Field
Field Conditions (exact)
Issue
Recommended Action
Action Required ID_Verification == "Pending" ID verification pending Send reminder
Action Required Special_Request != "" AND Request_Status != "Assigned" AND Request_Status != "Completed" Special request is unassigned Assign task
Ready None of the above conditions matched No action required No action

The getArrivalReadiness() evaluates a 48-hour window in four concrete sub-steps:
  1. Define the time window
    1. It sets now = zoho.currenttime
    2. It sets endTime = now.addHour(48)
    3. This creates the comparison range: [current time, current time + 48 hours]
  2. Fetch candidate bookings
    1. It pulls booking records using:
    2. zoho.crm.getRecords("Bookings", 1, 200)
    3. This gives the function a working set of bookings to inspect.
  3. Normalize each booking’s check-in time for comparison
    1. For each booking, it reads Check_In.
    2. It preserves the original CRM datetime string (checkInOriginal) for display/output.
    3. It extracts only the datetime portion (subString(0,19)) and parses it into a time object:
    4. checkIn = checkInText.toTime("yyyy-MM-dd'T'HH:mm:ss")
    5. This parsed value is used only for logical comparison.
  4. Filter to “arriving soon” records
    1. It includes only bookings where:
    2. checkIn >= now && checkIn <= endTime
    3. Only these bookings move to readiness classification (Ready, Action Required, Attention).
The function computes a rolling 48-hour window, converts each booking’s check-in to a comparable datetime, and keeps only records whose check-in falls inside that window.

Step 2: Return one action-ready payload to the widget
After each booking is classified, the function getArrivalReadiness()  adds one row object to arrivals with: id, booking, guest, arrival, readiness, priority, issue, action.
At the same time, it builds summary with: total, ready, action_required, attention.
Finally, it returns a single response object:
  1. success
  2. generated_at
  3. window_hours
  4. summary
  5. arrivals
Because both summary cards and row-level actions come from this single payload, the widget can render in one function call (getArrivalReadiness) without additional CRM fetches.

Step 3: Render dashboard and bind row actions
Widget JS reads response.details.output, renders summary cards and actionable rows, then maps row actions to functions:
  1. Send reminder → sendArrivalReminder(bookingId)
  2. Assign task → create CRM Task, then call assignArrivalTask(bookingId)
All Deluge functions used by widget must be configured as Invoke as REST API.

Step 4: Execute “Send reminder” path for pending verification
For verification-pending bookings, sendArrivalReminder(bookingId) handles:
  1. Booking ID validation
  2. Booking lookup
  3. Guest email validation
  4. Duplicate reminder protection
  5. Email send
  6. Booking field updates (Reminder_Sent, Reminder_Sent_At)
This enables quick verification follow-up during pre-check-in.

Step 5: Execute “Assign task” path for unassigned requests
For unassigned special requests, widget creates a CRM Task linked to Bookings, then calls assignArrivalTask(bookingId) to update:
  1. Request_Status = Assigned
Using $se_module: "Bookings" ensures proper linkage to the custom module context.

Step 6: Refresh and reflect current operational truth
After any row action, widget refreshes readiness data so users immediately see updated status.
This creates a fast “identify → act → update → verify” loop.

Example outcomes:

  1. Laura Martin (BK-10492): ID verification pending → Action Required → Send reminder
  2. Ian Thomas (BK-10489): Late dinner request pending/unassigned → Action Required → Assign task
  3. Vivek Shah (BK-10491): Verification complete, no open request → Ready → No action
You can find the full code  of the widget and functions used in this function in the Kaizen github repository.

Conclusion

With this setup, the front office or operations team can move from record-checking to action execution in one screen.
You now have a working pattern that combines:
  1. readiness classification in Deluge
  2. direct actions in widget UI
  3. immediate CRM updates after each action
That combination is what makes the dashboard practically useful during real check-in prep.

We hope this Kaizen post is useful. If you have questions or suggestions, share them 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

      • Open Quote Ammount

        Night, Is there a way to print the quote for a customer to show the dollar total for open quotes. Thanks Rudy
      • Minor Problem: Dashboard Forgets Cash vs Accrual

        The dashboard doesn't reflect my cash/accrual choice from settings, AND doesn't remember what I've set it to.
      • information on a suggestion how to treat old records in the - pipeline deals, notes, activities (tasks- events-calls) and emails etc.

        Hi, I would like information or a suggestion on how to treat old records in the - pipeline deals, notes, activities (tasks- events-calls) and emails etc. ? As each option (pipeline deal, notes, activities, emails etc.) counts as a record and as we advance
      • Automating Employee Birthday Notifications in Zoho Cliq

        Have you ever missed a birthday and felt like the office Grinch? Fear not, the Cliq Developer Platform has got your back! With Zoho Cliq's Schedulers, you can be the office party-cipant who never forgets a single cake, balloon, or awkward rendition of
      • zoho stream web notifications

        since im locked out of IMAP and cant use my mail app that lets my team collaborate and chat below emails, im trying out the zoho version of this... zoho streams. On the bottom of an email in the zoho mail web app, i "comment" and mention another user.
      • New in Zoho CRM: Pre-fill Public Forms with CRM Data

        Public forms just got more flexible! With the new Pre-fill Public Forms with CRM Data option in the Zoho Forms integration, people filling out your public forms can search for a CRM record, select the right one, and have the form automatically populate
      • HEIC File Type Viewer

        Hi, It would be nice to be able to click on the images in the All Entries/Reports Tables which are HEIC the same as JPG, PNG, etc. so they open in a viewer from Zoho or the Attachment Service, today HEIC requires you to download each image and open it
      • Zoho Books | Product updates | October 2026

        Hello users, October brings a range of new features and enhancements to Zoho Books, designed to simplify compliance, streamline accounting workflows, and improve inventory management. From the launch of the Nigeria Edition and France’s e-invoicing capabilities
      • Specific ListView Canvas on Canvas Home Page Always Loads Most Recent ListView, Not the One Specified

        I had mentioned this to ZOHO, but I mainly wanted to see if others in the Community are also facing this problem. I created a Canvas ListView for a Custom Module, and then created a Canvas Home page (technically on a tab item, but I'm not sure if that
      • print preview

        We are using microsoft edge, till 12 sep we were getting directly print option. Now we are getting this preview option we have to click print option again. How to bypass this-preview option?
      • Zoho Projects - Has something changed regarding to linking Projects and Deals via the API?

        I am trying to link Zoho Projects to Deals in CRM using the API, but each time, the Deal Contact is added as a Client user and receives an email invite asking them to join the organisation. These are internal projects and the customer should not have
      • Connection into Cliq?

        I have the SalesIQ chat widget on my site using the Zohobot but I'm not always on and my employees don't keep it open all the time. We do have Cliq open all the time though so I'd love a way to manage those discussions directly in Cliq as they come in.
      • Kaizen #264 - Using zoho-crm Skill to Write Functions

        Hello CRM wizards, Welcome back to another week of Kaizen. In our previous Kaizens, we explored how the zoho-crm skill can assist you across various Zoho CRM developer tools. This time, let us see how it can help you write Deluge Functions, from simple
      • Edit Pinned Comments in Zoho Desk

        It's great that private comments can now be pinned to the top of the ticket but what would be extremely helpful would be to allow for the pinned comment to be edited vs. having to find the comment in the ticket to edit it.
      • Recover accidentally deleted mail account

        Email account was accidentally deleted from admin console. 
      • mail sent to gmail goes directly to spam

        Hi TKIM and SPF are configured and verified. E-mails coming from zoho to my personal gmail account are going directly to the spam folder. How can I solve this? I can send you guys the headers privately if you need to.
      • Shopify Integration: How do I change the default Unit of Measure from KG to PCS

        For those using Shopify with Zoho Inventory, has anyone managed to have imported items default to PCS/EA instead of KG? If so, where is this configured? I can only find weight units in Shopify, not a sales unit of measure.
      • flexible subscription plan

        Greetings! We currently have 5 Standard plans, but would like to add 5 mail-lite one just to receive emails (do not need other business features or storage. As Super Admin, I tried to do that my self but didnt see the option on your sales platform. Please
      • mail

        We want our tracked links in campaign and journey emails to use our own domain instead of the shared maillist-manage.net domain. We have already created the CNAME links.rexven.com → customer-campaign.zoho.com (DNS only). Does our plan support a custom
      • Useless support and impossible to add users for whom I paid for

        Over a week ago i signed up for 5 emails addresses and 10GB, and so far I only have 1 email working, no access to the dashboard. Remote connection with "support"....useless Screen grabs sent to "support" useless Messages to "support"... now not answering
      • Mr

        can't access my email
      • Reduce Mail Lite Renewal from 2 licenses to 1

        Hello Zoho Support, I have a Mail Lite 5GB subscription with 2 licenses. have deleted the unused user, and now only 1 user/license is being used. My subscription is due for renewal, but the renewal page still shows 2 licenses and does not give me an option
      • Adding additional records dynamically to a subset of fields

        I'm trying to create a service ticket layout which will be passed to a Creator application for Field Service Management (FSM) purposes. We need to be able to define a specific subset of service product fields such as "Service Product", "Service Product Serial Number", "Service Product Warranty End Date" and "Service Product Current Warranty Status". We may need to record more than one of these subsets, in case the customer has more than one product which has to be serviced on their site. It seems
      • Push error with Zoho Books and Zoho CRM

        I have successfully linked Books and CRM but I have some push errors with the following message: "The customer associated to this record is not linked to module chosen in the current contact sync configuration." I am unable to work this out, could you help please.
      • Function #24: Automatically display deal name from Zoho CRM on quotes in Zoho Books

        Deals allow businesses to organize and visualize their sales pipeline. This provides a clear overview of all potential opportunities and helps in making informed decisions. Zoho CRM empowers you to create deals or potentials for your clients and monitor
      • {"code":57,"message":"You are not authorized to perform this operation"}

        In my trial version of Zoho account, I am trying to integrate Zoho CRM Contact Module with Zoho books but when i call API it gives such type of error {"code":57,"message":"You are not authorized to perform this operation"}. I am using refreshed token
      • Allow widgets to be placed between native sections in the Ticket Properties panel

        One of our biggest frustrations with the Tickets module is how rigid the Ticket Properties panel is. Every section there is built only from native Zoho Desk fields. We can add sections, rearrange fields, and pick layouts, but we can’t put anything custom
      • #13 Understanding Your Zoho Invoice Limits

        Ravi's busiest month was also the month his invoicing stopped working. He had been using Zoho Invoice comfortably for months. Then, just when business picked up, he hit a limit he hadn't expected. The problem wasn't that he had missed a payment or forgotten
      • Map Dependency Upgrades in Zoho CRM

        Map Dependency Fields enhancements are now available across all DCs. Hello everyone, We’ve introduced a set of enhancements to Map Dependency Fields to make setup simpler, faster, and more intuitive. Map Dependency helps control how values appear across
      • How to Allocate Incoming Purchase Stock to Specific Sales Orders in Zoho Inventory?

        Hi all, We are using Zoho One Enterprise and need guidance on managing sales order–wise allocation of incoming stock in Zoho Inventory. Our workflow is: A customer order is received, and the Sales Order is confirmed. The sales team immediately creates
      • How to disable automatic ticket closure emails for specific outgoing communications?

        Is there a way to disable the automatic "Ticket Closed" email notification for specific tickets or outgoing emails? Currently, every time we send an email to a customer, the system automatically sends a "Ticket Created" email, followed by a "Ticket Closed"
      • Zoho Webinar - Sharing System Audio (NOT AVAILABLE)

        Hi, We are having a serious problem with Zoho Webinar. In the webinars we run, we very often share the audio from a video we are streaming directly from YouTube or other applications. Until recently we were using Zoom, but as we use other Zoho applications
      • What's new in Zoho Workplace | September 2026

        Hello Zoho Workplace community! Here's a roundup of all the new features and announcements that went live across Zoho Workplace applications in September. Zoho Mail Compose Options Across Templates You can now use the Undo, Redo, and New List options
      • Unable to export reports despite enabled report export permissions

        Hi Zoho Community, We are unable to export reports in Zoho CRM. When attempting an export, we receive the following error: “Cannot Export Report — You do not have permission to export one or more modules used in this report. Please contact your administrator.”
      • What does "Tickets for Review" do?

        What is the purpose of the va nilla view " Tickets for Review?"
      • Set department automatically for incoming calls

        Is it possible, when receiving an incoming call through Zoho Desk (using Twilio integration), for the department to be auto-selected based on the phone line being called? Currently, we have to manually select the department from the dropdown menu when
      • Zoho Desk training for administrators in EU and US region

        Hello Everyone, Get ready for the certified Virtual Classroom training for our Zoho Desk users in Europe and the US. Our in-house Zoho Desk expert, @Dheeraj | Zoho Desk, will conduct the virtual classroom training. This training focuses on simplifying
      • Support Plan: Recuring Issue

        Hi Zoho Team, Could you please look into this recurring alert and provide clarification on why this restriction is still in place? This issue has become a bottleneck in our workflow, significantly limiting our automation capabilities. We are unable to
      • Webinar de Zoho People: tecnología para RR. HH.

        ¿Y si RR. HH. pudiera estar tan conectado con el negocio como el resto de tu organización? La gestión de personas está evolucionando, y los departamentos de Recursos Humanos necesitan herramientas que les permitan ir más allá de las tareas administrativas
      • Zoho CRM still doesn't let you manage timezones (yearly reminder)

        This is something I have asked repeatedly. I'll ask once again. Suppose that you work in France. Next month you have a trip to Guatemala. You call a contact there, close a meeting, record that meeting in CRM. On the phone, your contact said: "meet me
      • Next Page