Skip to content

Build · Zendesk App & Gemini 4 Neon

I built a Zendesk App using the new Gemini 4 Neon model

Published8 min read

When several Admins manage the same Zendesk instance, configuration changes happen every day, and finding out what changed, who changed it, and why usually means digging through Audit Logs and chasing your teammates. Using Gemini 4 Neon, I built Zendesk Change Watch, a Zendesk app, to bring configuration visibility, personal visual alerts, and change clarifications directly into Zendesk.

Technologies I used for this:

  • Zendesk
  • Gemini 4 Neon
  • Custom Objects
  • Audit Logs
  • React
  • Zendesk Garden
  • ZAF

Zendesk Change Watch is a private development base, not a certified Zendesk Marketplace product. Before using it in production, review the code and permissions with your engineering and security teams, and test it in a sandbox or controlled environment first.

The use case I took for this test

To test how well Google’s new model, Gemini Neon, performs, I created this Zendesk app called Change Watch. Its main components are:

  1. Activity: a configuration-focused feed powered by the Zendesk Audit Logs API.
  2. My Alerts: personal alert rules with in-app unread tracking and automatic deduplication.
  3. Clarifications: structured, audit-linked questions so you can ask the person who made a change why it was made, right next to the event itself.

And something very nice: everything runs inside your instance, using the Zendesk Audit Logs API and Custom Objects, with no external server or third-party database to host or maintain.

If you administer a Zendesk instance with another admin, or with consultants, agencies, and integrations making changes, you have probably run into at least one problem of this kind: who did what, and why? Well, this app will help you audit those changes better, and it relies on the Audit Logs API, where Zendesk already records the changes made in your instance.

Important note on Zendesk requirements: keeping the app private and backend-free avoids third-party hosting fees, but it still relies on your Zendesk plan’s native capabilities, specifically Audit Logs API access (available on eligible Enterprise plans and above) and Custom Objects. Always verify your plan, quotas, and API permissions first.

What each module does

ModuleWhat it is for
ActivityReads Zendesk Audit Logs scoped to instance configuration changes. Shows what changed, who changed it, and when, with filters for Module, Action, Actor, and Date, paginated at 10 records per page with cursor-based loading for older history.
Event Details drawerOpens on demand from any Activity row or Alert item. Displays the Audit Event ID, module, raw source_type, rule classification details, timestamp, IP address (when present), full change description, linked clarification threads, and Ask for clarification.
My AlertsLets each user create, edit, enable, disable, and delete personal alert rules by module and action. Displays matching events with an unread counter, per-event or bulk mark-read controls, and automatic refresh when opening the app or while the tab is visible.
ClarificationsManages audit-linked Q&A threads across four views: Pending for me, Requested by me, Resolved, and All threads. Supports replies from participants and lets only the original requester mark a thread Resolved.
Setup & Diagnostics drawerChecks whether the 4 app-owned Custom Objects and their fields exist, provides one-click idempotent schema creation using the signed-in admin session, and runs live account checks for locales, Audit Logs access, and real payload validation.
Zendesk Change Watch Activity tab with the configuration changes table, filters and pagination
Activity: the configuration change feed, with filters by module, action, actor and date, and 10-record pagination.
Ask for clarification dialog with the audit event, the recipient and the question field
Ask for clarification: from any event you can ask why the change was made. The question stays linked to the audit event ID.
My Alerts tab with the list of matching events and one enabled personal alert rule
My Alerts: your personal alert rules, with the toggle to enable them and the events that match.
Clarifications tab showing the Pending for me view with one open thread
Clarifications: the Pending for me view, with the thread for the question we just sent.
Setup & Live Diagnostics panel with the four Custom Objects ready and the button to run live verification
Setup & Diagnostics: checks that the 4 Custom Objects and their fields exist, and creates or repairs them with one click.

The architecture

For non-technical admins, the short version is simple: nothing leaves Zendesk. There is no external server, no separate login, and no second set of credentials to rotate.

Architecture of Zendesk Change Watch: everything stays inside ZendeskA signed-in Zendesk user opens Zendesk Change Watch, a Support nav bar app built with React, Zendesk Garden and ZAF. The app uses client.request() to reach three Zendesk services: the Audit Logs API, the source of truth for events; the Rule Catalog APIs for triggers, automations, views and macros; and Zendesk Custom Objects, which hold the app’s operational state in four objects: cw_alert_rule, cw_alert_read_state, cw_clarification_thread and cw_clarification_reply.client.request()Signed-in Zendesk userbrowser sessionZendesk Change Watchsupport.nav_barReact · Zendesk Garden · ZAFZendesk Audit Logs APIsource of truth for eventsRule Catalog APIstriggers, automations, views, macrosZendesk Custom Objectsapp-owned operational statecw_alert_rulecw_alert_read_statecw_clarification_threadcw_clarification_replyNothing leaves Zendesk: no external server, no separate login, no second set of credentials.

