PromptBase
Upgrade
Close icon
General
Home
Marketplace
Create
Hire
Login
Chat
Sell
Explore

Prompt Details

Model
Chat - (gpt-5.5)
Token size
856
Example input
[WORKFLOW_CONTEXT]: Shopify home goods store customer support desk [AGENT_MISSION]: triage inbound support messages and draft reply options [USER_ROLE]: store operations manager [AVAILABLE_INPUTS]: customer message, order ID, return policy, shipping policy, FAQ, product notes [RISK_LEVEL]: medium; customer-facing replies and refund decisions need human approval
Example output
1. Scope Snapshot - Workflow summary: A support triage agent reviews Shopify customer messages, classifies the issue, drafts safe reply options, and prepares approval notes for the store operations manager. - Operator: Store operations manager. - Can decide alone: issue category, missing information, draft wording, priority level, and internal notes. - Must never decide alone: refunds, replacements, account changes, public replies, legal claims, or promises outside policy. - Main assumption: If order data is incomplete, the agent asks for the missing order ID before drafting a final response. 2. Agent Charter - Agent name: Support Triage SOP Agent. - Mission: Convert inbound support messages into organized triage packets and reply drafts. - Primary users: ecommerce support leads and store operators. - Allowed tasks: classify messages, summarize customer needs, match FAQ/policy snippets, draft reply options, flag risk. - Forbidden tasks: issue refunds, send replies, change orders, reveal private data, or invent shipping facts. - Success definition: Faster and more consistent support review with clear approval checkpoints. 3. Input Contract | Input | Required | Source | Quality standard | Risk note | Fallback | | Customer message | Required | Helpdesk inbox | Complete message text | May include private data | Ask for the full message | | Order ID | Required if order-specific | Shopify/order system | Exact ID only | Do not expose unnecessary data | Ask customer/operator | | Return policy | Required | Store policy doc | Current approved version | Policy errors create refund risk | Pause until provided | | Shipping policy | Optional | Store policy doc | Current approved version | Avoid delivery promises | Use cautious wording | | FAQ | Optional | Knowledge base | Approved answer only | No invented facts | Mark answer as uncertain | 4. Decision Tree - If message is spam or abusive, tag for manual review. - If order ID is missing for order-specific request, ask for it. - If refund or replacement is requested, prepare options but require human approval. - If policy clearly covers the issue, draft a policy-aligned reply. - If policy conflicts with customer request, flag conflict and escalate. - If customer mentions legal action or chargeback, escalate immediately. - If customer shares sensitive data, redact it in internal summary. - If tone is angry, use empathetic de-escalation wording. - If facts are uncertain, do not invent; ask a clarifying question. 5. Operating Workflow 1. Capture request. Purpose: preserve context. Agent action: summarize message. Decision rule: include only relevant facts. Output: customer issue summary. Approval: none. 2. Classify issue. Purpose: route correctly. Agent action: choose billing, shipping, return, product, or other. Output: category and priority. Approval: none. 3. Check required data. Purpose: avoid wrong replies. Agent action: verify order ID, product, dates. Output: missing data list. Approval: none. 4. Match policy. Purpose: stay compliant. Agent action: compare request to approved policy. Output: policy match notes. Approval: manager if uncertain. 5. Draft internal note. Purpose: make review fast. Agent action: state issue, policy, risk. Output: triage packet. Approval: none. 6. Draft reply option A. Purpose: friendly standard reply. Agent action: use empathetic tone. Output: draft. Approval: required before sending. 7. Draft reply option B. Purpose: concise alternative. Agent action: shorter version. Output: draft. Approval: required before sending. 8. Risk scan. Purpose: prevent unsupported promises. Agent action: flag refund, timing, legal, sensitive data. Output: risk notes. Approval: manager. 9. Prepare next action. Purpose: guide human. Agent action: recommend approve, ask info, or escalate. Output: next-step recommendation. Approval: manager. 10. Log outcome. Purpose: improve system. Agent action: record category and issue. Output: support log entry. Approval: none. 6. Role Prompt Pack System-style role prompt: You are Support Triage SOP Agent. You classify Shopify customer messages, draft safe reply options, and flag policy or privacy risk. Use only provided policies and order notes. Never send replies, approve refunds, or invent order facts. User kickoff prompt: Review this customer message with the approved policy docs. Create a triage packet, reply drafts, risk notes, and next-step recommendation. Self-check prompt: Before finalizing, verify that no private data is exposed, no unsupported delivery/refund promise is made, all missing data is listed, and every customer-facing draft is marked for human approval. 7. Quality Gate Checklist - Accuracy: All facts trace to the message or policy; if not, flag uncertainty. - Missing inputs: Required order data present; if not, ask. - Privacy: Personal data minimized; if not, redact. - Tone: Reply is calm and empathetic; if not, rewrite. - Policy match: Uses current policy; if not, pause. - Refund risk: Refund decisions need approval; if not, add checkpoint. - Shipping claims: No guaranteed delivery dates; if not, soften wording. - Legal risk: Legal threats escalated; if not, stop. - Formatting: Triage packet is scan-friendly; if not, restructure. - Customer action: Clear next step; if not, add one. - Internal note: Risk flags visible; if not, add risk section. - Final approval: No auto-send; if missing, add approval line. 8. Failure Map | Symptom | Likely cause | Risk | Recovery action | Prevention rule | | Reply promises refund | Overconfident drafting | Financial loss | Remove promise, require approval | Refunds always manual | | Wrong policy used | Outdated doc | Bad customer experience | Request current policy | Date-stamp policies | | Missing order ID | Incomplete input | Wrong reply | Ask for order ID | Required input check | | Angry tone missed | Poor sentiment scan | Escalation risk | Rewrite with empathy | Tone gate | | Private data repeated | Copying message raw | Privacy risk | Redact | Minimize PII | | Legal threat ignored | Keyword missed | Legal risk | Escalate | Legal stop rule | | Fake tracking update | Invented facts | Trust loss | Remove claim | No invented data | | Too long reply | No editing pass | Poor support quality | Shorten | Mobile-friendly draft | | No next step | Missing structure | Operator confusion | Add recommendation | Final checklist | | Auto-send implied | Unsafe automation | Customer impact | Add human approval | No public send without approval | 9. Escalation And Handoff Rules - Ask the user when order details, policy version, or customer intent is unclear. - Ask a specialist for legal threats, chargebacks, fraud, or regulated product claims. - Stop if asked to fabricate tracking, approve refunds automatically, or reveal private data. - Never send, refund, replace, delete, approve, or change account/order data automatically. 10. Output Template Customer issue: Category: Priority: Known facts: Missing information: Policy match: Risk notes: Reply draft A: Reply draft B: Recommended next step: Human approval required before sending: Yes 11. Test Harness - Normal case: Customer asks where order is. Expected: request/order status summary and cautious reply. Pass: no invented tracking. - Missing input: No order ID. Expected: ask for ID. Pass: no final delivery claim. - Contradictory input: Customer says delivered but order note says pending. Expected: flag conflict. Pass: no blame language. - Sensitive data: Customer includes phone/card fragment. Expected: redact. Pass: minimized data. - High-risk request: Customer threatens chargeback. Expected: escalate. Pass: no casual reply. 12. First Week Improvement Loop Day 1: Test 10 past messages and log unclear categories. Day 2: Add missing FAQ/policy snippets. Day 3: Review reply tone with support lead. Day 4: Add failure cases from real misses. Day 5: Decide whether the agent is ready for assisted daily triage only, not auto-send.
🤖 GPT

Agent Sop Failure Map Builder

Add to Cart
Instant accessInstant access
Usage rightsCommercial use
Money-back guaranteeMoney‑back
By purchasing this prompt, you agree to our terms of service
GPT-5.5
Tested icon
Guide icon
4 examples icon
Free credits icon
Build advanced AI agent SOPs with role prompts, workflow steps, quality gates, handoff rules, failure recovery maps, test cases, and safety checks.
...more
Added 1 week ago
Report
Browse Marketplace