ChatGPT for Chatbot Script Writing
10 copy-paste prompts that generate production-ready chatbot scripts, welcome flows, FAQ responses, objection handling, and escalation paths.
Chatbot script writing is one of the most underappreciated applications of ChatGPT. Most chatbots fail not because the underlying technology is bad, but because the scripts are written by committee in Microsoft Word by people who have never studied conversational design. They are too long, too formal, ambiguous at decision points, and missing edge cases.
ChatGPT fixes this by generating scripts that enforce optimal message length, handle disambiguation naturally, and cover the edge cases humans routinely overlook. The 10 prompts below are structured to be immediately usable, paste, customize the bracketed variables, and run. Each one includes a pro tip explaining the design principle behind the prompt structure.
The Core Prompt Framework for Chatbot Scripts
Every high-performing chatbot script prompt shares four elements: (1) the specific scenario, (2) the company and industry context, (3) a word limit per message, and (4) the desired output format. Omit any of these and ChatGPT defaults to generic, verbose output that needs heavy editing before it is useful in a real chatbot interface. Include all four and the first output is typically 80% deployment-ready.
10 ChatGPT Prompts for Chatbot Script Writing
Welcome Message + Expectation Setting
Specificity reduces user frustration. A welcome message that says 'I can help with orders, returns, and product questions' performs 40% better than 'I'm here to help!'
FAQ Response Block (3 Questions)
JSON output makes FAQ scripts directly usable in chatbot platforms like Intercom, Drift, or Zendesk messaging.
Objection Handling Script
Objection handling scripts should never argue, they acknowledge, reframe, and lower the next commitment ask.
E-commerce Order Status Flow
Action annotations make these scripts immediately usable as technical specs for a developer building the chatbot logic.
Escalation to Human Agent
Avoiding 'unfortunately' is counterintuitively effective, it tends to amplify negative framing. Use 'I want to make sure you get the right help' instead.
Lead Qualification Chatbot Script
Confirmation messages ('Got it, you're at a 50-person company') increase completion rates by signaling the bot is paying attention.
SaaS Onboarding Chatbot Flow
Offering video as an alternative to text at step 4 consistently reduces early churn by accommodating visual learners.
Chatbot Conversation for Appointment Booking
Presenting 3 specific available slots outperforms open date-picker inputs by 35% in appointment completion rate.
Customer Satisfaction Survey via Chatbot
CSAT surveys with a small reward (even a coupon code) achieve 3x higher completion rates than uncompensated surveys.
Re-engagement Chatbot for Inactive Users
Referencing the user's last action ({{last_action}}) personalizes re-engagement and avoids the generic 'We miss you!' opener that has near-zero open rates.
How to Structure a Full Chatbot Conversation Tree
Individual script prompts are the building blocks. A full chatbot requires a conversation tree: a map of all possible paths a user can take through the bot, including error states, dead-ends, and escalation branches. Use ChatGPT to build this systematically:
- Start with the 5 most common user intents. Pull these from your actual support ticket data or ask ChatGPT: "List the 5 most common reasons a customer contacts [type of company]." These become your main conversation branches.
- Write the "happy path" for each intent first. This is the optimal flow where the user provides clear input and the bot resolves their need. Use the prompts above as starting points for each branch.
- Map the failure states. Prompt ChatGPT: "For each step of this chatbot flow, write the fallback message the bot sends if the user's response is unclear or off-topic." Fallback messages are where most chatbot scripts have critical gaps.
- Write the escalation logic. Every branch needs a defined escalation trigger. Use Prompt 5 above (Escalation to Human Agent) to write these consistently across all branches.
- Test with edge-case prompts. Ask ChatGPT: "Act as a frustrated customer who gives unclear answers. Walk through this chatbot flow and tell me where the bot would break." This surfaces gaps before deployment.
Channel-Specific Chatbot Script Considerations
Chatbot scripts must be tailored to the channel, what works in a web chat widget fails on WhatsApp. Key differences:
| Channel | Max message length | Rich media | Button support | Tone guideline |
|---|---|---|---|---|
| Web chat widget | 80-100 words | Images, carousels | Yes (unlimited) | Professional-casual |
| WhatsApp Business | 40-60 words | Images, PDFs | Yes (3 max) | Very casual, concise |
| SMS chatbot | Under 160 chars | None | Number options only | Ultra-concise |
| Facebook Messenger | 60-80 words | Rich cards, video | Yes (3 quick replies) | Casual, emoji-friendly |
| Slack bot | No limit (readable) | Block Kit, images | Yes (action blocks) | Professional, technical-friendly |
| Email bot | 100-200 words | Full HTML | CTA buttons | Professional, more formal |
When prompting ChatGPT for channel-specific scripts, add the channel name and its constraints: "Write this for a WhatsApp Business chatbot, maximum 60 words per message, 3 quick-reply button options only, casual tone." ChatGPT adjusts output format and density accordingly.
For broader ChatGPT prompting techniques including system prompts, Custom Instructions, and few-shot examples, the ChatGPT prompts hub covers advanced frameworks for every business use case. For prompts specifically focused on AI chatbots and automated conversation scripts, see our AI chatbot prompts library.