UIPrompt Library
Account
Fintech and ProductivityFreeSaaSsingle-screenStructure checked

ClearanceOS SaaS Routing Rule Workspace

Build a support-routing rule, inspect matching tickets and download a JSON configuration with this complete free prompt and working example.

Prompt output preview

ClearanceOS SaaS Routing Rule Workspace

ClearanceOS SaaS Routing Rule Workspace prototype poster
AI-reviewed exampleExample overview
Open interactive preview

Try the working example

  • Edit routing conditions and assigned owner
  • Inspect deterministic ticket matches
  • Prepare, cancel and retry a local configuration

Example output from this prompt. Your result will vary with your AI tool and edits.

Prompt
Build ClearanceOS, a useful SaaS operations rule-preview workspace. Deliver one self-contained index.html using semantic HTML, CSS and vanilla JavaScript. The buyer job is to draft a support-ticket routing rule, test it against visible fictional records, and export an inspectable configuration for a developer. This is a local demonstration: never send messages, connect a service, activate a workflow, or imply server persistence. Do not return another design brief; build the working UI.

Inputs and customization
- Product name: ClearanceOS. Audience: operations managers reviewing a support-routing rule with an engineer. Tone: calm, specific, trustworthy. Customize name, colors, rule defaults and the fixture array in one clearly labeled configuration section.
- Default rule: “Urgent enterprise tickets”, minimum priority High, customer tier Enterprise, destination Escalations, owner Maya Chen. Priority order Low < Normal < High < Urgent. Matching is priority >= selected minimum AND customer tier equals selection; “Any tier” disables only the tier condition.
- Include exactly six fictional tickets: T-1041 Authentication loop (Enterprise, Urgent), T-1042 Invoice export (Growth, High), T-1043 Webhook retries (Enterprise, High), T-1044 Invite email delay (Starter, Normal), T-1045 Audit log request (Enterprise, Low), T-1046 Workspace timeout (Growth, Urgent). Show the fictional data label and the rule's matching semantics next to the records.
- Editable rule name, minimum priority, tier, destination (Escalations, Support, Billing), owner (Maya Chen, Alex Rivera, Unassigned). Owner must be assigned before generating the export. Rule name trimmed length 3–60 characters. All selects must use the declared choices; never trust unexpected values. Users may adapt these options and fixtures deliberately in code.

Layout and visual craft
- A restrained warm-white workbench with deep evergreen ink, forest-green primary action and subtle amber status. Use native system fonts, generous whitespace, readable labels, borders and a strong typographic hierarchy. No gradients, decorative stock imagery, animated counters, fake logos, invented customer proof or paid pricing.
- Header contains wordmark, “Local sandbox” badge and a concise privacy statement. Main title “Test the rule before it runs” and one short description explain the buyer job.
- Desktop has a compact rule editor on the left and larger live match preview on the right. Below the preview, show an export area. Keep the primary action and the match count visible in the desktop first viewport. At <=760px stack editor, preview and export, with the same meaningful order. Support 320px without horizontal overflow. Inputs/buttons are comfortable touch targets, text wraps, tables become readable ticket cards if needed. Never hide important fields or action labels on mobile.
- The match preview immediately recomputes when controls change. Show “2 of 6 tickets match” for defaults, individual Match/No match labels and concise reasons for every record. Show a clear zero-match explanation and “Reset example” recovery. Do not communicate match state by color alone.

Working interactions and integrity
- A single “Prepare configuration” action validates rule name and assigned owner, shows inline field errors with aria-invalid and focuses the first invalid field. Clear errors after correction. Invalid data must never produce a file.
- Preparing shows an announced pending state for a short local delay (~400ms), disables duplicate preparation and offers Cancel. Capture an immutable snapshot of validated inputs and matching ticket IDs when preparation starts. Disable editor controls while pending; Cancel restores editing and must prevent late completion. Reset also cancels pending work.
- Success shows an explicitly local JSON configuration in a readonly textarea with a real “Download JSON” button and “Select JSON” manual recovery action. Filename clearanceos-rule.json; document fields: schemaVersion:1, mode:"local-demo", rule:{name,minimumPriority,tier,destination,owner}, matchedTicketIds:[...]. No timestamp is needed. Preview bytes and downloaded bytes must match, with a trailing newline allowed consistently.
- Editing after preparation retains the previous immutable export but marks it “Inputs changed — prepare again”; disable download until a fresh preparation succeeds. Clear manual JSON selection state naturally when preparing again. Never silently rewrite an already prepared snapshot.
- Download must create an actual Blob file, trigger an anchor download and clean up its object URL without premature revocation. Announce “Download requested” rather than claiming browser save completion. Catch download errors, keep JSON visible and allow Retry via the same button or manual Select JSON.
- Include a collapsed “Test recovery” details element with a clearly labeled checkbox “Simulate preparation failure” and checkbox “Simulate download failure”. These local QA controls must deterministically produce useful inline recovery messages, retain entered inputs, and permit retry when unchecked. Preparation failure must not leave a spinner or downloadable stale file. Test Cancel, Reset, validation, no matches and successful retry.
- Reset example restores all defaults, clears pending work, errors, prepared JSON and recovery simulation controls; recomputes two matches. No confirmation needed because this is a labeled disposable example.

Accessibility, safety and constraints
- Use one h1, real labels, fieldsets where useful, visible keyboard focus, text status and aria-live="polite" for derived count and preparation/download status. Errors use accessible descriptions; do not rely on placeholder labels. At 200% zoom the content reflows. Honor prefers-reduced-motion; decoration needs no motion. Use deliberate pending/status/focus feedback only.
- Use textContent or DOM node creation for all editable content. Never inject user strings as HTML. Do not fetch data or external fonts, use localStorage, add analytics, or collect data. No dependencies, Canvas or framework required. Include a data favicon to prevent unrelated network requests. Ensure no console errors.
- The header/footer must state “Fictional tickets. Nothing is sent or activated. Changes reset on reload.” No AI generation claim inside the demo. This prototype does not establish live integration, production security or compatibility with other models.

Acceptance checklist
1. At 1440, 1024, 768, 390 and 320px there is no overflow, clipping or hidden action; mobile reading order is editor → tickets → export.
2. Default match IDs are T-1041 and T-1043. Any tier plus Urgent yields T-1041 and T-1046; Enterprise plus Urgent yields T-1041; Starter plus High yields zero with recovery guidance.
3. Empty or too-short name and Unassigned owner block preparation with field-specific messages and keyboard focus; correction succeeds. Treat literal HTML-like rule names as text.
4. Cancel and Reset during preparation prevent stale completion. Double-click cannot create two pending operations. Prepared config is immutable, and edits disable download with stale guidance.
5. Actual JSON download parses and exactly matches the displayed snapshot. It has the declared schema, chosen values and correct matched IDs. Select JSON focuses and selects the complete configuration for manual copying.
6. Simulated preparation and download failures are truthful and recover after unchecking. JSON survives a download failure, while failed preparation cannot expose stale downloadable data.
7. Keyboard-only form, reset, prepare, cancel, download and manual-select actions work. Verify contrast, labels, focus, loading/error/empty states, reduced motion and zoom in a real browser. Report actual tool/model/test date outside the demo without inventing human review.
Share a result example

Paste a public image URL from a result this prompt helped create. Submissions stay private until reviewed.

Related prompts