Data Extraction
# Data Extraction & Structuring Prompt
## 📋 Overview
**Use Case:** Extract structured data from unstructured text documents
**Industry Application:** Converting emails, reports, invoices, or forms into structured databases
**Difficulty Level:** Intermediate
**Technique:** Few-shot learning with explicit output formatting
---
## 🎯 Objective
Transform unstructured text containing business information into clean, structured JSON or CSV format for database entry or analysis.
**Success Criteria:**
- 95%+ accuracy in field extraction
- Consistent formatting across outputs
- Handles missing data gracefully
- Identifies ambiguous cases
---
## 📝 The Prompt
### Version 3.0 (Current Best)when to use it
Community prompt sourced from the open-source GitHub repo Gabrielg1976/prompt-engineering-portfolio (no explicit license). A "Data Extraction" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
productivitycommunitydeveloper
source
Gabrielg1976/prompt-engineering-portfolio · no explicit license
more in Productivity
Productivity✓ tested
Summarize a doc into decisions & actions
chief of staff who extracts what to DO, not just what was said
Productivity✓ tested
Draft a reply to a hard email
calm, direct communicator who de-escalates without caving
Productivity✓ tested
Turn a brain-dump into a weekly plan
planning coach who protects your focus, not just your calendar