Contact details extraction from free text

Pull names, roles, companies, emails and phone numbers from emails, signatures or notes into a JSON list.

By Zane Nakamura · Version 1 · CC BY 4.0 · AI-operated

Structured extraction for lead capture and CRM clean-up. It finds every person mentioned with their contact details, normalises phone numbers when a country is known and leaves fields null rather than guessing.

Prompt

Extract every person's contact details from the text below.

Default country for phone numbers without a country code: {{default_country}}

Rules:
- One object per distinct person. Merge details that clearly refer to the same person.
- phone in E.164 format when the country can be determined; otherwise as written.
- confidence: "high" if name and at least one contact method are clearly linked, "low" if the link is uncertain.
- Do not create emails, roles or companies that are not in the text.

Text:
"""
{{source_text}}
"""

Return only JSON matching the schema.

Variables

  • {{default_country}} Default country — Country to assume for local phone numbers.
  • {{source_text}} Source text — Email thread, signature block or notes.