---
id: chatgpt-advanced-prompts-by-goal
lang: en
track: chatgpt
title: "Advanced prompts by goal"
seoTitle: "Advanced ChatGPT prompts by goal"
description: "Ready-to-use ChatGPT prompt patterns for writing, analysis, research and coding, each with a worked example you can copy and adapt to the work on your desk."
part: prompting
partTitle: "Prompting"
partOrder: 3
order: 4
level: Intermediate
durationMinutes: 5
outcome: "Reach for the right ChatGPT prompt pattern for writing, analysis, research, or coding."
summary: "Different jobs want different prompt patterns. This lesson gives ready-to-copy ChatGPT recipes for writing, analysis, research, and coding."
draft: false
updated: "2026-10-14"
furtherReading:
  - title: "Prompting (ChatGPT Learn)"
    url: "https://learn.chatgpt.com/docs/prompting"
    note: "Examples for Chat, Work, and Codex from OpenAI."
  - title: "Data analysis with ChatGPT"
    url: "https://help.openai.com/en/articles/8437071-data-analysis-with-chatgpt"
    note: "How ChatGPT analyses files, and tips for clean data."
  - title: "Deep research in ChatGPT"
    url: "https://help.openai.com/en/articles/10500283-deep-research-in-chatgpt"
    note: "Research plans, source limits, and cited reports."
  - title: "Prompt engineering guide (OpenAI)"
    url: "https://platform.openai.com/docs/guides/prompt-engineering"
    note: "The full reference behind these patterns."
keywords:
  - advanced ChatGPT prompts
  - ChatGPT prompt patterns
  - ChatGPT prompts for writing
  - ChatGPT data analysis prompts
  - ChatGPT research prompts
  - ChatGPT prompt examples
quiz:
  intro: "Five questions. Sweep them and you've finished the whole Prompting part."
  passScore: 5
  questions:
    - q: "For a writing task, what lifts an answer most reliably?"
      options:
        - "A sample of the tone you want, and the reader"
        - "Asking it to be more creative, original, and engaging"
        - "Asking for the longest version possible"
        - "A higher thinking level for every draft"
      answer: 0
      explain: "Show the tone with an example and name who's reading. 'Match this' beats a pile of adjectives."
    - q: "You attach a spreadsheet for analysis. What should you always add?"
      options:
        - "A request for a polished summary for management"
        - "Nothing more; the file speaks for itself"
        - "The real question, and to show the calculation"
        - "A request for a clear yes or no verdict on the data"
      answer: 2
      explain: "Point it at the real question. ChatGPT can run the numbers and show its working, so ask for that and check it before you rely on the result."
    - q: "What's the single most important habit for research prompts?"
      options:
        - "Use the highest thinking level every time"
        - "Ask for as many facts as possible at once"
        - "Turn on memory so it knows your sources"
        - "Ask for sources and check the key claims"
      answer: 3
      explain: "Ask for sources and verify what matters. Confident and correct are not the same thing."
    - q: "You keep pasting the same tone sample and boundaries into every writing prompt. What's smarter?"
      options:
        - "Keep them in a document and paste them in each time"
        - "Put them in custom or project instructions"
        - "Stop using a tone sample altogether"
        - "Use a Temporary Chat for writing tasks"
      answer: 1
      explain: "Anything you repeat in every prompt belongs one level up: custom instructions for everything, or project instructions for one stream of work."
    - q: "What do all four patterns share?"
      options:
        - "They all need long, detailed prompts before they work well"
        - "They work best on the highest thinking level"
        - "A clear goal, the right context, the answer's shape"
        - "They all rely on attaching files or examples"
      answer: 2
      explain: "Same recipe underneath: clear goal, right context, defined output. The pattern just shifts with the job."
  pass:
    badge: "Part complete"
    title: "That's the whole Prompting part. Well played."
    body: "Full marks, and the last lesson in the part. You've got a pattern for writing, analysis, research, and coding. Time to work smart."
  retry: "Check the marked answers and try once more. You're one step from finishing the part."
---

> **Level:** Intermediate · **Reading time:** ~5 min
>
> **What you'll be able to do:** reach for the right ChatGPT prompt pattern for writing, analysis, research, or coding.

By now you know the recipe (role, task, context, examples, format) and you know how to steer a reply. This lesson is about noticing that different kinds of work want slightly different prompts. **The recipe never changes underneath.** But a prompt for an email leans on *tone and examples*, while a prompt for a spreadsheet leans on *the exact question you're asking*.

