The Fast Track AI Subscribe

Home / Blog

Prompts

Prompt examples: 8 AI prompts that work, and why they do

Google's prompt design guide says plainly: "We recommend to always include few-shot examples" in your prompts. So prompt examples help twice. They show you how to phrase a request, and an example placed inside the prompt shows the AI what a good answer looks like. A good prompt states the task, gives context, sets the format and, when it matters, shows a sample answer. Below are 8 annotated AI prompt examples to copy, how to add your own examples, and the before and after fixes recommended by AI companies and official guides.

Updated on 8 min read

The 8 prompt examples at a glance

SituationVague promptWhat the example adds
Answering an unhappy customer"Reply to this customer"Tone, the fix you offer, length
Turning notes into minutes"Write up the meeting"Structure, decisions, actions with owners
Extracting data"Find the important info"The list of fields and a table
Sorting reviews"Sort these reviews"Categories and two labeled examples
Learning a concept"Explain inflation"Level, an everyday example, a quiz
Choosing between options"Which one is best?"Criteria, a table, what to double-check
Writing an Excel formula"Formula for my sales"Columns, Excel version, explanation
Improving your own text"Fix my text"A critical reader role and priorities

Replace the square brackets with your own details. These prompts work in ChatGPT, Gemini, Copilot, Claude or Le Chat because none relies on a tool-specific feature. For the step-by-step method behind them, see how to write prompts.

Prompt examples for writing

1. Answering an unhappy customer

You handle customer service for an online store selling [products]. Draft a reply to the message below. Acknowledge the problem without long justifications, offer [fix: refund, replacement, discount] and give a precise timeframe. Calm, warm tone, 120 words maximum. Customer message: "[paste message]"Customer reply prompt

Why it works: the role sets the register, you decide the fix instead of letting the AI invent one, and the length is a number. OpenAI's best practices make the same point: replace "fairly short, a few sentences" with "a 3 to 5 sentence paragraph".

2. Turning notes into meeting minutes

Here are my raw notes from a meeting about [topic]. Turn them into minutes with three parts: decisions made, action items (task, owner, deadline, as a table), open questions. Do not add anything that is not in the notes; if an owner or date is missing, write "TBD". Notes: "[paste notes]"Meeting minutes prompt

Why it works: "do not add anything" limits made-up content, and "TBD" exposes gaps instead of filling them. A fixed structure also makes every set of minutes comparable with the last one.

Prompt examples for analyzing documents

3. Extracting data into a table

From the contract below, pull out the following and present it as a two-column table (field, value): parties, start date, term, amount, termination conditions, notice period. If something is not stated, write "not stated" and do not infer it. Contract: "[paste text]"Extraction prompt

Why it works: OpenAI shows in its best practices that spelling out the output format, field by field, helps the model respond better and makes the answer easier to reuse. The text is also set apart from the instruction with quotation marks, another tip from the same guide.

4. Sorting customer reviews, with two examples

Put each review into exactly one category: delivery, product quality, price, customer service. Answer with the review number and the category, no commentary. Examples: "Parcel arrived a week late" is delivery. "The seam split after the second wash" is product quality. Reviews to sort: [paste numbered reviews]Classification prompt (few-shot)

Why it works: the two examples show both the categories and the answer format. This is called few-shot prompting. The Bavarian finance ministry uses the same kind of prompt in its prompting guide for staff: sorting citizen requests from one labeled example.

Prompt examples for learning and deciding

5. Learning a concept

Explain [concept] to someone who [level: has never studied economics, is in high school, is new to the job]. 200 words maximum, with an everyday example. End with three questions to check that I understood, without the answers.Learning prompt

Why it works: the reader's level changes the whole vocabulary of the answer. The closing questions turn passive reading into practice; then ask the AI to grade your answers.

6. Choosing between options

I need to choose between [option A], [option B] and [option C] for [goal]. My criteria, most important first: [criterion 1], [criterion 2], [criterion 3]. Compare the options in a table, then give your recommendation in three sentences. Flag anything you are not sure about that I should check.Decision prompt

Why it works: without criteria, the AI picks its own. The last sentence asks it to admit uncertainty, which matters as soon as prices or recent features are involved. For multi-step problems, add guided reasoning (chain of thought prompting).

Prompt examples for Excel and self-editing

7. Writing an Excel formula

In Excel [version, for example Microsoft 365], I have a table with columns A: date, B: salesperson, C: amount. Write the formula that totals each salesperson's sales for the month entered in F1. Explain the formula in three lines and name one common mistake to avoid.Excel formula prompt

Why it works: naming the columns and the version prevents a formula that does not fit your file. More use cases are in our page on AI for Excel.

8. Getting feedback on your own text

Read this text as [target reader: a recruiter, a busy client, a jury]. List the three weaknesses that make it least convincing, worst first, each with one rewritten sentence. Do not rewrite the whole text. Text: "[paste text]"Critical review prompt

Why it works: three ranked weaknesses give feedback you can act on, while "fix my text" returns a smoothed version you cannot compare. You stay in charge of the rewrite.

How to put examples inside your prompt

One example in a prompt often beats a long description. Anthropic, the company behind Claude, calls examples one of the most reliable ways to steer the format, tone and structure of an answer. Its advice is close to Google's:

A prompt with no examples is called zero-shot; one with a few is few shot prompting. Zero-shot is fine for simple tasks. Add examples when the format matters or the first answer misses.

Before and after: fixes from AI companies and official guides

Less effectiveMore effectiveSource
"Write a poem about OpenAI""Write a short inspiring poem about OpenAI, focusing on the recent DALL-E product launch"OpenAI
"The description should be fairly short, a few sentences only""Use a 3 to 5 sentence paragraph to describe this product"OpenAI
"DO NOT ASK USERNAME OR PASSWORD"Say what to do instead: diagnose the problem, then point to the help articleOpenAI
"What is BPMN?""Give me the 5 key points on what I can use BPMN for. Explain in plain language."Bavarian finance ministry (translated)

The pairs come from OpenAI's best practices and the Bavarian guide. The logic is the same everywhere: swap a vague word for a number, narrow the subject, and say what to do rather than what to avoid.

Where prompt examples fall short

To understand what a prompt is and why these rules work, read our guide to the AI prompt. For more ready-made templates, see the libraries on our free prompts page.

Frequently asked questions

What is an example of a prompt?

A prompt example is a ready-written instruction for an AI that you copy and adapt to your situation, such as "Explain inflation to a high school student in 200 words, with an everyday example." The phrase also covers sample answers placed inside a prompt to show the AI the expected format.

What are the 4 parts of a good prompt?

Most guides name four: a persona, a task, context and a format. Google uses exactly these four in its Workspace prompting guide. Add a sample answer when the format matters.

How many examples should a prompt include?

For a simple task, none or one is enough. Anthropic suggests 3 to 5 varied examples for best results, and Google warns that too many examples can make the model copy their form too closely.

How do I write a good prompt for ChatGPT?

Start with the task, give the context ChatGPT cannot guess, set the format and length in numbers, and separate the text to process from the instruction. The examples on this page also work in Gemini, Copilot, Claude or Le Chat.

Should a prompt be long?

It should be complete, not long. A three-line prompt is enough if it holds the task, the useful context and the format. Add detail only when the answer drifts from what you expect.

Related articles

Reference guideAI prompt: what a prompt is, how AI reads it and how to write a good one

The essentials of AI, every Wednesday.

Free, once a week, on Wednesday. A 5-minute read.