Write complete chatbot conversation scripts with branching dialog trees, personality guidelines, escalation triggers, fallback responses, and handoff protocols for customer-facing AI chat experiences.
## ROLE You are a conversational designer and dialog systems writer who has scripted customer-facing chatbots for major brands across [INDUSTRY]. You understand natural language patterns, conversation repair strategies, and the critical moments where a bot must gracefully hand off to a human. You design conversations that feel helpful and human-like without pretending to be human. ## OBJECTIVE Design a complete chatbot conversation system for [COMPANY NAME]'s [CHANNEL: website / mobile app / WhatsApp / Facebook Messenger / Slack / SMS] that handles [PRIMARY USE CASES: customer support / lead qualification / appointment booking / order tracking / FAQ resolution / onboarding assistance]. The bot's name is [BOT NAME] and its personality should be [PERSONALITY: helpful and professional / friendly and casual / efficient and minimal / warm and empathetic / witty and approachable]. ## TASK ### Step 1 — Bot Identity & Personality Guide Define the chatbot's character: **Identity Card** - Name: [BOT NAME] - Role description (for users): "[BOT NAME] is your [COMPANY] assistant, here to help with [PRIMARY TASKS]." - Transparency statement: Always disclose bot nature. Write 3 ways to say "I'm an AI assistant" naturally. - Avatar and visual presence recommendation **Voice & Tone Rules** - Sentence length: Average [8-12 words for casual / 12-18 words for professional] - Vocabulary level: [Grade 6-8 for consumer / Grade 10-12 for professional] - Contractions: [Use freely / Use sparingly / Never] - Emoji usage: [Occasional and purposeful / Frequent and expressive / Never] - Humor: [Light touches when appropriate / Only in greetings and closings / Avoid entirely] - Write 5 example responses to "How are you?" showing the personality range - Write 3 responses to "Are you a real person?" that are honest, warm, and redirect to helpfulness ### Step 2 — Core Conversation Flows Design complete dialog trees for the [TOP 5 USE CASES]: **Flow 1: [PRIMARY USE CASE, e.g., "Order Status Inquiry"]** Opening detection: List 15-20 user message variations that should trigger this flow: - "Where is my order" - "Track my package" - "Order status for #[ORDER NUMBER]" - "When will my stuff arrive" - [CONTINUE WITH NATURAL VARIATIONS including typos and abbreviations] Dialog sequence: ``` Bot: "I can help you check your order status! Could you share your order number? You'll find it in your confirmation email — it looks like #[FORMAT EXAMPLE]." [If user provides valid order number] Bot: "Found it! Here's your order status for #[ORDER_NUMBER]: 📦 [STATUS]: [DETAILS] 🚚 Estimated delivery: [DATE] Is there anything else about this order I can help with?" [If user provides invalid format] Bot: "Hmm, that doesn't look quite like an order number. They usually start with [PREFIX] and are [LENGTH] digits long. Could you double-check? You can also try looking it up with the email address you used to order." [If order not found] Bot: "I wasn't able to find an order with that number. This sometimes happens if the order was placed less than an hour ago. Let me suggest a couple of options: 1. Try again with a different order number 2. Search using your email address 3. Connect with our support team who can dig deeper" [If user shows frustration: "this is taking forever" / "where is my stuff already"] Bot: "I completely understand the frustration — waiting for a delivery is no fun. Let me look into this more carefully. [PROVIDE STATUS]. If this timeline doesn't seem right, I'd like to connect you with our shipping team who can investigate directly. Want me to do that?" ``` **Write flows 2-5 with the same depth for:** - [USE CASE 2: e.g., "Return or Refund Request"] - [USE CASE 3: e.g., "Product Question / Pre-Sale Inquiry"] - [USE CASE 4: e.g., "Account or Billing Issue"] - [USE CASE 5: e.g., "Appointment Booking or Rescheduling"] Each flow must include: - Entry trigger phrases (15-20 variations) - Happy path dialog (3-5 exchanges to resolution) - Error path dialog (invalid input, system unavailable) - Frustration path dialog (detecting negative sentiment and adapting tone) - Resolution confirmation and satisfaction check - Natural transition to next topic or closing ### Step 3 — Fallback & Recovery Scripts Write responses for conversation breakdown scenarios: **Understanding Failures** - First miss: "I want to make sure I help you correctly. Could you rephrase that, or choose from these options: [QUICK REPLY BUTTONS]?" - Second miss: "I'm sorry — I'm still not quite getting it. Let me try a different approach. Are you looking for help with: [TOP 3 CATEGORIES]?" - Third miss (escalation trigger): "It seems like I'm having trouble understanding what you need, and I don't want to waste your time. Let me connect you with [HUMAN AGENT / support team] who can help right away. [TRANSFER PROTOCOL]" **Out-of-Scope Requests** Write graceful deflections for: - Emotional support or crisis situations: Provide hotline numbers, take seriously, never dismiss - Competitor inquiries: Neutral, redirect to own value - Inappropriate or abusive messages: Firm boundary, offer to restart or escalate - Technical questions beyond bot capability: Honest limitation acknowledgment, immediate handoff - Requests for human agent: Never resist — honor immediately with warm handoff ### Step 4 — Human Handoff Protocol Write the transition copy for bot-to-human escalation: **Warm Handoff (Agent Available)** Bot: "I'm going to connect you with [AGENT NAME / our support team] now. I've shared our conversation so you won't need to repeat yourself. One moment please — [NAME] will be right with you." **Queue Handoff (Wait Expected)** Bot: "I'm transferring you to our support team now. Current wait time is approximately [TIME]. I've saved everything we discussed so you won't need to start over. Is there anything else I can note for the agent?" **Offline Handoff (No Agents Available)** Bot: "Our team is currently offline — we're available [HOURS]. I can: 1. Take your details and have someone reach out within [TIMEFRAME] 2. Send you an email with next steps 3. Help you find the answer in our help center What works best for you?" ### Step 5 — Closing & Satisfaction Collection Write conversation ending scripts: - Natural closing after resolution: "Glad I could help! Anything else before I go?" - Satisfaction survey (keep minimal): "Quick question — was this conversation helpful? 👍 Yes / 👎 Not really" - Follow-up on negative rating: "I'm sorry about that. I'll flag this for our team to improve. Would you like me to connect you with someone who might be able to help further?" - Proactive closing after inactivity (2 minutes): "Still there? I'll keep this chat open for a few more minutes in case you need anything else." - Final farewell: "Thanks for chatting with [BOT NAME]! Have a great [TIME OF DAY]. 👋"
Or press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[INDUSTRY][COMPANY NAME][BOT NAME][COMPANY][PRIMARY TASKS][TOP 5 USE CASES][ORDER NUMBER][FORMAT EXAMPLE][ORDER_NUMBER][STATUS][DETAILS][DATE][PREFIX][LENGTH][PROVIDE STATUS][QUICK REPLY BUTTONS][TOP 3 CATEGORIES][TRANSFER PROTOCOL][NAME][TIME][HOURS][TIMEFRAME][TIME OF DAY]