dex_create_contact
Create new contacts in Dex CRM with comprehensive details including name, company, job title, emails, phone numbers, social profiles, addresses, custom fields, and group/tag associations.
Instructions
Create a new contact. Supports all fields: name, company, job title, emails (contact_emails), phone numbers (contact_phone_numbers), social profiles (linkedin, twitter, facebook, instagram, telegram, tiktok, youtube), addresses (legacy_contact_addresses), custom fields, group and tag associations, and more.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contact | Yes |
Implementation Reference
- src/tools/contacts.ts:192-205 (handler)Tool registration and handler for dex_create_contact.
server.tool( "dex_create_contact", "Create a new contact. Supports all fields: name, company, job title, emails (contact_emails), phone numbers (contact_phone_numbers), social profiles (linkedin, twitter, facebook, instagram, telegram, tiktok, youtube), addresses (legacy_contact_addresses), custom fields, group and tag associations, and more.", { contact: z.object(contactFieldsShape), }, async (args) => { try { const result = await dex.post("/v1/contacts/", { contacts: [args.contact] }); return toResult(result); } catch (error) { return toError(error); } }