Skip to main content
Events represents the full completion of an action or occurrence within an email thread. Each Event will have an associated EventConfig that defines the payload schema and conditions for triggering the Event.

Attributes

Each Event has the following attributes:
  • id: string - Unique identifier for the event
  • eventConfigId: string - The id of the corresponding EventConfig used to extract the Event
  • extractedData: JSON - Data extracted from the Event. This will match the structure defined in the EventConfig schema
  • activityId: string - The id of the Activity associated with the Event
  • threadId: string - The Monsteria Thread associated with the Event
  • createdAt: Date - Timestamp when the event was created
  • updatedAt: Date - Timestamp when the event was last updated

Example

{
  "id": "e4587b5a-13b3-4d69-85e0-c0b9cdbf6405",
  "eventConfigId": "d34c4068-f203-4d11-a305-d9e84f045625",
  "extractedData": {
    "firstName": "John",
    "lastName": "Doe",
    "phoneNumber": "+1234567890",
    "preferredDateTime": "2025-10-10T14:30:00Z"
  },
  "activityId": "c3cf3481-a321-4efc-a495-2870bc0cea73",
  "threadId": "09bd4530-fb93-4cfa-b43e-d7386fdd3f66",
  "createdAt": "2025-10-07T12:34:56.789Z",
  "updatedAt": "2025-10-07T12:34:56.789Z"
}