Data Extraction

Education & Learningfew-shot-promptingemail_text

The examples teach the model which fields to extract and how to normalize unstructured data into a consistent format, even when the source emails are written very differently.

Prompt
Extract the key details from each email and return them in a consistent format.

Example 1:
Email: "Hi, I'd like to book a meeting room for 6 people on March 15th from 2-4pm. We need a projector. Thanks, Sarah"
Extracted:
- Requester: Sarah
- Date: March 15
- Time: 2:00 PM - 4:00 PM
- Attendees: 6
- Requirements: Projector

Example 2:
Email: "Can you reserve the large conference room next Tuesday morning for our quarterly review? About 12 people. Video conferencing setup needed. - Mike"
Extracted:
- Requester: Mike
- Date: Next Tuesday
- Time: Morning
- Attendees: 12
- Requirements: Video conferencing

Now extract from this email:
Email: "{{email_text}}"
Extracted:

Variables to customize

{{email_text}}

Why this prompt works

The examples teach the model which fields to extract and how to normalize unstructured data into a consistent format, even when the source emails are written very differently.

What you get when you save this prompt

Your workspace unlocks powerful tools to iterate and improve.

AI OPTIMIZE

AI Optimization

One-click improvement with structure analysis and pattern suggestions.

VERSION DIFF

Version History

Track every edit. Compare versions side-by-side with word-level diffs.

ORGANIZE
Development
Code Review
Testing
Marketing

Folders & Tags

Organize your library with nested folders, tags, and drag-and-drop.

MCP
$ npm i -g @promptingbox/mcp
Claude · Cursor · ChatGPT

Use Everywhere

Access prompts from Claude, Cursor, ChatGPT & more via MCP integration.

Your prompts, organized

Save, version, and access your best prompts across ChatGPT, Claude, Cursor, and more.