ConnfigConnfig Docs
Tool Reference

CRM Write Tools

Tools for creating and updating CRM records, contacts, notes, tasks, and call logs

This domain contains 8 tools that write to your CRM: record creation and updates, contact management, notes, task management, and call logging. For read operations, see CRM Read Tools.

Tools

create_crm_record

Creates a manual CRM record (a business not sourced from lead scraping). Counts against the plan's CRM record limit.

Key parameters:

ParameterTypeRequiredPurpose
workspace_idstring (UUID)YesWorkspace ID
business_namestring (1–300)YesBusiness name
mailsarray of stringsYesAt least one email address
phonesarray of stringsNoPhone numbers
city / state / countrystringNoLocation details
tagsarray of stringsNoTags

Prompt your AI like this: "Create a new CRM record for 'Star Furniture' with the email info@starfurniture.com and tag it 'furniture'."

promote_lead_to_crm

Creates a CRM record from an existing scraped lead — it carries over emails/phones and auto-imports enrichment contacts. Does not consume the manual CRM quota; idempotent per lead (calling it again won't create a duplicate).

Key parameters:

ParameterTypeRequiredPurpose
workspace_idstring (UUID)YesWorkspace ID
lead_idstringYesLead row ID (as returned by list_leads)

Prompt your AI like this: "Move every dental clinic from the Ankara scrape that has an email into the CRM."

update_crm_record

Consolidated updater for a CRM record: pipeline stage, tags (set/add/remove), temperature, opted-out, emails/phones, next action, and soft delete/restore. Only provided fields change. Pipeline stage changes require ownership or the can_manage_tasks permission.

Key parameters:

ParameterTypeRequiredPurpose
workspace_idstring (UUID)YesWorkspace ID
crm_idnumberYesCRM record ID
tracking_statusenumNonew, contacted, qualified, proposal, negotiation, closed_won, closed_lost
tags_setarray of stringsNoReplaces all tags
tags_add / tags_removearray of stringsNoAdds / removes tags
temperaturecold / warm / hotNoLead temperature
opted_outbooleanNoOpt-out flag
mails / phonesarray of stringsNoEmail / phone lists
next_action_atstring (datetime)NoWhen the next action is due
next_action_typeenumNocall, email, meeting, follow_up
last_contact_atstring (datetime)NoLast contact timestamp
deletedbooleanNotrue = soft delete, false = restore

Prompt your AI like this: "Move Star Furniture to the negotiation stage, mark it hot, and add the 'priority' tag."

add_crm_contact

Adds a person-level contact under a CRM record (source: manual).

Key parameters:

ParameterTypeRequiredPurpose
workspace_idstring (UUID)YesWorkspace ID
crm_idnumberYesCRM record ID
full_namestring (1–200)YesThe contact's full name
emailstring (email)NoEmail address
mobile_numberstringNoMobile phone
job_titlestringNoJob title
company_namestringNoCompany name
linkedin_urlstring (URL)NoLinkedIn profile
city / countrystringNoLocation
tagsarray of stringsNoTags
opted_outbooleanNoOpt-out flag

Prompt your AI like this: "Add purchasing manager John Doe to the Star Furniture record; his email is john@starfurniture.com."

update_crm_contact

Updates fields of an existing contact. Only provided fields change.

Key parameters:

ParameterTypeRequiredPurpose
workspace_idstring (UUID)YesWorkspace ID
contact_idstring (UUID)YesContact ID
Other fieldsNoSame optional fields as add_crm_contact (full_name, email, job_title, etc.)

Prompt your AI like this: "Update John Doe's job title to 'General Manager'."

add_crm_note

Appends a note to a CRM record, optionally pinned.

Key parameters:

ParameterTypeRequiredPurpose
workspace_idstring (UUID)YesWorkspace ID
crm_idnumberYesCRM record ID
contentstring (1–10,000)YesNote content
is_pinnedbooleanNoPin the note (default false)

Prompt your AI like this: "Add a pinned note to Star Furniture: 'Quote sent, waiting for reply'."

manage_crm_task

Creates, updates, completes, or cancels a task. action=create requires title; update, complete, and cancel require task_id. Members may only modify tasks they created or are assigned to, unless they hold the can_manage_tasks permission.

Key parameters:

ParameterTypeRequiredPurpose
workspace_idstring (UUID)YesWorkspace ID
actionenumYescreate, update, complete, cancel
task_idstring (UUID)ConditionalRequired for update/complete/cancel
crm_idnumberNoLinks the task to a CRM record (create only)
titlestring (1–300)ConditionalRequired for create
descriptionstring (≤5000)NoTask description
priorityenumNolow, medium, high
due_datestring (datetime)NoDue date
assigned_tostringNoUser ID of the assignee

Prompt your AI like this: "Create a high-priority task on Star Furniture: 'Follow up on the quote on Friday'."

log_crm_call

Records a phone call against a CRM record: type, outcome, duration, and notes.

Key parameters:

ParameterTypeRequiredPurpose
workspace_idstring (UUID)YesWorkspace ID
crm_idnumberYesCRM record ID
call_typeenumNooutgoing, incoming, missed (default outgoing)
outcomeenumYesanswered, no_answer, busy, voicemail, callback_scheduled
duration_secondsnumberNoCall duration in seconds
notesstring (≤5000)NoCall notes
callback_scheduled_atstring (datetime)NoScheduled callback time
called_atstring (datetime)NoWhen the call happened (defaults to now)

Prompt your AI like this: "I called Star Furniture, they answered, it took 12 minutes; log it with the note 'agreed on pricing'."