Strategic Examples: When and how to use examples in prompts
In this chapter, we're diving deep into when and how to use examples in your prompts for optimal results.
Choosing Your Approach
Strategic use of examples can dramatically improve output quality, but knowing when and how to use them is crucial for success.

Business Applications Comparison
Task: Generating customer service responses to product complaints
Zero-Shot Prompt:
Generate a customer service response to this complaint about our software crashing during an important presentation. The response should be empathetic, offer a solution, and maintain our brand relationship.
Customer complaint: 'Your software crashed in the middle of my presentation to executives. I lost credibility and potentially a promotion opportunity. This is completely unacceptable for something we pay thousands for annually.'
Few-Shot Prompt:
Below are examples of effective customer service responses to serious complaints. Generate a similar response for the new complaint that follows the same pattern.
Example Response Structure:
COMPLAINT 1: "Your accounting software calculated our taxes incorrectly and we're now facing an audit."
RESPONSE 1: "I sincerely apologize for the calculation error you experienced with our accounting software. I understand this has created a serious situation with potential tax implications. This is concerning, and we take full responsibility for any software errors.
Here's how we'll help resolve this:
1. I've assigned our senior tax specialist, [Name], to review your specific calculations
2. We'll provide documentation explaining the software error for the auditors
3. Our legal team will offer support documentation if needed for the audit process
Additionally, I've issued a credit for 50% of your annual subscription to your account. While this doesn't undo the stress caused, we hope it demonstrates our commitment to making this right.
Please expect a call from our tax specialist within 2 hours. You can reach me directly at [direct line] if you need anything else."
COMPLAINT 2: [Second example following similar pattern]
RESPONSE 2: [Response following same structure]
NEW COMPLAINT: "Your software crashed in the middle of my presentation to executives. I lost credibility and potentially a promotion opportunity. This is completely unacceptable for something we pay thousands for annually."
The few-shot approach ensures consistent tone, structure, and resolution components that align with company standards.
Try Prompt Genie to create super prompts for all your AI tasks.
Personal Use Case Comparison
Task: Creating a personalized exercise routine
Zero-Shot Prompt:
Create a 3-day weekly strength training routine for building upper body strength with only dumbbells and a pull-up bar available.
Few-Shot Prompt:
Here are examples of well-structured workout routines. Create a similar routine for my specific needs.
Example Workout Structure:
EXAMPLE 1 - Lower Body Focus:
GOAL: Strengthen legs with minimal equipment
AVAILABLE: Resistance bands, bench
RESTRICTIONS: Knee issues, 45-minute maximum
WORKOUT STRUCTURE:
Day 1:
- Warm-up: 5 min dynamic stretching targeting hip mobility
- Main circuit (3 rounds):
* Banded squats - 12 reps (focus on keeping weight in heels)
* Step-ups - 10 reps each leg (height appropriate for knee comfort)
* Glute bridges - 15 reps with 2-second hold at top
- Finisher: Wall sit - 3 sets of 30 seconds
- Cool down: 5 min static stretching for quads, hamstrings
EXAMPLE 2: [Example 2 with similar detailed structure]
MY NEEDS:
GOAL: Build upper body strength
AVAILABLE: Dumbbells (up to 30lbs) and pull-up bar only
RESTRICTIONS: 3 days per week maximum, wrist discomfort in certain positions
TIME AVAILABLE: 60 minutes per session
The few-shot approach demonstrates the exact level of exercise detail needed, including adaptations for limitations.
Try Prompt Genie to create super prompts for all your AI tasks.
When Examples Can Backfire
Case Study
A marketing team used few-shot examples for generating product descriptions but unintentionally included subtly outdated branding language in their examples. The AI replicated this across all new descriptions, requiring extensive editing to align with current brand guidelines.
Lesson
Be extremely careful with the quality of examples provided, as they create a powerful template that the AI will follow closely—including any flaws.
Quantifiable Benefits of Strategic Examples
A financial services company tested different prompting strategies for generating investment summaries:
Zero-shot
Required an average of 3.2 revision requests per summary
Few-shot (with 3 quality examples)
Reduced to 0.8 revision requests
Time saved
42 minutes per summary
Scaled Impact
870+ hours saved annually
Today's Action
- Identify a task where you've been using zero-shot prompting
- Create 2-3 high-quality examples that represent exactly what you want
- Structure a few-shot prompt with these examples
- Compare the results against your previous zero-shot attempts
- Note which aspects improved and which might need better examples
Pro Strategy
For critical tasks, create a "golden examples" document with carefully crafted examples that perfectly represent your desired outputs. This becomes a valuable prompting resource that you can reuse and refine over time.