AI & PromptingBeginner 1 to 2 hours

Build a PII Redaction Prompt

Write a prompt that removes ID numbers and phone numbers from support tickets.

The Scenario

Before feeding customer support emails into a data analytics tool, you must scrub all Personally Identifiable Information (PII) to comply with the POPI Act. You want an LLM to do this scrubbing.

The Brief

Write a strict prompt that reads a messy email and outputs the exact same email, but with all names, ID numbers, phone numbers, and addresses replaced with `[REDACTED]`.

Deliverables

  • The Redaction Prompt
  • Explicit instructions on what constitutes PII (e.g., SA ID numbers, +27 phone numbers)
  • A test input email containing South African PII, and the expected redacted output

Submission Guidance

The model must not summarise or change the meaning of the email. It must act strictly as a find-and-replace engine for sensitive data.

Submit Your Work

Your submission is graded against the rubric on the right. If you pass, you get a public Badge URL you can share on LinkedIn. There is no draft save, so work offline first and paste your finished response here.

This appears on your public Badge.

0/20000 charactersMarkdown supported

One per line or comma separated. Up to 5 links.

By submitting, you agree your submission text, name, and evaluation will appear on a public Badge URL.