Scroll horizontally to see the whole diagram.

Here is how the pieces divide responsibility:

  • Zendesk Audit Logs API is the only source of truth for events. Change Watch never duplicates your entire audit history into Custom Objects. It reads events directly from GET /api/v2/audit_logs.json using cursor pagination.
  • Custom Objects store only lightweight app state:
    1. cw_alert_rule: each user’s personal alert rules (owner, module, action, enabled flag, optional notes).
    2. cw_alert_read_state: per-user read receipts keyed with a unique external_id combining user ID and Audit Event ID, preventing duplicate read records.
    3. cw_clarification_thread: clarification requests linked to an audit_event_id, requester, recipient, status (open or resolved), and event snapshot.
    4. cw_clarification_reply: replies posted inside a clarification thread.
  • Admin, you control access to install or open the private app natively in Admin Center.

Now, how did I build it with Gemini 4 Neon?

I tried to be as specific as possible, telling it how I wanted the app to look and handing it the current Zendesk documentation.

  • Exact ZAF location (support.nav_bar) and private app rules.
  • Exact features across Activity, My Alerts, and Clarifications.
  • Zendesk Garden only, minimal operational copy, no bloated dashboards.
  • Clear security boundaries: client.request() with the signed-in browser session, no Keychain access or printed environment variables, no hardcoded role allowlists, and everything kept local.

The development and design loop (for the technical readers, feel free to skip it)

  1. Gemini 4 Neon designed the TypeScript + React + Vite + Zendesk Garden project structure, the declarative Custom Objects schema (schema/custom-objects.json), an idempotent CLI setup script (scripts/setup-custom-objects.mjs), the in-app Setup & Diagnostics drawer, and the ZAF packaging script that prepares dist/ (manifest.json, translations/, assets/icon_nav_bar.svg, logos, and bundled iframe assets).
  2. Automated checks before opening the browser: before testing inside Zendesk, we ran TypeScript strict checks (tsc --noEmit), a Vitest test suite covering domain logic and React UI flows, and a production build.
  3. Live local testing with ZCLI: we served the built dist/ folder locally with zcli apps:server and loaded it inside a signed-in Zendesk Support session using ?zcli_apps=true.

If you are going to try it, use my GitHub version.

As soon as you clone my repo and run it on your local machine, do this in Zendesk:

  • Initializing the 4 cw_* Custom Objects on the test instance via Setup & Diagnostics and verifying Custom Objects permissions for non-admin roles if applicable.
  • Running Live Verification against real audit payloads for trigger edits, user deletions, and role changes, and checking which agent languages exist on the account.
  • Walking through an end-to-end two-user clarification test across two live Zendesk accounts (Ask for clarification → Pending for me → reply → requester Mark Resolved) and profile-language switching.
  • Running authenticated ZCLI validation and local packaging:
zcli apps:validate dist
zcli apps:package dist

Limits of this version

Because this app runs entirely in your browser with no external backend, you will run into these limitations:

  • In-app visual alerts only: alerts refresh when the app is opened or visible. Custom Objects store rules and read state, not a background scheduler, so there are no email, Slack, or push notifications while Zendesk is closed.
  • Native Zendesk permissions and quotas apply: users need native Zendesk permissions for Audit Logs and the app’s Custom Objects. Restricting the private app in Admin Center does not replace reviewing Custom Objects record permissions.
  • Audit Log retention and API limits: historical depth depends on your Zendesk Audit Logs availability and API rate limits.

Here is the GitHub repo

The app’s repo is this one; go in and clone it to your local machine.

Before deploying the private app in production, review its permissions, Custom Objects access settings, and data-handling behavior with your development and security teams, and always validate in a sandbox first. You remain responsible for your Zendesk configuration, access controls, and operational governance.

Official documentation consulted

Contact

If you need help adapting this app, auditing a Zendesk governance workflow, or building a custom solution on Zendesk:

Jhoan Zabala

Project Manager / Product Owner / CX Consultant and Zendesk Admin.

Share on LinkedIn

Want something like this for your team?

The first meeting is on me, no charge. Tell me about your case and we’ll see what makes sense to automate.