Appbricx
Features

Build

  • Coding agents and MCP
  • Verify testing
  • Builder console

Data

  • Postgres database
  • Data API
  • Realtime

Users

  • Row-level security
  • Sign-in and auth
  • Payments

Logic

  • Workflows and jobs
  • AI in your app
  • Integrations

Ship and own

  • Backups and rollback
  • Hosting and domains
  • Self-host and export
All features
ShowcaseTemplatesPricingDocs
Log inStart free
  • Features
  • Showcase
  • Templates
  • Pricing
  • Docs
  • Log in

Build

  • Coding agents and MCP
  • Verify testing
  • Builder console

Data

  • Postgres database
  • Data API
  • Realtime

Users

  • Row-level security
  • Sign-in and auth
  • Payments

Logic

  • Workflows and jobs
  • AI in your app
  • Integrations

Ship and own

  • Backups and rollback
  • Hosting and domains
  • Self-host and export
  1. Home
  2. Templates
  3. Reply deadline escalation

Workflow · Support

Reply deadline escalation

Every 30 minutes, finds rows that have sat in a waiting status (new, open, waiting on us) for longer than your deadline, stamps them escalated_at and notifies the role you choose, plus the assigned person when you name one. When a row moves back into the waiting status its clock restarts, so a second wait can escalate again.

Use in AppbricxFree. Already have an account? Log in
View the files

use_template { slug: "reply-deadline-escalation" } adds

Fields
‹ticket›.waiting_since, ‹ticket›.escalated_at
Workflows
reply-deadline-check, reply-deadline-restart

What it adds to your app

Fields waiting_since and escalated_at. A check every 30 minutes. A workflow that restarts the clock when a row waits again.

Fields added to your tables

  • ‹ticket›.waiting_since
  • ‹ticket›.escalated_at

Workflows

  • reply-deadline-check Escalate ‹ticket› rows past the reply deadline. On schedule every 30m over ‹ticket›
  • reply-deadline-restart Restart the reply clock when a ‹ticket› waits again. On ‹ticket› updated

Where it attaches

Params point the template at your own tables and roles. Leave out the ones with defaults; a wrong one is refused with the options your app has.

ParamWhat it isExample
ticketThe table of tickets, requests or enquiries that need a reply. Optional.ticket
status_fieldThe status enum. Optional.status
waiting_valueThe status value that means a reply is owed. Optional.new
hoursHow many hours a row may wait before it escalates. Optional.4
escalate_roleThe role told about late rows. Optional.lead
assignee_refOptional: the ref naming who should reply, so they are told too. Optional.assignee_id

Use with your coding agent

  1. Connect the Appbricx MCP server to Claude Code, Cursor or any MCP client (quickstart).
  2. Paste the prompt. The agent reads the template, previews the merge with dry_run and shows you the diff.
  3. It applies to dev. Check it, then deploy when you are happy.
Prompt
Add the Reply deadline escalation template (slug "reply-deadline-escalation") to my Appbricx project. Read it with get_template, run use_template with dry_run first and show me the diff, then apply it. Ask me where it attaches if you can't tell from my contract (ticket: tickets table; status_field: status field; waiting_value: waiting status; hours: deadline in hours; escalate_role: escalate to; assignee_ref: assigned person).
MCP call
{
  "tool": "use_template",
  "arguments": {
    "slug": "reply-deadline-escalation",
    "project_id": "<your project id>",
    "params": {
      "ticket": "ticket",
      "status_field": "status",
      "waiting_value": "new",
      "hours": "4",
      "escalate_role": "lead",
      "assignee_ref": "assignee_id"
    },
    "dry_run": true
  }
}
CLI
appbricx templates use reply-deadline-escalation --param ticket=ticket --param status_field=status --param waiting_value=new --param hours=4 --param escalate_role=lead --param assignee_ref=assignee_id --dry-run

Goes well with

  • Relay

    App. Support desk with SLA timers, an email-to-ticket webhook and a lead dashboard.

    customeragentleadticketmessage
  • Welcome email

    Workflow. Emails every new person a short, friendly welcome the moment they sign up.

    welcome-email
  • Slack message on signup

    Workflow. Posts to a Slack channel whenever someone new signs up, with their name and email.

    slack-on-signup

Your agent adds it. Appbricx runs it.

Start freeAll templates
Appbricx

The backend, runtime and hosting for apps your coding agent builds. On our cloud, in yours, or on your own servers.

Features

Coding agents and MCPVerify testingBuilder consolePostgres databaseData APIRealtimeRow-level securitySign-in and authPaymentsWorkflows and jobsAI in your appIntegrationsBackups and rollbackHosting and domainsSelf-host and exportAll features

Product

ShowcaseTemplatesPricingFor coding agentsPrivate cloudBring your own AI keyFAQ

Compare

Appbricx vs SupabaseLovable alternativeBolt alternativeFor freelancersFor agencies

Resources

DocumentationReferenceBlogSupportContact

© 2026 Appbricx. All rights reserved.

TermsPrivacyCookiesAcceptable Use