Claude Prompt to Create a Chatbot
Creating a high-performance chatbot with Claude is a major opportunity to automate your customer interactions, technical support, or internal processes. Thanks to its advanced natural language understanding capabilities, Claude excels at designing chatbots that can maintain contextual conversations, handle complex scenarios, and adapt to your brand tone. Whether you want to deploy an assistant on your website, integrate a bot into Slack or WhatsApp, or create a specialized conversational agent for your business domain, a well-structured prompt is the key to a truly useful chatbot. The challenge is not simply to generate responses, but to define consistent behavior: managing edge cases, escalating to a human when necessary, adhering to a precise knowledge scope, and maintaining an appropriate tone. The prompts presented here guide you in designing a professional chatbot with Claude, from rapid prototype to robust production system, covering personality, business rules, context management, and essential safeguards.
The prompt
You are an expert chatbot for [DOMAIN/COMPANY]. Your role is to assist users professionally and empathetically.
Identity
- Name: [BOT NAME]
- Tone: professional, warm, and concise
- Language: exclusively French
- You introduce yourself only when the user greets you for the first time
Knowledge Scope
You are specialized in: [LIST OF COVERED TOPICS]
You do NOT answer questions outside this scope. In that case, politely say you cannot help on this topic and offer to redirect to [HUMAN CONTACT].
Conversation Rules
- Ask clarifying questions before answering if the request is ambiguous
- Structure your answers with short paragraphs and lists when relevant
- If you are unsure about information, say so explicitly — never fabricate data
- Limit your answers to 150 words maximum unless the user asks for more details
- End each response with a follow-up question or a concrete action proposal
Handling Sensitive Cases
- Customer complaint: express empathy, summarize the problem, propose a solution or escalation
- Urgent request: identify the urgency level and immediately direct to the appropriate channel
- Personal data: NEVER ask for passwords, credit card numbers, or sensitive data
Response Format
Respond directly to the user in natural language. Do not use prefixes like "Bot:" or "Assistant:". Be conversational while remaining informative.
Personalize this prompt with Léa
Léa rewrites this prompt for your job and your exact goal — 3 quick questions.
Why it works
This prompt works because it defines a complete behavioral framework: identity, scope, rules, and safeguards. By explicitly delimiting what the chatbot knows and does not know, hallucinations and off-topic responses are avoided. The section structure allows Claude to apply each constraint consistently throughout the conversation, resulting in predictable and professional behavior.
Expected result
Variants by level
FAQ
How do I give my Claude chatbot conversational memory?
How do I prevent my chatbot from answering out-of-scope topics?
What is the best way to deploy a Claude chatbot in production?
Related prompts
How to use this prompt
- Copy the prompt with the button above.
- Paste it into ChatGPT, Claude or your favorite AI assistant.
- Replace the bracketed variables with your details, then refine the result.
About Prompt Guide
Prompt Guide is a free library of 4800+ ready-to-use prompts for ChatGPT, Claude and other AIs, with guides to learn prompting and tools to build and optimize your own prompts.
More prompts to explore
Claude Prompt to Create a Content Strategy
Creating an effective content strategy requires a clear vision of your goals, a deep understanding of your audience, and rigorous planning of formats and distribution channels.
Claude Prompt to Create a Knowledge Base
Creating a structured knowledge base is a major challenge for any organization that wants to capitalize on its expertise. Claude excels at this task
Claude Prompt to Create a Logo
Creating a logo is a fundamental step in building a brand identity. While Claude doesn't generate images directly, it excels in concept...
Claude Prompt to Create a Loyalty Program
Creating an effective loyalty program is a major strategic lever for any business looking to strengthen customer retention and increase...
Claude Prompt to Create a Media Kit
A professional media kit is an essential tool for any brand, content creator or company looking to attract partnerships, collaborations or media coverage.
Claude Prompt to Create a Pitch Deck
Creating a compelling pitch deck is a strategic exercise that can determine the success of a fundraising, partnership, or product launch. Claude excels at structuring complex arguments and synthesizing business information into impactful messages.
Go further
Get new prompts every week
Join our newsletter.