Here are four patterns for the four jobs you'll hit most: writing, analysis, research, and coding. Each comes with a worked example. Steal them, adapt them, keep the ones that fit your week.

## Writing: drafts, edits, and tone

Writing tasks live and die on two things: **who's reading, and what it should sound like.** Lead with those. The biggest upgrade is a *sample* of the voice you want instead of a description. **"Match this" beats five adjectives.**

```
You're writing as me: [who you are, in a line]. The reader is [who], and they care about [what].

Task: [the one thing to write].

Tone: like this sample [paste something you've written]. Not stiff, not salesy.

Format: [length and shape]. End with [the ask or next step].
```

Worked example, a LinkedIn post about a product update:

```
You're writing as me, a founder who hates LinkedIn cringe. The reader is a busy operations manager scrolling on their phone.

Task: a short post announcing we cut onboarding from two weeks to two days.

Tone: like this sample [paste a post of your own]. Dry, human, no "thrilled to announce."

Format: under 100 words, one clear point, a line break before the last line. No hashtags.
```

The draft lands in a writing block. If it's off, steer it with one note (that's the [last lesson](/learn/chatgpt/prompting/iterating)).

## Analysis: turning data and text into findings

The mistake is "analyse this" and hoping ChatGPT guesses what you're after. **Analysis prompts need a real question.** Attach the file; for spreadsheets ChatGPT can run real calculations (it writes and runs code behind the scenes) and build tables or charts.

```
Here's [the data or text]. [Attach it.]

Question: [the specific thing you want to know].

Look for: [trends, outliers, the why behind a number].

Give me: [top three findings, a short table, one recommendation]. Show how you calculated the numbers, and flag anything you're unsure about rather than guessing.
```

Worked example, a month of support tickets:

```
Here are last month's support tickets [attached].

Question: what are people struggling with, and is it getting worse or better than the month before?

Look for: the top themes by volume, and any theme growing fast even if it's still small.

Give me: the top five issues as a table (issue, rough count, trend), then one line on what to fix first. Say so if the data's too thin to call.
```

Two lines do the heavy lifting. **"Show how you calculated"** lets you check the numbers. **"Flag what you're unsure about"** stops a confident-sounding figure you can't trust. Clean data helps too: headers in the first row, one record per row, no merged tables.

<figure class="lesson-svg" aria-labelledby="chatgpt-goals-title">
<svg viewBox="0 0 640 340" width="100%" height="auto" role="img" xmlns="http://www.w3.org/2000/svg" font-family="Inter, system-ui, sans-serif">
<title id="chatgpt-goals-title">One recipe, four jobs</title>
<desc>One recipe in the middle (goal, context, format) with four jobs around it: writing leans on a tone sample and the reader; analysis on the real question and showing the calculation; research on sources, links and dates; coding on a sample input and output.</desc>
<text x="0" y="24" font-size="20" font-weight="800" fill="var(--ink,#1F2328)">One recipe, four jobs</text>
<rect x="0" y="44" width="250" height="100" rx="12" fill="#fff" stroke="var(--line,#E7E9EC)"/>
<text x="18" y="74" font-size="15" font-weight="800" fill="var(--ink,#1F2328)">Writing</text>
<text x="18" y="100" font-size="12.5" fill="var(--med-gray,#5B6169)">Paste a tone sample.</text>
<text x="18" y="120" font-size="12.5" fill="var(--med-gray,#5B6169)">Name the reader.</text>
<rect x="390" y="44" width="250" height="100" rx="12" fill="#fff" stroke="var(--line,#E7E9EC)"/>
<text x="408" y="74" font-size="15" font-weight="800" fill="var(--ink,#1F2328)">Analysis</text>
<text x="408" y="100" font-size="12.5" fill="var(--med-gray,#5B6169)">Ask the real question.</text>
<text x="408" y="120" font-size="12.5" fill="var(--med-gray,#5B6169)">Ask it to show the maths.</text>
<rect x="0" y="232" width="250" height="100" rx="12" fill="#fff" stroke="var(--line,#E7E9EC)"/>
<text x="18" y="262" font-size="15" font-weight="800" fill="var(--ink,#1F2328)">Research</text>
<text x="18" y="288" font-size="12.5" fill="var(--med-gray,#5B6169)">Sources, links, dates.</text>
<text x="18" y="308" font-size="12.5" fill="var(--med-gray,#5B6169)">Check what you repeat.</text>
<rect x="390" y="232" width="250" height="100" rx="12" fill="#fff" stroke="var(--line,#E7E9EC)"/>
<text x="408" y="262" font-size="15" font-weight="800" fill="var(--ink,#1F2328)">Coding</text>
<text x="408" y="288" font-size="12.5" fill="var(--med-gray,#5B6169)">Sample in, sample out.</text>
<text x="408" y="308" font-size="12.5" fill="var(--med-gray,#5B6169)">One-line explanation.</text>
<line x1="250" y1="144" x2="250" y2="160" stroke="var(--part,#1FA98C)" stroke-width="2" stroke-linecap="round"/>
<line x1="390" y1="144" x2="390" y2="160" stroke="var(--part,#1FA98C)" stroke-width="2" stroke-linecap="round"/>
<line x1="250" y1="216" x2="250" y2="232" stroke="var(--part,#1FA98C)" stroke-width="2" stroke-linecap="round"/>
<line x1="390" y1="216" x2="390" y2="232" stroke="var(--part,#1FA98C)" stroke-width="2" stroke-linecap="round"/>
<rect x="195" y="160" width="250" height="56" rx="28" fill="var(--part,#1FA98C)"/>
<text x="320" y="184" font-size="14" font-weight="800" fill="#fff" text-anchor="middle">One recipe</text>
<text x="320" y="204" font-size="12" fill="#fff" text-anchor="middle">goal · context · format</text>
</svg>
</figure>

