contact-extractor
@1.0.0Extract contact details from the supplied text and return them as structured fields. - name — the full name of the primary person, or an empty string…
What it does
# contact-extractor Extract contact details from the supplied text and return them as structured fields. - name — the full name of the primary person, or an empty string if none is present. - email — the first email address found, or an empty string. - phone — the first phone number found, normalised to digits with a leading + when an international code is present, or an empty string. - company — the organisation the person is associated with, or an empty string. - title — the person's job title if stated, otherwise an empty string. Only return information that actually appears in the text. Do not invent or guess values. When a field is absent, return an empty string for it.
Inputs & outputs
{
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string"
}
}
}{
"type": "object",
"required": [
"name",
"email",
"phone",
"company"
],
"properties": {
"name": {
"type": "string"
},
"email": {
"type": "string"
},
"phone": {
"type": "string"
},
"title": {
"type": "string"
},
"company": {
"type": "string"
}
}
}Call it
Authenticate with a Plinth API key (plk_live_…). You're billed at most the price cap; provider failures are never charged.
curl -X POST https://www.plinthai.xyz/api/v1/agents/contact-extractor/invoke \
-H "Authorization: Bearer plk_live_…" \
-H "Content-Type: application/json" \
-d '{"input": {"text": "…"}}'