Prompting Gemini

How to prompt Gemini

To prompt Gemini, including Gemini in Gmail, say who it should write as, what the task is, what context it needs, and what format you want. Google's guide for Gemini in Workspace calls these Persona, Task, Context and Format, and says you do not need all four.

Download for Mac

macOS 13+·Windows 10+·Free for 3 days, no card

Updated

Four parts

The four parts Google names

Google's Workspace guide gives you four labels, and each one maps to the six parts on the prompting hub.

The four parts Google names
Google's partWhat to writeOur six parts
PersonaWho Gemini should write as, such as an office manager at a small studio.Limits
TaskThe job, in a plain sentence with a verb.Goal and Steps
ContextThe background Gemini cannot see, such as dates, names and what happened before.Facts
FormatThe shape of the answer, such as an email with a short list, under 150 words.Format

Google says you do not need all four in every prompt, but using a few helps. The mapping is our own grouping. The six-part prompt adds one more part that Google does not name: a line on what a great answer looks like.

This tool

What is different in Gemini

Google's guides lean on plain language, your own files and a rewrite shortcut.

The Learning Center page lists five simple tips and does not use the four-part list. The four parts are from the Workspace guide only.

Developers

For developers: the Gemini API guide

Google also publishes a separate guide for people who build with the Gemini API.

It adds habits that help in any long prompt. Use one style of separator, either tags or Markdown headings, and keep it the same throughout. For long material, put the material first and the question at the very end. If you show examples, keep their structure identical. The guide also suggests grounding with Google Search for obscure or recent facts.

This guide is for developers. Use it for ideas, not as the rules for the Gemini app.

Worked example

From "email to the new hire" to a prompt Gemini can use

Colin has a designer, Farah, starting on Monday. He types a rough line into Gemini in Gmail.

In Gemini in Gmail

You say

optionemail to the new hire about their first week, friendly, tell her when to show up and who she meets, mention the laptop and the team lunch, don't make it too long

Scrubbr finds

  • Gmail · Farah Dunn offer thread
  • Google Calendar · Farah's first week
  • Knowledge base · New hire first-week checklist

Gemini · Prompt

Goal: Write a welcome email to Farah Dunn so she knows exactly what her first week looks like and arrives calm on Monday, Nov 9.

Facts: Farah joins Elmstead Design as a designer. She starts Mon Nov 9 at 9:30 at the front desk. Monday 9:30 is a welcome with Colin Ashby, the design lead. Tuesday 2:00 she meets the product team. Wednesday 12:30 is the team lunch, which the studio pays for. Her laptop will be at her desk and her logins arrive Monday morning. She should bring photo ID for the building pass.

Steps: 1. Welcome her in one warm sentence. 2. Give the arrival time and place. 3. Walk through the week, one short line per day. 4. Tell her what to bring. 5. Invite her to reply with questions.

Limits: Warm and plain, from Colin to a new colleague. No jargon, and no promises about her projects. Leave out any detail you do not have.

Format: An email with a subject line and a short list for the week. Under 150 words.

A great answer: Farah knows when to arrive, who to ask for and what to bring, and she does not need to write back to find out.

Demo data. The people, company and facts are invented.

Questions

Gemini questions

How do I write good prompts for Gemini?

Say who Gemini should write as, what the task is, what context it needs and what format you want. Write in plain, conversational language and keep follow-ups going.

What are Persona, Task, Context and Format?

They are the four parts in Google's Workspace guide for writing Gemini prompts. Persona is who Gemini writes as, Task is the job, Context is the background, and Format is the shape of the answer.

Can I leave out any of the four parts?

No. Google says you do not need all four in every prompt, but using a few helps.

What does "Make this a power prompt" do?

In the Gemini app, you start your message with "Make this a power prompt:" and then write your prompt. Google lists it as a way to have Gemini improve what you typed.

Can Gemini use my own files?

Google's Workspace guide says you can use files in your Google Drive to personalise what Gemini writes.

Try Scrubbr free for 3 days

Download Scrubbr, connect your tools, and give your first prompt in two minutes.

Download for Mac

macOS 13+·Windows 10+·Free for 3 days, no card