Prompt Engineering for Content & SalesThe anatomy of a great prompt · Lesson 2 of 15

Using examples and output formats to control results

Article · 11 min · 8 min lecture

Video lecture

Using examples and output formats to control results

11 chapters · about 8 min · full transcript

Coming soon

Chapter 1 of 11

Examples and output formats

  • Show, don't tell
  • Shape the answer

The narrated lecture is in production

Every chapter is scripted and ready. Browse the chapters and read the full transcript now — the video will appear here when it’s published.

Chapters

Why examples are so powerful

Language models are exceptional pattern-followers. When you include examples in your prompt, a technique often called few-shot prompting, you give the model a concrete pattern to match. It is the fastest way to transfer tone, structure and quality standards.

Compare these two instructions:

  • "Write in a friendly, confident, slightly witty tone."
  • "Here are two captions in our voice: [example 1] [example 2]. Write three more in the same voice."

The second almost always wins, because "friendly, confident, witty" means different things to different people, while the examples show exactly what you mean.

How to use examples well

  1. Use your best real work. Past posts that performed well, emails that got replies, scripts your audience loved.
  2. Show variety within the pattern. Two or three examples that differ in topic but share voice teach the model what to keep constant.
  3. Label them clearly. "Example 1 (Reel caption, product launch):" helps the model understand what each is.
  4. Say what to copy and what not to. "Match the tone and structure, not the topic or specific phrases." Otherwise the model may reuse your exact lines.
  5. Use counter-examples sparingly. "Here is a caption we dislike because it sounds salesy: [...]. Avoid this style." This can sharpen boundaries.

Output formats that save editing time

Asking for a specific structure makes the output easier to review, compare and paste into other tools.

Numbered options with rationale "Give 10 hooks as a numbered list. After each, add in brackets the psychological angle (curiosity, fear of missing out, social proof, contrarian)."

Tables "Create a 2-week content calendar as a table with columns: Date, Platform, Format, Hook, Key message, CTA."

Scripts with timing "Write a 40-second Reel script in three columns: Time, Visual, Voiceover. Keep the voiceover under 100 words."

Structured for other tools "Return the result as CSV with headers: subject_line, preview_text, angle", for pasting into a spreadsheet or email platform.

Fixed templates "Use exactly this structure: HOOK (1 line) / PROBLEM (2 lines) / SOLUTION (2 lines) / PROOF (1 line) / CTA (1 line)."

Worked example: email subject lines

A UK online fashion boutique wants subject lines for a summer sale.

Here are three past subject lines with high open rates for our audience (women 25–45, UK, value-conscious but style-led):

  1. "The linen edit you asked for (finally)"
  2. "Your Saturday outfit, sorted"
  3. "We restocked the dress. Yes, that one."

Match their voice: conversational, specific, a little knowing, no shouting. Avoid ALL CAPS, excessive emojis and the word "SALE" in the first three words. Task: write 12 subject lines for our summer sale (up to 40% off selected lines, ends Sunday). Format: table with columns Subject line, Preview text (under 90 characters), Angle.

The result is consistent, on-brand and easy to shortlist. The team then tests the top options with their email platform's A/B feature.

Hands-on: build an example bank in 20 minutes

Examples are your strongest lever, so keep them organized. Create a document (or project file) called Example bank with labeled sections:

EXAMPLE BANK - [Brand]
## Reel captions (top performers)
Example 1 (product launch, [date], [result e.g. 3x usual saves]): ...
Example 2 (behind the scenes): ...
## Email subject lines (highest open rates)
...
## Sales emails that got replies
...
## Counter-examples (don't sound like this)
...

Then reference it in prompts:

Using the "Reel captions" examples in the attached Example bank, write 5 captions for [topic].
Match tone, sentence length and structure, not topics or phrases. Do not reuse any phrase of 4+ words from the examples.
Format: table - Caption | Angle | Why it fits the examples.

Before: "Write captions in a friendly, witty tone" returns the model's idea of "witty" (puns, exclamation marks).

After: captions with your real rhythm (short, dry, specific), because the model matched your top performers instead of an adjective.

Structured outputs for your tools

When output goes into a spreadsheet, scheduler or CRM, ask for a machine-friendly format and test it once:

Return only CSV with headers: date,platform,hook,caption,cta,hashtags. Quote any field containing commas.

If your assistant supports it, ask for a table you can export, or paste the CSV into a sheet and check that every column landed correctly before scaling up.

Pitfalls

  • Copying examples too closely. If outputs repeat your example phrases, add "Do not reuse phrases from the examples."
  • Examples that break your own rules. If your example includes a claim you no longer make, the model will copy it.
  • Too many examples. Beyond a handful, returns diminish and prompts get long. Choose your best.
  • Format without substance. A beautiful table of weak ideas is still weak. Format supports thinking; it does not replace context.

Mini-template

Here are [2–3] examples of [content type] in our voice: [examples, labeled] Match their [tone/structure/length], but not their topics or exact phrases. Now write [number] [content type] about [topic] for [audience]. Format: [list/table/script columns].

Key takeaways

  • Few-shot prompting (giving examples) transfers tone and structure better than adjectives.
  • Use your best real work, label examples, show variety, and say what to copy and what not to copy.
  • Specify output formats (lists with rationale, tables, scripts with timing, CSV) to save editing time.
  • Keep an example bank; remove examples that break current rules, or the model will copy the problem.

Check your understanding

Quick questions to lock in the lesson. They don’t count towards your certificate.

  1. What is 'few-shot prompting'?
  2. Your outputs keep reusing exact phrases from your examples. What should you add?

Put it into practice

Collect your three best-performing captions or emails, label them, and build a few-shot prompt that generates ten new options in the same voice.

Enrol for free to save your progress

Reading is always free. Enrol to keep your place, take the final assessment and earn a verifiable certificate.