monica_manage_contact
Create, update, or delete contact profiles in Monica CRM. Manage basic info like name, gender, description, and birthdate to organize and maintain contact details effectively.
Instructions
Create, update, or delete contacts in Monica CRM. Use this for basic profile info (name, gender, description, birthdate). For phone numbers and emails, use contact field management instead.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
action | Yes | ||
contactId | No | ||
profile | No |
Input Schema (JSON Schema)
{
"properties": {
"action": {
"enum": [
"create",
"update",
"delete"
],
"type": "string"
},
"contactId": {
"exclusiveMinimum": 0,
"type": "integer"
},
"profile": {
"additionalProperties": false,
"properties": {
"birthdate": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"day": {
"maximum": 31,
"minimum": 1,
"type": "integer"
},
"month": {
"maximum": 12,
"minimum": 1,
"type": "integer"
},
"type": {
"const": "exact",
"type": "string"
},
"year": {
"maximum": 9999,
"minimum": 1900,
"type": "integer"
}
},
"required": [
"type",
"day",
"month",
"year"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"age": {
"maximum": 150,
"minimum": 0,
"type": "integer"
},
"type": {
"const": "age",
"type": "string"
}
},
"required": [
"type",
"age"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"type": {
"const": "unknown",
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
]
},
"deceasedDate": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"day": {
"maximum": 31,
"minimum": 1,
"type": "integer"
},
"month": {
"maximum": 12,
"minimum": 1,
"type": "integer"
},
"type": {
"const": "exact",
"type": "string"
},
"year": {
"maximum": 9999,
"minimum": 1900,
"type": "integer"
}
},
"required": [
"type",
"day",
"month",
"year"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"age": {
"maximum": 150,
"minimum": 0,
"type": "integer"
},
"type": {
"const": "age",
"type": "string"
}
},
"required": [
"type",
"age"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"type": {
"const": "unknown",
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
]
},
"description": {
"anyOf": [
{
"anyOf": [
{
"not": {}
},
{
"maxLength": 2000,
"type": "string"
}
]
},
{
"type": "null"
}
]
},
"firstName": {
"maxLength": 50,
"minLength": 1,
"type": "string"
},
"genderId": {
"exclusiveMinimum": 0,
"type": "integer"
},
"isDeceased": {
"type": "boolean"
},
"isPartial": {
"type": "boolean"
},
"lastName": {
"anyOf": [
{
"anyOf": [
{
"not": {}
},
{
"maxLength": 100,
"type": "string"
}
]
},
{
"type": "null"
}
]
},
"nickname": {
"anyOf": [
{
"anyOf": [
{
"not": {}
},
{
"maxLength": 100,
"type": "string"
}
]
},
{
"type": "null"
}
]
},
"remindOnDeceasedDate": {
"type": "boolean"
}
},
"required": [
"firstName",
"genderId"
],
"type": "object"
}
},
"required": [
"action"
],
"type": "object"
}