AI-Powered Message Drafts
The AI-Powered Message Drafts feature allows live chat agents to generate AI-suggested responses with a single click. Using OpenAI’s Assistant API, it analyzes the full conversation context and produces a professional draft that the agent can review, edit, and send.
Prerequisites
Before you can use AI-powered message drafts, you need:
- An OpenAI integration configured in your organization (see Integrate Quriobot with OpenAI)
- An OpenAI Assistant created in your OpenAI platform
- A subscription plan that supports this feature
Step 1: Configure OpenAI Integration
If you haven’t already set up an OpenAI integration:
- Go to Organization Settings → Integrations
- Add a new OpenAI integration with your API key
- Save the integration
For detailed instructions, see Integrate Quriobot with OpenAI.
Step 2: Create an OpenAI Assistant
You need an OpenAI Assistant that will generate the draft responses:
- Go to the OpenAI Assistants page
- Click Create to create a new assistant
- Give it a name (e.g., “Live Chat Draft Assistant”)
- Configure its instructions to match your support style and tone
- Select a model (e.g., GPT-4o)
- Save the assistant and note its ID
Step 3: Enable AI Drafts in Live Chat Settings
- Go to Organization Settings → Live Chat tab
- Scroll down to the AI Settings section
- Select your OpenAI integration from the “AI Integration” dropdown
- Select your OpenAI Assistant from the “AI Assistant” dropdown
- Enable the “Enable AI drafts” toggle
- Configure the Prompt Template (see below)
- Save your settings

Step 4: Configure the Prompt Template
The prompt template tells the AI how to generate draft responses. When AI drafts are enabled, a Prompt Template text field appears where you can customize the instructions.
The default template is:
You are a helpful customer support agent. Based on the conversation context, suggest a professional and empathetic response.
You can customize this to match your brand voice and support guidelines. For example:
- Specify the tone (formal, friendly, casual)
- Include specific product knowledge or FAQ references
- Set language preferences
- Define response format (short answers, detailed explanations, etc.)
Step 5: Using AI Drafts in Live Chat
Once configured, agents can use AI drafts while responding to live chats:
- Open a live chat conversation in the Control Room
- In the message composer toolbar, click the magic wand icon (✨)
- Wait a few seconds while the AI analyzes the conversation and generates a draft (you’ll see a “Generating draft…” indicator)
- The AI-generated draft will appear in the message editor
- Review and edit the draft as needed
- Send the message when you’re satisfied

How It Works
When you click the magic wand button:
- The full chat transcript is collected and converted to a readable format
- The transcript and your prompt template are sent to the configured OpenAI Assistant
- The AI analyzes the conversation context and generates a suggested response
- The draft is inserted into your message editor, ready for review
The AI considers the entire conversation history, including both visitor messages and previous agent responses, to generate contextually appropriate suggestions.
Tips for Best Results
- Customize your prompt template to match your support style — the more specific, the better the drafts
- Always review and edit AI-generated drafts before sending — they are suggestions, not final responses
- Train your OpenAI Assistant with specific instructions about your products, services, and common customer queries
- Use file search in your OpenAI Assistant to give it access to your knowledge base documents for more accurate responses
Quriobot Academy