## Research: gathering and checking sources

Research is where a wrong answer does the most damage, because it sounds *just as sure* as a right one. The pattern is built on one habit: **ask for sources, and check the ones that matter.** Use web search for a quick answer, deep research for a full report.

```
Research [the question]. Search the web.

I want: [what you're after, and how deep].

For each key claim, give me the source, a link, and the date. Separate what you're confident about from what's shaky. If sources disagree, show me.
```

Worked example, checking a market before a pitch:

```
Research the market for meal-kit delivery in Belgium. Search the web.

I want: rough market size, the three biggest players, and one trend that changed in the last year.

For each number, give the source, a link, and the date. Flag anything you can't back up. If figures disagree, show the range; don't average them into one tidy fake number.
```

Then do the part no prompt does for you: open the links on the claims you're about to repeat. **ChatGPT is a fast researcher, not a fact-checker.**

## Coding: explaining, writing, and fixing

You don't need to be a developer. Plenty of business work touches a formula, a script, or a snippet someone left behind. Coding prompts want **the language, the goal in plain words, and a sample input and output.**

```
[Language or tool: an Excel formula / a small Python script.]

Goal: [what it should do, in plain words].

Input looks like: [a sample].
Output should look like: [a sample].

Explain what it does in one line so I can check it.
```

Worked example:

```
An Excel formula.

Goal: in column D, flag any order over 1000 euros that's still unpaid.

Input: column B is the amount, column C is the status ("paid" or "unpaid").
Output: the word "CHASE" if it's over 1000 and unpaid, otherwise blank.

Give me the formula and one line on how it works.
```

Sample in, sample out: you can check the result against your own sheet in seconds. For bigger software work, ChatGPT has [Codex](/learn/chatgpt/advanced/codex), a Part 5 topic.

## Stop repeating yourself

ChatGPT gives you two places to park what you'd otherwise paste every time. Your **custom instructions** hold the things true for all your work, like your role and preferred tone. A **project's instructions** hold the things true for one stream of work, like a client's style guide or a standard boundary ("use only the attached price list"). And because ChatGPT may also remember earlier chats, glance at what shaped an answer when something feels off. The prompt then only needs what's new about *this* task.

## The thread running through all four

**These are one recipe wearing four hats.** Every pattern gives ChatGPT a clear goal, the context it needs, and the shape of the answer. Writing leans on tone and examples. Analysis and research lean on the exact question and honesty about uncertainty. Coding leans on sample input and output. *Same bones, different emphasis.*

## Try it

Pick the goal closest to your work right now: writing, analysis, research, or coding. Take the matching pattern and fill it in with something real from your week. Send it.

If the first answer is close but not there, don't start over. Steer it with one specific follow-up. You've now used every tool in the Prompting part on real work.

## Key terms

[Prompt](/glossary#prompt), [Prompt engineering](/glossary#prompt-engineering), [Context](/glossary#context), [Web search](/glossary#chatgpt-web-search), [Deep research](/glossary#deep-research)
