Why Prompts Matter?
Voice assistants rely on prompts to understand their role, how to behave, and what to do in any conversation. Writing strong prompts:- Ensures your assistant responds with relevance and clarity
- Increases the percentage of calls completed without human intervention
- Reduces misunderstanding and confusion for customers
- Improves accuracy in capturing and summarizing information
Measuring Success
In ConverseKit, success rate refers to the number of calls completed by the assistant—without needing human help—divided by the total number of calls.🎯 Goal: A high success rate means your prompt is doing its job.Keep in mind:
- Simpler use cases succeed faster
- Complex workflows need iteration
- One small prompt change can greatly improve results
The Prompting Process
Here’s how to build and refine your prompts step by step:
1
Design
Craft the first version of your prompt, keeping the assistant’s job, tone, and flow in mind.
2
Test
Use the Test Assistant section inside Salesforce to simulate real calls. Speak like a real user.
3
Refine
Tweak your wording based on results. Was something confusing? Too vague? Add clarity.
4
Repeat
Test again. Adjust. Test again. Every round of feedback makes your prompt stronger.
Prompt Structure:
Organize prompts into sections
Break your system prompt into clearly defined parts. This helps guide the AI agent more effectively:1
[Identity]
Define the agent’s persona and role.Example
2
[Style]
Set tone and stylistic rules.Example
3
[Response Guidelines]
Give detailed formatting or flow instructions.Example
4
[Task & Goals]
Break down what the assistant needs to accomplish, step by step.Example
Handling Complex Tasks
For multi-step flows or conditional logic, break the task into small stages. Make sure the assistant always knows when to move forward or ask for clarification. ExampleControl Timing and Turn-Taking
Let your assistant know when to pause and wait for a user response before continuing. This makes the conversation feel natural and human-like. ExampleIntegrate Actions (Tools & APIs )
Specify when and how the agent should use external tools or APIs(Flows and Rest API Actions). Reference tools by their designated names and describe their functions. ExampleAdd Fallback & Error Handling
Always include fallback options and error-handling mechanisms in your prompts. Fallbacks reduce drop-offs and make conversations more resilient and also gracefully handle unexpected user inputs or system errors. ExampleExample: Appointment setter prompt
Additional Tips for Crafting Better Prompts
Creating effective voice interactions is part science, part creativity. Use the following strategies to improve your assistant’s clarity, tone, and success rate:- Iterate as much as possible. AI is driven by experimentation and iteration—refining prompts through trial and error will help you achieve more precise, relevant, and effective responses.
- Use Markdown formatting Structure your content for clarity and easy scanning.
- Emotional prompting Use expressive language to shape the AI’s tone and create more engaging, relatable responses. For example, “Can you tell me a cozy bedtime story that’s warm and comforting?”
-
Add voice realism
Incorporate natural speech elements like stuttering, hesitations, and pauses:
- Stuttering: Use repeated letters or sounds (e.g., “I-I-I don’t know”).
- Hesitations: Add fillers like “uh,” “um,” or “well” (e.g., “I was, uh, thinking about it”).
- Pauses: Use ellipses (”…”) to indicate a pause (e.g., “I… I don’t know how to say this”).
- Emotional emphasis: Use capital letters, exclamation marks, or ellipses to reflect tone (e.g., “I can’t… I just can’t believe it!”).
- Numbers sound robotic? Spell out numbers in prompts for more natural-sounding speech.
-
How to make assistants sound more human-like?
Add personality and tone to the assistant. For example:
