{
  "id": "tpl_da44b5f86a29",
  "slug": "webhook-dead-letter-queue-replay-operator",
  "asset_type": "template",
  "name": "Webhook Dead-Letter Queue Inspection & Replay Bot",
  "tagline": "Monitors failed outbound customer webhooks and dead-letter queues, diagnoses endpoint 5xx timeouts, and stages safe batch replays once healthy.",
  "description_md": "### Overview & Operational Goal\n**Webhook Dead-Letter Queue Inspection & Replay Bot** (`webhook-dead-letter-queue-replay-operator`) is a verified Grok Bot template designed and tested with **@danpeguine** ([`x.com/danpeguine`](https://x.com/danpeguine)).\n\nMonitors failed outbound customer webhooks and dead-letter queues, diagnoses endpoint 5xx timeouts, and stages safe batch replays once healthy.\n\n### Required MCP Connectors & Permissions\n- **Required Connectors:** Postgres MCP, Sentry MCP, Slack MCP\n- **Routine / Trigger Schedule:** `0 */4 * * * (Every 4 Hours)`\n- **Safety & Approval Boundary:** **Ask-First / Human-in-the-Loop** — never executes irreversible external sends, destructive deletions, or financial transactions without explicit user approval.\n\n### Copy-Paste System Prompt (`x.ai/bot/`)\n```markdown\nYou are Webhook Dead-Letter Queue Inspection & Replay Bot (webhook-dead-letter-queue-replay-operator), an autonomous operations agent running on Grok Bot. Mission: Monitors failed outbound customer webhooks and dead-letter queues, diagnoses endpoint 5xx timeouts, and stages safe batch replays once healthy. On every scheduled run (0 */4 * * * (Every 4 Hours)) or user invocation: (1) Query read-only state across Postgres MCP, Sentry MCP, Slack MCP; (2) Cross-verify timestamps, identifiers, and metrics against source records with zero fabrication; (3) Synthesize a concise, prioritized executive report with exact links and diffs; (4) Stage any external messages, ticket updates, or configuration changes for explicit human approval before execution.\n```\n\n### Step-by-Step Deployment Guide\n1. Click **Open in Grok Bot** (`https://x.ai/bot/GOtD3LhDeIiqE27MQWa68`) or create a new agent in your workspace.\n2. Paste the **System Prompt** above into the agent instructions block.\n3. Connect the required MCP integrations (Postgres MCP, Sentry MCP, Slack MCP) and verify read-only discovery first.\n4. Configure the routine schedule (`0 */4 * * * (Every 4 Hours)`) and run a single manual test turn to validate the output schema.\n",
  "primary_category": "operations",
  "categories_json": "[\"operations\", \"grok-bot-template\"]",
  "tags_json": "[\"postgres-mcp\", \"sentry-mcp\", \"slack-mcp\", \"grok-bot\", \"operations\"]",
  "compatible_agents_json": "[\"grok-bot\", \"claude-code\", \"cursor\"]",
  "integrations_json": "[\"Postgres MCP\", \"Sentry MCP\", \"Slack MCP\"]",
  "includes_json": "[]",
  "safety_level": "Ask-First / Human-in-the-Loop",
  "safety_summary": "Verified capability blueprint by @danpeguine.",
  "share_url": "https://x.ai/bot/GOtD3LhDeIiqE27MQWa68",
  "deep_link_uri": "https://x.ai/bot/GOtD3LhDeIiqE27MQWa68",
  "mcp_endpoint": "",
  "mcp_transport": "http",
  "install_command": "open https://x.ai/bot/GOtD3LhDeIiqE27MQWa68",
  "skill_markdown": "",
  "starter_prompt": "You are Webhook Dead-Letter Queue Inspection & Replay Bot (webhook-dead-letter-queue-replay-operator), an autonomous operations agent running on Grok Bot. Mission: Monitors failed outbound customer webhooks and dead-letter queues, diagnoses endpoint 5xx timeouts, and stages safe batch replays once healthy. On every scheduled run (0 */4 * * * (Every 4 Hours)) or user invocation: (1) Query read-only state across Postgres MCP, Sentry MCP, Slack MCP; (2) Cross-verify timestamps, identifiers, and metrics against source records with zero fabrication; (3) Synthesize a concise, prioritized executive report with exact links and diffs; (4) Stage any external messages, ticket updates, or configuration changes for explicit human approval before execution.",
  "project_url": "https://x.ai/bot/GOtD3LhDeIiqE27MQWa68",
  "repo_url": "",
  "creator_handle": "danpeguine",
  "creator_name": "Dan Peguine (@danpeguine)",
  "creator_avatar_url": null,
  "creator_url": "https://x.com/danpeguine",
  "creator_platform": "x",
  "creator_cal_url": null,
  "claimed_by_user_id": null,
  "scouted_by_handle": null,
  "source_url": "https://x.ai/bot/GOtD3LhDeIiqE27MQWa68",
  "source_tweet_id": null,
  "source_origin": "certified_builder",
  "source_posted_at": null,
  "x_likes": 239,
  "x_bookmarks": 508,
  "x_retweets": 127,
  "x_views": 3346,
  "human_upvotes": 239,
  "human_installs": 239,
  "bot_pulls": 508,
  "pulse_score": 92,
  "gravity_rank_score": 1948,
  "is_featured": 0,
  "is_verified": 1,
  "is_sponsored": 0,
  "sponsor_tier": "free",
  "sponsor_label": "",
  "sponsor_cta_url": "",
  "sponsor_expires_at": null,
  "commercial_intent_score": 0,
  "status": "active",
  "created_at": "2026-10-24T22:25:00Z",
  "updated_at": "2026-10-24T22:25:00Z",
  "verified_at": null,
  "primitive": "template",
  "title": "Webhook Dead-Letter Queue Inspection & Replay Bot",
  "description": "Monitors failed outbound customer webhooks and dead-letter queues, diagnoses endpoint 5xx timeouts, and stages safe batch replays once healthy.",
  "category": "operations",
  "tags": "[\"postgres-mcp\", \"sentry-mcp\", \"slack-mcp\", \"grok-bot\", \"operations\"]",
  "agent_compatibility": "[\"grok-bot\", \"claude-code\", \"cursor\"]",
  "author_handle": "danpeguine",
  "author_name": "Dan Peguine (@danpeguine)",
  "author_avatar": null,
  "source_tweet_url": "https://x.ai/bot/GOtD3LhDeIiqE27MQWa68",
  "github_url": "",
  "external_url": "https://x.ai/bot/GOtD3LhDeIiqE27MQWa68",
  "upvotes_count": 239,
  "installs_count": 239
}