create_event
Track and log customer interactions by generating events with specified metrics, profile details, and custom properties for marketing automation via Klaviyo MCP Server.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
metric | Yes | Metric information for the event | |
profile | Yes | Profile information for the event | |
properties | No | Additional properties for the event | |
time | No | ISO timestamp for the event | |
value | No | Numeric value for the event |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"metric": {
"additionalProperties": false,
"description": "Metric information for the event",
"properties": {
"name": {
"description": "Name of the metric",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"profile": {
"additionalProperties": false,
"description": "Profile information for the event",
"properties": {
"email": {
"description": "Email of the customer",
"format": "email",
"type": "string"
}
},
"required": [
"email"
],
"type": "object"
},
"properties": {
"additionalProperties": {},
"description": "Additional properties for the event",
"type": "object"
},
"time": {
"description": "ISO timestamp for the event",
"type": "string"
},
"value": {
"description": "Numeric value for the event",
"type": "number"
}
},
"required": [
"metric",
"profile"
],
"type": "object"
}