Back to Prompt Library
App Building
Add a Full Internal Team Operations Layer
Add a real internal team operations system — staff dashboard, task assignment, internal comments, client visibility, escalations, operational checklists, audit trail, and performance tracking. Reuses your existing records.
The prompt
Scan my existing Base44 app first so you fully understand how it works before making changes. Analyze the current app structure, pages, layouts, navigation, entities, relationships, user roles, backend functions, automations, forms, client records, support flows, feedback flows, and admin logic. Figure out what exists, what can be reused, and where these new features belong. JOB: ADD a full internal team operations layer without breaking existing functionality. RULES: Don't rebuild working parts. Reuse auth/UI/data models/admin structure. Consistent design. Keep client-facing data separate from internal-only team data. Internal comments, operational notes, and staff metrics must NEVER be visible to clients or standard users unless explicitly allowed by role. Protect staff-only pages/actions/records with role-based access. Start with a full scan: app structure, entities storing client/operational data, existing roles, pages/dashboards to extend, backend functions for client workflows, what new entities/fields/functions are needed, and how to implement with minimal disruption. INTERNAL TEAM OPERATIONS: 1. STAFF DASHBOARD — my assigned tasks, overdue tasks, open escalations, recent internal comments, client status overview, operational checklist progress, team activity summary, response/resolution performance. 2. TASK ASSIGNMENT — title, description, related client/account, related support ticket/feedback/onboarding/project, assigned to, assigned by, priority, status (new/in progress/blocked/waiting/completed), due date, created/completed dates, tags, internal notes, reassignment, and filters by assignee/priority/status/due date/client. 3. INTERNAL COMMENTS — private team comments attachable to client records, tasks, support items, feedback items, onboarding records. Fields: author, timestamp, related record, body, internal-only visibility. Never exposed to client-facing views. 4. TEAM VISIBILITY INTO CLIENT STATUS — shared internal view: client lifecycle/status, assigned owner, open tasks, open support issues, pending onboarding, last internal update, priority/risk flag, next action due; with filter/search for accounts needing attention. 5. ESCALATION PROCESS — manual escalation, reason, level, escalated by/to, date/time, current status, resolution notes, mark resolved, visibility on staff dashboard. Integrate into existing support/issue tracking if present. 6. OPERATIONAL CHECKLISTS — recurring internal processes (client onboarding, support resolution, account review, renewal prep, internal QA). Reusable templates, items with completion state, assigned owner, related client/record, due dates, progress indicator, internal notes per checklist/item. 7. AUDIT TRAIL — who changed what, entity, record, action (created/updated/reassigned/escalated/status changed/completed/commented), old/new values, timestamp. Track tasks, client status changes, escalations, checklist completion, assignment changes, and internal operational record updates. Audit log view for authorized roles. 8. PERFORMANCE TRACKING — time to first response, time to assignment, time to resolution, avg completion time, overdue task count, escalation count, resolution count, response speed by staff, workload by staff. Show in staff dashboard, filterable by date range/staff/status. ROLE AND ACCESS CONTROL: Extend current roles. Minimum: Owner, Admin, Manager, Staff/support. Permissions control who can view the staff dashboard, assign/reassign tasks, escalate, resolve escalations, view audit logs, view performance, and add internal comments. DATA MODELING: Entities as needed — InternalTask, InternalComment, Escalation, ChecklistTemplate, ChecklistInstance, ChecklistItem, AuditLog, StaffPerformanceMetric. Don't duplicate existing client entities — link new operational records to existing client/ticket/onboarding/support/feedback records. BACKEND: Functions for task creation, assignment/reassignment, status updates, internal comment creation, escalation creation/resolution, checklist generation from templates, audit log recording, and performance metric calculation. Important actions auto-write to the audit trail. UI: Clear, operationally-useful staff dashboard using existing styling/components; filters/search/status badges/simple action controls; efficient for daily use; no clutter on client-facing pages; internal-only widgets only for authorized users. DELIVERABLES: What you found, what you reused, new entities/functions, new pages/dashboards, and the permissions approach. FINAL VALIDATION (3 rounds): Round 1 — new features exist, wired to real data, no client-facing user sees internal-only data. Round 2 — assignments, comments, escalations, checklists, and audit logging flows work; dashboard counts/status summaries update correctly. Round 3 — broken routes, broken permissions, missing relationships, UI inconsistency, duplicate logic; fix before marking done. Fully connect data, UI, permissions, and backend logic. Not scaffolding — a real internal team operations system.
App Building
#operations
#tasks
#escalations
#audit
