Skip to content

Contact

The Contact type stores contact information for a person or entity.

FieldTypeRequiredDescription
namestring✅ yesContact name
emailemailnoEmail address
phonestringnoPhone number
companystringnoCompany or organization
notestextareanoAdditional notes
PropertyValue
Slugcontact
IDbuiltin-contact
Icon👤
SystemYes
Layer— (base type)
{
"title": "Jane Smith",
"minionTypeId": "builtin-contact",
"fields": {
"name": "Jane Smith",
"email": "jane@example.com",
"company": "Acme AI",
"notes": "Met at AI conference 2024. Interested in agent collaboration."
}
}
import { TypeRegistry, createMinion } from 'minions-sdk';
const registry = new TypeRegistry();
const type = registry.getBySlug('contact')!;
const { minion, validation } = createMinion({
title: 'Jane Smith',
fields: { name: 'Jane Smith', email: 'jane@example.com' },
}, type);